aboutsummaryrefslogtreecommitdiff
path: root/dists/motomagx/mpkg/scummvm.sh
blob: 1f09e7eaae8bfc50e188a751d37e36972f7d9822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
mypath=${0%/*}
LIBDIR1=/ezxlocal/download/mystuff/games/lib
LIBDIR2=/mmc/mmca1/games/lib
#LIBDIR3=/mmc/mmca1/.Games/.lib
LIBDIR3=/mmc/mmca1/.system/lib
LIBDIR4=$mypath/lib
#export SDL_QT_INVERT_ROTATION=1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4
export HOME=$mypath
rm /mmc/mmca1/.system/mySDL.cfg
cp $mypath/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg
cd $mypath
exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log