Steam for Linux > Non-Valve Games > Topic Details
M.C. Dec 10, 2012 @ 4:57am
Issure Report: Critter Chronicles Demo start script is Ubuntu only
#!/bin/bash
EXE_NAME=kAGE
BASE_BIN_PATH=./bin
BASE_LIB_PATH=~/.steam/bin/:./lib
BITS=32

DEPENDENCE=ia32-libs

SYSTEM_ARCH=`arch`

if [ $SYSTEM_ARCH == x86_64 ]; then
if [ `dpkg -l | grep -c $DEPENDENCE` == 0 ]; then
if [ ! `gksudo -m "BoUT wants to install dependence: '$DEPENDENCE'" /bin/bash ./bin/64/install.sh $DEPENDENCE` ]; then
exit 1
fi
fi
elif [ $SYSTEM_ARCH == i386 ]; then
BITS=32
fi

#run kAGE
LD_LIBRARY_PATH=$BASE_LIB_PATH/$BITS/:$LD_LIBRARY_PATH $BASE_BIN_PATH/$BITS/$EXE_NAME

This is just wrong, which makes me think/hope it's just temporary.
There's no need to automatically install ia32-libs; any user who runs Steam on 64bit knows he has to install that package and it's obvious not everyone has dpkg. Also, I haven't seen any other distro other than Ubuntu to have 'arch' as an executable; still wondering why they did that instead of 'uname -m'.

EDIT: To run, modify the script to ↓ and disable Community In-Game from Steam (bug).

#!/bin/bash
EXE_NAME=kAGE
BASE_BIN_PATH=./bin
BASE_LIB_PATH=~/.steam/bin/:./lib
BITS=32
SYSTEM_ARCH=`uname -m`

#run kAGE
LD_LIBRARY_PATH=$BASE_LIB_PATH/$BITS/:$LD_LIBRARY_PATH $BASE_BIN_PATH/$BITS/$EXE_NAME
Last edited by M.C.; Dec 10, 2012 @ 5:23am