aboutsummaryrefslogtreecommitdiff
path: root/dists/motomagx/mpkg
diff options
context:
space:
mode:
Diffstat (limited to 'dists/motomagx/mpkg')
-rw-r--r--dists/motomagx/mpkg/mySDL.cfg30
-rwxr-xr-xdists/motomagx/mpkg/run.sh10
-rw-r--r--dists/motomagx/mpkg/scummvm.desktop6
-rw-r--r--dists/motomagx/mpkg/scummvm_usr.pngbin0 -> 3349 bytes
4 files changed, 46 insertions, 0 deletions
diff --git a/dists/motomagx/mpkg/mySDL.cfg b/dists/motomagx/mpkg/mySDL.cfg
new file mode 100644
index 0000000000..6774b68528
--- /dev/null
+++ b/dists/motomagx/mpkg/mySDL.cfg
@@ -0,0 +1,30 @@
+[SDL]
+LeftSoftkey = F9
+RightSoftkey = F11
+Up = UP
+Down = DOWN
+Left = LEFT
+Right = RIGHT
+Center = RETURN
+VolumeUp = PLUS
+VolumeDown = MINUS
+SideKey = SPACE
+Call = TAB
+Music = F10
+Red = ESCAPE
+C = BACKSPACE
+Camera = PAUSE
+Slider = 0
+0 = 0
+1 = 1
+2 = 2
+3 = 3
+4 = 4
+5 = 5
+6 = 6
+7 = 7
+8 = 8
+9 = 9
+Asterisk = ASTERISK
+Numeral = HASH
+
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
diff --git a/dists/motomagx/mpkg/scummvm.desktop b/dists/motomagx/mpkg/scummvm.desktop
new file mode 100644
index 0000000000..1e13cd1e56
--- /dev/null
+++ b/dists/motomagx/mpkg/scummvm.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+BigIcon = scummvm_usr.png
+Directory = scummvm
+Exec = run.sh
+AniIcon = scummvm_usr.png
+Name = ScummVM
diff --git a/dists/motomagx/mpkg/scummvm_usr.png b/dists/motomagx/mpkg/scummvm_usr.png
new file mode 100644
index 0000000000..5c22d56afd
--- /dev/null
+++ b/dists/motomagx/mpkg/scummvm_usr.png
Binary files differ