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

Having trouble running the game[lunix]

Discussion in 'General Help' started by spencak, Jun 14, 2011.

  1. spencak

    spencak Guest

    I am a linux noob and I would I keep getting errors when I try to open KAG. could someone give me a brief tut on how to run the game? I am using a ubuntu VM on my mac if that information is needed.
     
  2. spencak

    spencak Guest

    Oh, I am not trying to run a server just the game... It tells me that I do not have a application installed for executable files... what application should I be using?
     
  3. sado

    sado Shopkeep Stealer

    Messages:
    26
    spencak, if you know anything about linux terminal or at least DOS/cmd in Windows (it's pretty similar) you can open terminal and cd to KAG folder, then write these commands:
    chmod +x rungame.sh KAG
    ./rungame.sh

    If you're not very experienced about that kind of stuff, you can just try to create a desktop or panel shortcut to KAG by writing 'sh /path/to/kag/folder/rungame.sh' in the text field where you put the program path. What desktop environment (or distribution) are you using?
     
  4. spencak

    spencak Guest

    Thanks! I am using Ubuntu... it has worked so far but I get an error when I run the game I get this (you can skip to the end)

    Running KAG
    mv: cannot stat `KAG.tmp': No such file or directory
    PID: 20477
    Starting in directory: /home/spkopelchak/Downloads/kag_x
    Engine (build: 49 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 8439 100 8439 0 0 17291 0 --:--:-- --:--:-- --:--:-- 19179

    Checking which files need updatingHashing file ./KAG
    .Hashing file ./createversion.sh
    .Hashing file ./rungame.sh
    .Hashing file ./App/autoupdate.cfg
    .Hashing file ./App/autoupdate_linux.cfg
    .Hashing file ./Base/Juxta.so
    .Hashing file ./Base/Sounds/throw.ogg
    .Hashing file ./Base/Sounds/heart.ogg
    .Hashing file ./Base/Sounds/dig_dirt2.ogg
    .Hashing file ./Base/Sounds/fall1.ogg
    .Hashing file ./Base/Sounds/build_door.ogg
    .Hashing file ./Base/Sounds/dig_dirt1.ogg
    .Hashing file ./Base/Sounds/build_wall2.ogg
    .Hashing file ./Base/Sounds/flesh_hit.wav
    .Hashing file ./Base/Sounds/bodypart1.wav
    .Hashing file ./Base/Sounds/sword_swoosh.ogg
    .Hashing file ./Base/Sounds/bodypart2.wav
    .Hashing file ./Base/Sounds/sparkle.ogg
    .Hashing file ./Base/Sounds/rock_hit3.ogg
    .Hashing file ./Base/Sounds/rock_hit2.ogg
    .Hashing file ./Base/Sounds/Music/fanfare.ogg
    .Hashing file ./Base/Sounds/lightup.ogg
    .Hashing file ./Base/Sounds/catapult_pull.ogg
    .Hashing file ./Base/Sounds/pick_wall1.ogg
    .Hashing file ./Base/Sounds/destroy_dirt.ogg
    .Hashing file ./Base/Sounds/chop_tree1.ogg
    .Hashing file ./Base/Sounds/pick_wall2.ogg
    .Hashing file ./Base/Sounds/build_ladder.ogg
    .Hashing file ./Base/Sounds/destroy_ladder.ogg
    .Hashing file ./Base/Sounds/goldsack_take.ogg
    .Hashing file ./Base/Sounds/snes_coin.ogg
    .Hashing file ./Base/Sounds/catapult_destroy.ogg
    .Hashing file ./Base/Sounds/door_open.ogg
    .Hashing file ./Base/Sounds/destroy_stone.ogg
    .Hashing file ./Base/Sounds/dig_stone1.ogg
    .Hashing file ./Base/Sounds/chop_tree2.ogg
    .Hashing file ./Base/Sounds/sword_hit_shield.ogg
    .Hashing file ./Base/Sounds/dig_stone2.ogg
    .Hashing file ./Base/Sounds/splat.ogg
    .Hashing file ./Base/Sounds/fall3.ogg
    .Hashing file ./Base/Sounds/build_wall.ogg
    .Hashing file ./Base/Sounds/wilhelm_short.ogg
    .Hashing file ./Base/Sounds/destroy_tree.ogg
    .Hashing file ./Base/Sounds/bridge_open.ogg
    .Hashing file ./Base/Sounds/dig_stone3.ogg
    .Hashing file ./Base/Sounds/door_close.ogg
    .Hashing file ./Base/Sounds/arrow_hit_ground.ogg
    .Hashing file ./Base/Sounds/destroy_wall.ogg
    .Hashing file ./Base/Sounds/bomb_bounce.ogg
    .Hashing file ./Base/Sounds/destroy_gold.ogg
    .Hashing file ./Base/Sounds/bow_pull.ogg
    .Hashing file ./Base/Sounds/sword_kill_peasant.ogg
    .Hashing file ./Base/Sounds/catapult_fire.ogg
    .Hashing file ./Base/Sounds/sword_kill_knight.ogg
    .Hashing file ./Base/Sounds/arrow_hitfast_ground.ogg
    .Hashing file ./Base/Sounds/dig_dirt3.ogg
    .Hashing file ./Base/Sounds/bow_fire.ogg
    .Hashing file ./Base/Sounds/rock_hit1.ogg
    .Hashing file ./Base/Sounds/catapult_hit.ogg
    .Hashing file ./Base/Sounds/pick_wall3.ogg
    .Hashing file ./Base/Sounds/bomb.ogg
    .Hashing file ./Base/Sounds/metal_stone.ogg
    .Hashing file ./Base/Sounds/wilhelm.ogg
    .Hashing file ./Base/Sounds/bridge_close.ogg
    .Hashing file ./Base/Sounds/chop_tree3.ogg
    .Hashing file ./Base/Sounds/GUI/back.ogg
    .Hashing file ./Base/Sounds/GUI/menuclick.ogg
    .Hashing file ./Base/Sounds/GUI/option.ogg
    .Hashing file ./Base/Sounds/loot.ogg
    .Hashing file ./Base/Sounds/fall2.ogg
    .Hashing file ./Base/Maps/old.png
    .Hashing file ./Base/Maps/map2.png
    .Hashing file ./Base/Sprites/archer_gibs.png
    .Hashing file ./Base/Sprites/tent1.png
    .Hashing file ./Base/Sprites/bubble.png
    .Hashing file ./Base/Sprites/knight_gibs.png
    .Hashing file ./Base/Sprites/test.png
    .Hashing file ./Base/Sprites/builder.png
    .Hashing file ./Base/Sprites/sacks.png
    .Hashing file ./Base/Sprites/builder2.png
    .Hashing file ./Base/Sprites/builder_gibs.png
    .Hashing file ./Base/Sprites/flag1.png
    .Hashing file ./Base/Sprites/dust2.png
    .Hashing file ./Base/Sprites/drilltile.png
    .Hashing file ./Base/Sprites/Trees/tree1.png
    .Hashing file ./Base/Sprites/world.png
    .Hashing file ./Base/Sprites/skygradient.png
    .Hashing file ./Base/Sprites/dust.png
    .Hashing file ./Base/Sprites/catapult.png
    .Hashing file ./Base/Sprites/rocks.png
    .Hashing file ./Base/Sprites/builder1.png
    .Hashing file ./Base/Sprites/archer1.png
    .Hashing file ./Base/Sprites/pixel.png
    .Hashing file ./Base/Sprites/bomb.png
    .Hashing file ./Base/Sprites/arrow.png
    .Hashing file ./Base/Sprites/tent2.png
    .Hashing file ./Base/Sprites/rock1.png
    .Hashing file ./Base/Sprites/knight1.png
    .Hashing file ./Base/Sprites/flag2.png
    .Hashing file ./Base/Sprites/knight2.png
    .Hashing file ./Base/Sprites/archer2.png
    .Hashing file ./Base/Sprites/heart.png
    .Hashing file ./Base/Sprites/explosion.png
    .Hashing file ./Base/Scripts/generator.cfg
    .Hashing file ./Base/Scripts/gui.cfg
    .Hashing file ./Base/Scripts/autostart.gm
    .Hashing file ./Base/Scripts/dedicated_autostart.gm
    .Hashing file ./Base/Scripts/config.gm
    .Hashing file ./Base/Scripts/defines.cfg
    .Hashing file ./Base/Rules/Goldhunt/team1_runner.cfg
    .Hashing file ./Base/Rules/Goldhunt/team2_runner.cfg
    .Hashing file ./Base/Rules/Goldhunt/team1_runner_inventory.cfg
    .Hashing file ./Base/Rules/Goldhunt/team2.cfg
    .Hashing file ./Base/Rules/Goldhunt/team1.cfg
    .Hashing file ./Base/Rules/Goldhunt/team2_runner_inventory.cfg
    .Hashing file ./Base/Rules/Goldhunt/gamemode.cfg
    .Hashing file ./Base/GUI/archer_power.png
    .Hashing file ./Base/GUI/connecting.png
    .Hashing file ./Base/GUI/emblem1.png
    .Hashing file ./Base/GUI/materials.png
    .Hashing file ./Base/GUI/knight_cursor.png
    .Hashing file ./Base/GUI/emblem2.png
    .Hashing file ./Base/GUI/title.png
    .Hashing file ./Base/GUI/builder_cursor.png
    .Hashing file ./Base/GUI/archer_cursor.png
    .Hashing file ./Base/GUI/arrow_cursor.png
    .Hashing file ./Base/GUI/Fonts/pixel2x.png
    .Hashing file ./Base/GUI/Fonts/old_pixel.png
    .Hashing file ./Base/GUI/Fonts/snes.png
    .Hashing file ./Base/GUI/Fonts/commodore.png
    .Hashing file ./Base/GUI/Fonts/tempesta.png
    .Hashing file ./Base/GUI/Fonts/IrrFontTool.exe
    .Hashing file ./Base/GUI/Fonts/pixel.png
    .Hashing file ./Base/GUI/Fonts/love.png
    .Hashing file ./Base/GUI/Fonts/pixel2xx.png
    .Hashing file ./Base/GUI/Fonts/love2x.png
    .Hashing file ./Base/GUI/heart.png
    .Hashing file ./dedicatedserver.sh
    .Hashing file ./irrlicht.ico
    .Hashing file ./tutorial101.png
    .Hashing file ./lib/libIrrKlang.so
    .
    Comparing checksums
    Downloading http://dl.dropbox.com/u/6397016/kag_x/./Base/Sprites/archer2.png...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 2891 100 2891 0 0 8432 0 --:--:-- --:--:-- --:--:-- 9800
    Downloading http://dl.dropbox.com/u/6397016/kag_x/./Base/Sprites/builder2.png...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 2303 100 2303 0 0 4197 0 --:--:-- --:--:-- --:--:-- 4569
    Using file 'Base/Juxta.so'
    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

    and then nothing happens...
     
  5. sado

    sado Shopkeep Stealer

    Messages:
    26
    Just read that you are doing this in virtual machine... did you install guest system drivers? You need to use VM with opengl acceleration support (virtualbox and vmware should do that). If you don't know how to install guest additions for your virtual machine (you should have some option in your VM program to install that) tell me what VM you are using and I'll try to help.
     
  6. spencak

    spencak Guest

    Thanks that woudl be great! I am using vmwarefusion I am not sure about the guest tools and I would love some help thanks!
     
  7. sado

    sado Shopkeep Stealer

    Messages:
    26
    Install Vmware Tools with these commands:

    Code:
    sudo apt-get install linux-headers-virtual
    sudo apt-get install --no-install-recommends open-vm-dkms
    sudo apt-get install open-vm-tools
    You may need to enable some option like 'enable 3d acceleration' in this virtual machine's options, I used VMWare too long time ago to remember where to look for that one.