Ticket #9136: scummvm-linuxmoto-upd27012010.patch

File scummvm-linuxmoto-upd27012010.patch, 4.8 KB (added by SF/lubomyr_ua, 11 years ago)
  • dists/motomagx/pep/app/scummvm.sh

     
    11#!/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
     2mypath=${0%/*}
     3LIBDIR1=/ezxlocal/download/mystuff/games/lib
     4LIBDIR2=/mmc/mmca1/games/lib
     5LIBDIR3=/mmc/mmca1/.Games/.lib
     6#LIBDIR3=/mmc/mmca1/.system/lib
     7LIBDIR4=$mypath/lib
    58#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
     9export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4
     10export HOME=$mypath
     11cd $mypath
     12exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
  • dists/motomagx/mgx/scummvm.lin

     
    1 #!/bin/bash
     1#!/bin/sh
    22mypath=${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
     3LIBDIR1=/ezxlocal/download/mystuff/games/lib
     4LIBDIR2=/mmc/mmca1/games/lib
     5LIBDIR3=/mmc/mmca1/.Games/.lib
     6#LIBDIR3=/mmc/mmca1/.system/lib
     7LIBDIR4=$mypath/lib
     8#export SDL_QT_INVERT_ROTATION=1
     9export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4
     10export HOME=$mypath
    911cd $mypath
    1012exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
  • dists/motomagx/mpkg/scummvm.sh

     
    11#!/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
     2mypath=${0%/*}
     3LIBDIR1=/ezxlocal/download/mystuff/games/lib
     4LIBDIR2=/mmc/mmca1/games/lib
     5#LIBDIR3=/mmc/mmca1/.Games/.lib
     6LIBDIR3=/mmc/mmca1/.system/lib
     7LIBDIR4=$mypath/lib
     8#export SDL_QT_INVERT_ROTATION=1
     9export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4
     10export HOME=$mypath
    911rm /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
     12cp $mypath/mySDL.cfg /mmc/mmca1/.system/mySDL.cfg
     13cd $mypath
     14exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
  • dists/motomagx/mpkg/mySDL.cfg

     
    11[SDL]
    22LeftSoftkey = F9
    3 RightSoftkey = PERIOD
     3RightSoftkey = F11
    44Up = UP
    55Down = DOWN
    66Left = LEFT
     
    88Center = RETURN
    99VolumeUp = PLUS
    1010VolumeDown = MINUS
    11 SideKey = F5
    12 Call = F7
     11SideKey = SPACE
    1312Music = F10
     13Call = TAB
    1414Red = ESCAPE
    1515C = BACKSPACE
    16 Camera = MINIMIZE
     16Camera = PAUSE
    1717Slider = 0
    18180 = 0
    19191 = 1
  • dists/motoezx/scummvm.lin

     
    11#!/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
     2mypath=${0%/*}
     3LIBDIR1=/ezxlocal/download/mystuff/games/lib
     4LIBDIR2=/mmc/mmca1/games/lib
     5LIBDIR3=/mmc/mmca1/.Games/.lib
     6#LIBDIR3=/mmc/mmca1/.system/lib
     7LIBDIR4=$mypath/lib
    68#export SDL_QT_INVERT_ROTATION=1
    7 export SDL_QT_MODIFICATOR=1
    8 export HOME=/mmc/mmca1/games
     9export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4
     10export HOME=$mypath
    911cd $mypath
    1012exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log
  • backends/platform/linuxmoto/linuxmoto-events.cpp

     
    116116#endif
    117117
    118118#ifdef MOTOMAGX
    119         // Quit on cancel
    120         if (ev.key.keysym.sym == SDLK_F12) {
     119        // Quit on Clr
     120        if (ev.key.keysym.sym == SDLK_BACKSPACE) {
    121121                event.type = Common::EVENT_QUIT;
    122122                return true;
    123123        }
     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        }     
    124132#endif
    125133
    126134// Joystick to Mouse