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 execute problems

Discussion in 'General Help' started by madcow, Jun 3, 2011.

  1. madcow

    madcow Guest

    This may be a problem on my side, but this hasn't happened in any other game I've used.

    So I downloaded and unzipped the file, and everything works perfectly. I can click on the KAG executable and it launches fine and I can play the game normally. However, if I try to run it using run program, or by adding an option in my menu to execute the file, the game doesn't launch and instead my RAM usage just keeps rising until I am forced to restart my computer. Anyone else getting this problem?

    I'm using the latest version of crunchbang with openbox, if it matters. I don't think my hardware matters, because it runs fine if I just launch it normally.
     
  2. sado

    sado Shopkeep Stealer

    Messages:
    26
    Have you tried to make a shortcut with rungame.sh instead? Not sure if that could help but I believe that's the proper way to launch the game.
     
  3. Devlin

    Devlin Guest

    I get a segmentation fault occasionally when launching the game. Sometimes the game launches without error. This appears to be an intermittent issue, as attempting to launch the game a second time is met with success.
    Terminal output is below - Distro is Ubuntu 10.10 with all packages up to date.

    Code:
    david@alice:~/Games/kag_x$ ./KAG
    PID: 2831
    Starting in directory: /home/david/Games/kag_x
    Engine (build: 32 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  7755  100  7755    0     0  10491      0 --:--:-- --:--:-- --:--:-- 13144
    Version file the same (key matches)
    Using file 'Base/Juxta.so'
    [0] Unsupported texture format
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/arrow_cursor.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/title.png
    [0] Game version 45
    [0] 127.0.0.1:50301
    [0]  Precaching files...
    Precaching files.
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/archer_cursor.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/builder_cursor.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/emblem1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/emblem2.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/heart.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/knight_cursor.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/GUI/materials.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/archer1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/archer2.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/arrow.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/bomb.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/bubble.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/builder1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/builder2.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/catapult.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/drilltile.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/dust.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/explosion.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/knight1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/knight2.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/pixel.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/rocks.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/sacks.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/tent1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/tent2.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/Trees/tree1.png
    [0] Loaded texture: /home/david/Games/kag_x/Base/Sprites/world.png
    [0]  ...Precaching files.
    [0] Loading config defines Scripts/defines.cfg
    [0] Creating world from file ''
    [0] *Match Ended*
    [0] 
    ----- RUNNING TESTS -----
    
    CBitStream writebit length b49; B7
    CBitStream writebit length b50; B7
    CBitStream writebit length b51; B7
    CBitStream writebit length b52; B7
    CBitStream writebit length b53; B7
    CBitStream writebit length b54; B7
    CBitStream writebit length b55; B7
    CBitStream writebit length b56; B7
    CBitStream writebit length b57; B8
    SIZE 0
    READ d: 111
    READ d: 11
    READ d: 0.123457
    READ d: 1
    READ d: 666
    READ d: Imbedded
    READ d: *Rapunzel!!!!
    CBitStream length b2706; B339 ----------
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    SIZE 0
    READ d: 111
    READ d: 11
    READ d: 0.123457
    READ d: 1
    READ d: 666
    READ d: Imbedded
    READ d: *Rapunzel!!!!
    CBitStream length b2706; B339 ----------
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    CBitStream writebit length b2706; B339
    SIZE 0
    READ d: 111
    READ d: 11
    READ d: 0.123457
    READ d: 1
    READ d: 666
    READ d: Imbedded
    READ d: *Rapunzel!!!!
    CBitStream length b2706; B339 ----------
    READ c: 1
    READ c: 10
    READ c: 300
    READ c: 0
    READ c: 1
    READ c: 1
    READ c: 1
    READ c: 1
    READ c: 1
    READ c: 1
    READ c: 1
    READ c: Testing 123
    READ c: Wide String 123
    READ c: 
    READ c: 
    READ c: 
    READ c: -1
    BUFFER
    0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,READ c: 111
    READ c: 11
    READ c: 0.123457
    READ c: 1
    READ c: 666
    READ c: Imbedded
    READ c: *Rapunzel!!!!
    READ c: 777
    Buffer ended
    
    COMPRESSION TEST (FASTLZ); SIZE BEFORE 339; bits 2706
    SIZE AFTER LZ 340; bits 2714
    SIZE REVERT 340; bits 2714
    
    
    SIZE largebs AFTER LZ 396280; before 400000
    SIZE largebs REVERT 400000; before 400000
    
    SIZE smallbs AFTER LZ 2; before 1
    SIZE smallbs REVERT 2; before 1
    
    SIZE smallbs AFTER LZ 3; before 2
    SIZE smallbs REVERT 3; before 2
    COMP READ c: 1
    COMP READ c: 10
    COMP READ c: 300
    Success: 0 tests passed.
    Test time: 0.00 seconds.
    [0] 
    ----- TESTS COMPLETE -----
    
    [0] Autostart: doing nothing 
    [0] Config loaded from autostart.gm 
    Segmentation fault
    david@alice:~/Games/kag_x$ 
    
     
  4. MM

    MM THD Team THD Team Administrator Global Moderator

    Messages:
    327
    There is some random error on start on Linux, I have to deal with it soon.