aboutsummaryrefslogtreecommitdiff
path: root/dists/motomagx/mpkg/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dists/motomagx/mpkg/run.sh')
-rwxr-xr-xdists/motomagx/mpkg/run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dists/motomagx/mpkg/run.sh b/dists/motomagx/mpkg/run.sh
new file mode 100755
index 0000000000..d79031071d
--- /dev/null
+++ b/dists/motomagx/mpkg/run.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+DIR=`busybox dirname "$0"`
+LIBDIR=/mmc/mmca1/.system/lib
+export LD_PRELOAD=$LIBDIR/libz.so:$LIBDIR/libSDL-1.2.so.0:$LIBDIR/libvorbis.so.0:$LIBDIR/libvorbisfile.so.3:$LIBDIR/libogg.so.0:$LIBDIR/libmad.so.0:$LIBDIR/libutil.so.1:$LIBDIR/libtaskman.so
+export SDL_QT_MODIFICATOR=1
+export HOME=/$DIR
+cd $DIR
+rm /mmc/mmca1/.system/mySDL.cfg
+cp $DIR/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg
+./scummvm --path=$DIR --gfx-mode=1x > $DIR/scummvm.log