1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  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 Common problems and fixes

Discussion in 'Help' started by Bobinours, Dec 28, 2014.

Thread Status:
Not open for further replies.
Mods: makmoud98, Mazey
  1. Bobinours

    Bobinours Ballista Bolt Thrower

    I'm on Linux Mint Debian Edition 64 bits, and this is what I have done to run the game :

    # Install 32-bit libraries required for Trench Run/KAG if you are on 64bit:
    sudo apt-get install libc6:i386 libstdc++6:i386 libglapi-mesa:i386 libgl1-mesa-glx:i386 libxxf86vm1:i386 libxext6:i386 libx11-6:i386 libfreetype6:i386 libgcc1-dbg:i386 libxdamage1:i386 libxfixes3:i386 libx11-xcb1:i386 libxcb-glx0:i386 libxcb-dri2-0:i386 libxcb1:i386 libdrm2:i386 libxdmcp6:i386

    # Compile libpng :
    sudo apt-get install zlib1g-dev

    ( source : http://ubuntuforums.org/showthread.php?t=2138623 )

    cd ~/Downloads/libpng-1.5.19
    ./configure --prefix=/usr/local/libpng/i386/ --build=i386-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
    make check
    sudo make install
    make check

    #Edit launcher file rungame.sh and add before line 6 :
    # to enable libpng1.5, replace KAG with TR if you play TR
    LD_PRELOAD=/usr/lib/i386-linux-gnu/libpng15.so.15 [...] /KAG [...]

    # KAG/TR sound that doesn't work
    sudo apt-get install libasound2-dev:i386
    sudo apt-get install libasound2-plugins:i386

    Hope this help.


    A nice post from Lavalord that I'm gonna throw here, about libraries and running Debian distributions that still works:

    Last edited by a moderator: Jan 29, 2016
  2. UnnamedPlayer

    UnnamedPlayer Arsenist Administrator Global Moderator Tester
    1. MOLEing Over Large Estates - [MOLE]

    Stickied for future reference.
    If anyone find other common problems and/or fixes when running KAG/TR on linux, please PM Mazey or makmoud98.
    Last edited by a moderator: Nov 18, 2015
    Asu likes this.
Mods: makmoud98, Mazey
Thread Status:
Not open for further replies.