1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[Linux] KAG not opening

Discussion in 'General Help' started by Percivale, Aug 13, 2011.

  1. Percivale

    Percivale Guest

    I'm running Ubuntu 11.04, and when I try to open the executable in gnome, I just get an untitled window that flickers for a second, then disappears.
    When I try to run it in the terminal, I get the following. Any insight? I am indeed a Linux noob, so I fully expect the problem to be simple, so thank you ahead of time for your indulgence.

    Engine (build: 78 version: 0.85A)

    Downloading checksums from http://dl.dropbox.com/u/6397016/kag_x/App/version.txt
    Downloading http://dl.dropbox.com/u/6397016/kag_x/App/version.txt...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 10777 100 10777 0 0 12896 0 --:--:-- --:--:-- --:--:-- 16812
    Version file the same (key matches)
    Using file 'Base/Juxta.so'
    APP GameDLLInit

    Game DLL initialized.
    Changing game working directory to '/home/bellerophon/Downloads/kag_x/Base/'
    [] Config loaded from 'Scripts/autoconfig.gm'
    [] Variable m_generator has NULL type
    [] Config loaded from 'Scripts/config.gm'
    [0] Variable v_showminimap has NULL type
    [0] Creating video device...
    ******* params.DeviceType 7
    Irrlicht Engine version 1.7.2
    Linux 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686
    ******* CNullDriver, 159349944
    ******* FileSystem
    ******* SurfaceLoader
    ******* ExposedData
    [0] Desktop resolution is 1280x800
    [0] Checking driver support...
    [0] Initializing new video device...
    ******* params.DeviceType 7
    [0] Irrlicht Engine version 1.7.2
    [0] Linux 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686
    failed to create drawable
    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode of failed request: 55 (X_CreateGC)
    Resource id in failed request: 0x3e00003
    Serial number of failed request: 33
    Current serial number in output stream: 35
     
  2. Havanacus

    Havanacus Guest

    First response to this kind of problem is to ensure you have all the required libraries installed as well as the latest proprietary graphics driver. In the case of King Arthur's Gold, you shouldn't have to worry about any libraries as all the necessary ones are already included in Ubuntu. As for the drivers, even if you claim to be a "Linux noob", I doubt you missed the pop-up telling you "Restricted Drivers Available" when you first booted.
    So I expect I haven't said anything new or particularly helpful, but here's to the offchance and to a healthy thread-bump.
     
  3. MM

    MM THD Team THD Team Administrator Global Moderator

    Messages:
    327
    How does the latest Linux version work?
     
  4. darDar

    darDar KAG Guard Forum Moderator Tester

    Messages:
    325
    should be working with latest release
     
  5. King

    King Guest

    Works fine for me! :)

    Thank's for sound fix!
     
  6. sado

    sado Shopkeep Stealer

    Messages:
    26
    I had to install lib32asound2-dev (no idea why dev package was needed, I already had the regular 32bit libasound) on 64 bit Ubuntu, then it started to work. I already reported case sensitivity issue on IRC (Base/Sounds/GUI folder), but now that I got the sound working, I can see it's just whining about not-existing 'gui' folder in the console, while all it needs is 'GUI' folder... it works perfectly and I can hear menuclick sounds. BTW: I also manually downloaded 124 linux version from the website and made a clean install - it has more harmless console spam:


    Code:
    Could not open sound file: Sounds/arrow_draw.ogg
    Could not open sound file: Sounds/arrow_hit_ground.ogg
    Could not open sound file: Sounds/arrow_hitfast_ground.ogg
    Could not open sound file: Sounds/bow_fire.ogg
    Could not open sound file: Sounds/bow_pull.ogg
    Could not open sound file: Sounds/build_ladder.ogg
    Could not open sound file: Sounds/destroy_dirt.ogg
    Could not open sound file: Sounds/destroy_ladder.ogg
    Could not open sound file: Sounds/dig_dirt1.ogg
    Could not open sound file: Sounds/dig_dirt2.ogg
    Could not open sound file: Sounds/fall1.ogg
    Could not open sound file: Sounds/fall2.ogg
    Could not open sound file: Sounds/fall3.ogg
    Could not open sound file: Sounds/gui/back.ogg
    Could not open sound file: Sounds/gui/menuclick.ogg
    Could not open sound file: Sounds/gui/menuclick.ogg
    Could not open sound file: Sounds/gui/option.ogg
    Could not open sound file: Sounds/gui/option.ogg
    Could not open sound file: Sounds/loot.ogg
    Could not open sound file: Sounds/metal_stone.ogg
    Could not open sound file: Sounds/spawn.ogg
    Could not open sound file: Sounds/sword_swoosh.ogg
    It's bullcrap though, as (as far as I can hear) these sounds are played. It just whines.
     
  7. Superblackcat

    Superblackcat baideist baide Staff Alumni Tester

    Messages:
    462
    Ok this is happenign to me right now

    Starting in directory: /radon/yang/eric/kag_x
    Changed directory to: /radon/yang/eric/kag_x/
    Engine (build: 368 version: 0.95A)
    Creating video device...
    Irrlicht Engine version 1.8.0-alpha
    Linux 2.6.32-131.2.1.el6.i686 #1 SMP Thu Jun 2 10:08:29 CDT 2011 i686
    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode of failed request: 137 (NV-GLX)
    Minor opcode of failed request: 4 ()
    Resource id in failed request: 0x4200003
    Serial number of failed request: 39
    Current serial number in output stream: 39

    Thast what it says...