aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dists/motoezx/scummvm.lin2
-rw-r--r--dists/motomagx/mgx/icon.pngbin0 -> 3349 bytes
-rw-r--r--dists/motomagx/mgx/scummvm.cfg6
-rw-r--r--dists/motomagx/mgx/scummvm.lin9
-rw-r--r--dists/motomagx/mpkg/mySDL.cfg10
-rw-r--r--dists/motomagx/mpkg/scummvm.desktop2
-rw-r--r--dists/motomagx/mpkg/scummvm.sh11
-rw-r--r--[-rwxr-xr-x]dists/motomagx/pep/app/scummvm.sh10
8 files changed, 35 insertions, 15 deletions
diff --git a/dists/motoezx/scummvm.lin b/dists/motoezx/scummvm.lin
index a3c6f3831b..d9c96eeda9 100644
--- a/dists/motoezx/scummvm.lin
+++ b/dists/motoezx/scummvm.lin
@@ -7,4 +7,4 @@ export LD_LIBRARY_PATH=/mmc/mmca1/games/lib:$LD_LIBRARY_PATH
export SDL_QT_MODIFICATOR=1
export HOME=/mmc/mmca1/games
cd $mypath
-exec $mypath/scummvm --path=/mmc/mmca1/games/data --gfx-mode=1x > /mmc/mmca1/games/logs/scummvm.log 2>&1
+exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
diff --git a/dists/motomagx/mgx/icon.png b/dists/motomagx/mgx/icon.png
new file mode 100644
index 0000000000..5c22d56afd
--- /dev/null
+++ b/dists/motomagx/mgx/icon.png
Binary files differ
diff --git a/dists/motomagx/mgx/scummvm.cfg b/dists/motomagx/mgx/scummvm.cfg
new file mode 100644
index 0000000000..91567e8020
--- /dev/null
+++ b/dists/motomagx/mgx/scummvm.cfg
@@ -0,0 +1,6 @@
+Name = ScummVM
+Exec = scummvm.lin
+Icon = icon.png
+Author = ScummVM Team
+Version = trunk
+Comment = ScummVM \ No newline at end of file
diff --git a/dists/motomagx/mgx/scummvm.lin b/dists/motomagx/mgx/scummvm.lin
new file mode 100644
index 0000000000..7f9ec594c5
--- /dev/null
+++ b/dists/motomagx/mgx/scummvm.lin
@@ -0,0 +1,9 @@
+#!/bin/bash
+mypath=${0%/*}
+GAMES=/mmc/mmca1/games
+LIBDIR=$GAMES/lib
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR
+export SDL_QT_MODIFICATOR=1
+export HOME=$GAMES
+cd $mypath
+exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
diff --git a/dists/motomagx/mpkg/mySDL.cfg b/dists/motomagx/mpkg/mySDL.cfg
index 6774b68528..17e90d2b1a 100644
--- a/dists/motomagx/mpkg/mySDL.cfg
+++ b/dists/motomagx/mpkg/mySDL.cfg
@@ -9,12 +9,12 @@ Center = RETURN
VolumeUp = PLUS
VolumeDown = MINUS
SideKey = SPACE
-Call = TAB
-Music = F10
-Red = ESCAPE
+Call = ESCAPE
+Music = F8
+Red = F12
C = BACKSPACE
-Camera = PAUSE
-Slider = 0
+Camera = F7
+Slider = F5
0 = 0
1 = 1
2 = 2
diff --git a/dists/motomagx/mpkg/scummvm.desktop b/dists/motomagx/mpkg/scummvm.desktop
index 1e13cd1e56..9165967434 100644
--- a/dists/motomagx/mpkg/scummvm.desktop
+++ b/dists/motomagx/mpkg/scummvm.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
BigIcon = scummvm_usr.png
Directory = scummvm
-Exec = run.sh
+Exec = scummvm.sh
AniIcon = scummvm_usr.png
Name = ScummVM
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
diff --git a/dists/motomagx/pep/app/scummvm.sh b/dists/motomagx/pep/app/scummvm.sh
index fdab4e716f..03a27f49db 100755..100644
--- a/dists/motomagx/pep/app/scummvm.sh
+++ b/dists/motomagx/pep/app/scummvm.sh
@@ -1,16 +1,10 @@
#!/bin/sh
GAMES=/mmc/mmca1/.Games
-export DATA_DIR=$GAMES/.data/ScummVM
export LD_LIBRARY_PATH=$GAMES/.lib:$LD_LIBRARY_PATH
# uncomment next line if you wanna 270-degrees clockwise rotated screen
#export SDL_QT_INVERT_ROTATION=1
-
GAME_PATH=`basename $0`
GAME_PATH=`echo $0 | sed -e 's/'$GAME_PATH'//g'`
cd "$GAME_PATH"
-
-export HOME="$GAME_PATH"
-
-export LD_PREADLOAD=/usr/lib/libtaskman.so
-
-exec ./scummvm -g 1x
+export HOME="$GAMES"
+exec ./scummvm --gfx-mode=1x > $GAME_PATH/scummvm.log