Ticket #9136: scummvm-linuxmoto-upd27012010.patch
File scummvm-linuxmoto-upd27012010.patch, 4.8 KB (added by , 15 years ago) |
---|
-
dists/motomagx/pep/app/scummvm.sh
1 1 #!/bin/sh 2 GAMES=/mmc/mmca1/.Games 3 export LD_LIBRARY_PATH=$GAMES/.lib:$LD_LIBRARY_PATH 4 # uncomment next line if you wanna 270-degrees clockwise rotated screen 2 mypath=${0%/*} 3 LIBDIR1=/ezxlocal/download/mystuff/games/lib 4 LIBDIR2=/mmc/mmca1/games/lib 5 LIBDIR3=/mmc/mmca1/.Games/.lib 6 #LIBDIR3=/mmc/mmca1/.system/lib 7 LIBDIR4=$mypath/lib 5 8 #export SDL_QT_INVERT_ROTATION=1 6 GAME_PATH=`basename $0` 7 GAME_PATH=`echo $0 | sed -e 's/'$GAME_PATH'//g'` 8 cd "$GAME_PATH" 9 export HOME="$GAMES" 10 exec ./scummvm --gfx-mode=1x > $GAME_PATH/scummvm.log 9 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4 10 export HOME=$mypath 11 cd $mypath 12 exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log -
dists/motomagx/mgx/scummvm.lin
1 #!/bin/ bash1 #!/bin/sh 2 2 mypath=${0%/*} 3 GAMES=/mmc/mmca1/games 4 export LIBDIR1=/ezxlocal/download/mystuff/games/lib 5 export LIBDIR2=$GAMES/lib 6 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2 7 export SDL_QT_MODIFICATOR=1 8 export HOME=$GAMES 3 LIBDIR1=/ezxlocal/download/mystuff/games/lib 4 LIBDIR2=/mmc/mmca1/games/lib 5 LIBDIR3=/mmc/mmca1/.Games/.lib 6 #LIBDIR3=/mmc/mmca1/.system/lib 7 LIBDIR4=$mypath/lib 8 #export SDL_QT_INVERT_ROTATION=1 9 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4 10 export HOME=$mypath 9 11 cd $mypath 10 12 exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log -
dists/motomagx/mpkg/scummvm.sh
1 1 #!/bin/sh 2 GAMES=/mmc/mmca1/.Games 3 DIR=`busybox dirname "$0"` 4 LIBDIR=/mmc/mmca1/.system/lib 5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR 6 export SDL_QT_MODIFICATOR=1 7 export HOME=$GAMES 8 cd $DIR 2 mypath=${0%/*} 3 LIBDIR1=/ezxlocal/download/mystuff/games/lib 4 LIBDIR2=/mmc/mmca1/games/lib 5 #LIBDIR3=/mmc/mmca1/.Games/.lib 6 LIBDIR3=/mmc/mmca1/.system/lib 7 LIBDIR4=$mypath/lib 8 #export SDL_QT_INVERT_ROTATION=1 9 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4 10 export HOME=$mypath 9 11 rm /mmc/mmca1/.system/mySDL.cfg 10 cp $DIR/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg 11 exec $DIR/scummvm --gfx-mode=1x > $DIR/scummvm.log 12 cp $mypath/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg 13 cd $mypath 14 exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log -
dists/motomagx/mpkg/mySDL.cfg
1 1 [SDL] 2 2 LeftSoftkey = F9 3 RightSoftkey = PERIOD3 RightSoftkey = F11 4 4 Up = UP 5 5 Down = DOWN 6 6 Left = LEFT … … 8 8 Center = RETURN 9 9 VolumeUp = PLUS 10 10 VolumeDown = MINUS 11 SideKey = F5 12 Call = F7 11 SideKey = SPACE 13 12 Music = F10 13 Call = TAB 14 14 Red = ESCAPE 15 15 C = BACKSPACE 16 Camera = MINIMIZE16 Camera = PAUSE 17 17 Slider = 0 18 18 0 = 0 19 19 1 = 1 -
dists/motoezx/scummvm.lin
1 1 #!/bin/sh 2 . /home/native/.profile 3 myfile=`basename $0` 4 mypath=`echo $0 | sed -e 's/'$myfile'//g'` 5 export LD_LIBRARY_PATH=/mmc/mmca1/games/lib:$LD_LIBRARY_PATH 2 mypath=${0%/*} 3 LIBDIR1=/ezxlocal/download/mystuff/games/lib 4 LIBDIR2=/mmc/mmca1/games/lib 5 LIBDIR3=/mmc/mmca1/.Games/.lib 6 #LIBDIR3=/mmc/mmca1/.system/lib 7 LIBDIR4=$mypath/lib 6 8 #export SDL_QT_INVERT_ROTATION=1 7 export SDL_QT_MODIFICATOR=18 export HOME= /mmc/mmca1/games9 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4 10 export HOME=$mypath 9 11 cd $mypath 10 12 exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log -
backends/platform/linuxmoto/linuxmoto-events.cpp
116 116 #endif 117 117 118 118 #ifdef MOTOMAGX 119 // Quit on cancel120 if (ev.key.keysym.sym == SDLK_ F12) {119 // Quit on Clr 120 if (ev.key.keysym.sym == SDLK_BACKSPACE) { 121 121 event.type = Common::EVENT_QUIT; 122 122 return true; 123 123 } 124 // Game Menu - Left Soft key 125 else if (ev.key.keysym.sym == SDLK_F9) { 126 ev.key.keysym.sym = SDLK_F5; 127 } 128 // VirtualKeyboard - Right Soft key 129 else if (ev.key.keysym.sym == SDLK_F11) { 130 ev.key.keysym.sym = SDLK_F7; 131 } 124 132 #endif 125 133 126 134 // Joystick to Mouse