From 212965f978ac8f782dad1bdc02f60477a1d60894 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 29 Aug 2009 20:43:00 +0000 Subject: Patch #2845084: "Linuxmoto-backend small update" svn-id: r43809 --- dists/motoezx/scummvm-sm.png | Bin 1435 -> 1115 bytes dists/motoezx/scummvm.png | Bin 1681 -> 1710 bytes dists/motomagx/mpkg/mySDL.cfg | 30 ++++++++++++++++++++++++++++++ dists/motomagx/mpkg/run.sh | 10 ++++++++++ dists/motomagx/mpkg/scummvm.desktop | 6 ++++++ dists/motomagx/mpkg/scummvm_usr.png | Bin 0 -> 3349 bytes dists/motomagx/pep/app/scummvm.sh | 16 ++++++++++++++++ dists/motomagx/pep/description.ini | 20 ++++++++++++++++++++ dists/motomagx/pep/scummvm_big_usr.png | Bin 0 -> 1968 bytes dists/motomagx/pep/scummvm_small_usr.png | Bin 0 -> 992 bytes 10 files changed, 82 insertions(+) create mode 100644 dists/motomagx/mpkg/mySDL.cfg create mode 100755 dists/motomagx/mpkg/run.sh create mode 100644 dists/motomagx/mpkg/scummvm.desktop create mode 100644 dists/motomagx/mpkg/scummvm_usr.png create mode 100755 dists/motomagx/pep/app/scummvm.sh create mode 100644 dists/motomagx/pep/description.ini create mode 100644 dists/motomagx/pep/scummvm_big_usr.png create mode 100644 dists/motomagx/pep/scummvm_small_usr.png (limited to 'dists') diff --git a/dists/motoezx/scummvm-sm.png b/dists/motoezx/scummvm-sm.png index e6341243c4..46c5fca430 100644 Binary files a/dists/motoezx/scummvm-sm.png and b/dists/motoezx/scummvm-sm.png differ diff --git a/dists/motoezx/scummvm.png b/dists/motoezx/scummvm.png index 4a0c65b544..578414b8d8 100644 Binary files a/dists/motoezx/scummvm.png and b/dists/motoezx/scummvm.png differ 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 Binary files /dev/null and b/dists/motomagx/mpkg/scummvm_usr.png differ diff --git a/dists/motomagx/pep/app/scummvm.sh b/dists/motomagx/pep/app/scummvm.sh new file mode 100755 index 0000000000..fdab4e716f --- /dev/null +++ b/dists/motomagx/pep/app/scummvm.sh @@ -0,0 +1,16 @@ +#!/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 diff --git a/dists/motomagx/pep/description.ini b/dists/motomagx/pep/description.ini new file mode 100644 index 0000000000..634214e5ac --- /dev/null +++ b/dists/motomagx/pep/description.ini @@ -0,0 +1,20 @@ +[Actions] +Silent=0 +InstallApp = 1 +AddAppToMenu = 1 + +[InstallApp] +Name = ScummVM +Exec = scummvm.sh +InstallPath = ../../mmc/mmca1/.Games/ScummVM/ +AppLockable = 1 +Author = ScummVM Team +Version = trunk +Daemon = 1 +BigIcon= scummvm_big_usr.png +AniIcon= scummvm_big_usr.png +Icon= scummvm_small_usr.png + +[AddAppToMenu] +ParentFolder= root + diff --git a/dists/motomagx/pep/scummvm_big_usr.png b/dists/motomagx/pep/scummvm_big_usr.png new file mode 100644 index 0000000000..3c517ea2a9 Binary files /dev/null and b/dists/motomagx/pep/scummvm_big_usr.png differ diff --git a/dists/motomagx/pep/scummvm_small_usr.png b/dists/motomagx/pep/scummvm_small_usr.png new file mode 100644 index 0000000000..0f87b4ae26 Binary files /dev/null and b/dists/motomagx/pep/scummvm_small_usr.png differ -- cgit v1.2.3