aboutsummaryrefslogtreecommitdiff
path: root/dists/gph/gp2xwiz
diff options
context:
space:
mode:
authorDavid-John Willis2012-01-22 16:46:43 +0000
committerDavid-John Willis2012-01-22 16:53:32 +0000
commit7e0a88f69b05e71f41e2ea776b85a13fbb132bfc (patch)
tree9b31bb577e3cce83c3308e46c02226e8bc4b108d /dists/gph/gp2xwiz
parentb016cf572ddaa0249c67b3409bb1660ecbdd9c28 (diff)
downloadscummvm-rg350-7e0a88f69b05e71f41e2ea776b85a13fbb132bfc.tar.gz
scummvm-rg350-7e0a88f69b05e71f41e2ea776b85a13fbb132bfc.tar.bz2
scummvm-rg350-7e0a88f69b05e71f41e2ea776b85a13fbb132bfc.zip
GPH: Move all dist files into own folder under dists.
* Update vairous GPH bundle targets to suit new layout. * Also add .in input files so we can automatically update version numbers.
Diffstat (limited to 'dists/gph/gp2xwiz')
-rw-r--r--dists/gph/gp2xwiz/scummvm-gdb.gpe16
-rw-r--r--dists/gph/gp2xwiz/scummvm.gpe15
2 files changed, 31 insertions, 0 deletions
diff --git a/dists/gph/gp2xwiz/scummvm-gdb.gpe b/dists/gph/gp2xwiz/scummvm-gdb.gpe
new file mode 100644
index 0000000000..63ce193ca8
--- /dev/null
+++ b/dists/gph/gp2xwiz/scummvm-gdb.gpe
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Export the location of any libs ScummVM depends on
+# (to avoid installing to the NAND and overwriting the broken ones there).
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+
+# Run ScummVM via GDB (so make sure you have a terminal open or serial).
+# Oh, and GDB installed of course ;)
+gdb --args ./scummvm.gph --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
+
+# Sync the SD card to check that everything is written.
+sync
+
+# Return to the GPH menu screen
+cd /usr/gp2x
+exec /usr/gp2x/gp2xmenu
diff --git a/dists/gph/gp2xwiz/scummvm.gpe b/dists/gph/gp2xwiz/scummvm.gpe
new file mode 100644
index 0000000000..59ff562aeb
--- /dev/null
+++ b/dists/gph/gp2xwiz/scummvm.gpe
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Export the location of any libs ScummVM depends on
+# (to avoid installing to the NAND and overwriting the broken ones there).
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+
+# Run ScummVM, important this bit.
+./scummvm.gph --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
+
+# Sync the SD card to check that everything is written.
+sync
+
+# Return to the GPH menu screen
+cd /usr/gp2x
+exec /usr/gp2x/gp2xmenu