aboutsummaryrefslogtreecommitdiff
path: root/dists/motomagx/mpkg/scummvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dists/motomagx/mpkg/scummvm.sh')
-rw-r--r--dists/motomagx/mpkg/scummvm.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/dists/motomagx/mpkg/scummvm.sh b/dists/motomagx/mpkg/scummvm.sh
new file mode 100644
index 0000000000..9570d8d2ce
--- /dev/null
+++ b/dists/motomagx/mpkg/scummvm.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+GAMES=/mmc/mmca1/.Games
+DIR=`busybox dirname "$0"`
+LIBDIR=/mmc/mmca1/.system/lib
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR
+export SDL_QT_MODIFICATOR=1
+export HOME=$GAMES
+cd $DIR
+rm /mmc/mmca1/.system/mySDL.cfg
+cp $DIR/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg
+exec $DIR/scummvm --gfx-mode=1x > $DIR/scummvm.log