1 2 3 4 5 6 7 8 9 10
#!/bin/bash mypath=${0%/*} GAMES=/mmc/mmca1/games export LIBDIR1=/ezxlocal/download/mystuff/games/lib export LIBDIR2=$GAMES/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2 export SDL_QT_MODIFICATOR=1 export HOME=$GAMES cd $mypath exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log