1#!/bin/sh 2 3# Export the location of any libs ScummVM depends on 4# (to avoid installing to the NAND and overwriting the broken ones there). 5export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH 6 7# Run ScummVM via GDB (so make sure you have a terminal open or serial). 8# Oh, and GDB installed of course ;) 9gdb --args ./scummvm.gph --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc 10 11# Sync the SD card to check that everything is written. 12sync 13 14# Return to the GPH menu screen 15cd /usr/gp2x 16exec /usr/gp2x/gp2xmenu 17