aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/devices
diff options
context:
space:
mode:
authorDavid-John Willis2011-04-12 12:11:37 +0100
committerDavid-John Willis2011-04-13 08:01:16 +0100
commita18bb2e73d2580722fe418db7c307f9bc307e091 (patch)
treecc89a7fe03da91779bdc934ef439437d3a108c4d /backends/platform/gph/devices
parentda688dbb7f20d08371a160d9fcc29776418d502d (diff)
downloadscummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.gz
scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.bz2
scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.zip
GPH: Move GP2XWIZ build support files into devices folder.
* Also add a common folder with the shared bits.
Diffstat (limited to 'backends/platform/gph/devices')
-rw-r--r--backends/platform/gph/devices/common/README-GPH60
-rw-r--r--backends/platform/gph/devices/common/scummvm.ini5
-rw-r--r--backends/platform/gph/devices/common/scummvm.pngbin0 -> 2656 bytes
-rw-r--r--backends/platform/gph/devices/common/scummvmb.pngbin0 -> 34274 bytes
-rw-r--r--backends/platform/gph/devices/gp2xwiz/scummvm-gdb.gpe16
-rw-r--r--backends/platform/gph/devices/gp2xwiz/scummvm.gpe15
6 files changed, 96 insertions, 0 deletions
diff --git a/backends/platform/gph/devices/common/README-GPH b/backends/platform/gph/devices/common/README-GPH
new file mode 100644
index 0000000000..ea196f6649
--- /dev/null
+++ b/backends/platform/gph/devices/common/README-GPH
@@ -0,0 +1,60 @@
+ScummVM - GPH DEVICE SPECIFIC README
+------------------------------------------------------------------------
+
+Contents:
+
+ * About the backend/port <#About_the_backendport>
+ * Supported audio options <#Supported_audio_options>
+ * Credits <#Credits>
+
+------------------------------------------------------------------------
+
+Please refer to the:
+
+GPH ScummVM Forum: <http://forums.scummvm.org/viewforum.php?f=14>
+
+WiKi: (Select your device)
+
+<http://wiki.scummvm.org/index.php/GP2X>
+<http://wiki.scummvm.org/index.php/GP2XWiz>
+<http://wiki.scummvm.org/index.php/Caanoo>
+
+for the most current information on the port and any updates to this
+documentation.
+
+The wiki includes detailed instructions on how to use the port and
+control information.
+
+------------------------------------------------------------------------
+About the backend/port
+
+This is the readme for the official GPH ScummVM backend (also known as
+the GP2X port/GP2XWiz port or Caanoo port).
+
+This is an SVN test release of ScummVM for GPH devices, it would be
+appreciated if this SVN test distribution was not mirrored and that
+people be directed to http://scummvm.distant-earth.com/ instead for
+updated SVN builds.
+
+Fully supported official releases of the GPH ScummVM backend are made in
+line with main official releases and are avalalble from the ScummVM
+downloads page <http://www.scummvm.org/downloads.php> for the GP2X,
+GP2XWiz and Caanoo.
+
+------------------------------------------------------------------------
+Supported audio options
+
+Raw audio.
+MP3 audio.
+OGG Vorbis audio.
+
+FLAC audio is currently unsupported.
+
+For best results use uncompressed audio in games.
+
+------------------------------------------------------------------------
+Credits
+
+Core ScummVM code (c) The ScummVM Team
+Portions of the GPH backend (c) John Willis
+Detailed (c) information can be found within the source code
diff --git a/backends/platform/gph/devices/common/scummvm.ini b/backends/platform/gph/devices/common/scummvm.ini
new file mode 100644
index 0000000000..c9cce92379
--- /dev/null
+++ b/backends/platform/gph/devices/common/scummvm.ini
@@ -0,0 +1,5 @@
+[info]
+name="ScummVM"
+path="/scummvm/scummvm.gpe"
+icon="/scummvm/scummvm.png"
+title="/scummvm/scummvmb.png"
diff --git a/backends/platform/gph/devices/common/scummvm.png b/backends/platform/gph/devices/common/scummvm.png
new file mode 100644
index 0000000000..128e59efc4
--- /dev/null
+++ b/backends/platform/gph/devices/common/scummvm.png
Binary files differ
diff --git a/backends/platform/gph/devices/common/scummvmb.png b/backends/platform/gph/devices/common/scummvmb.png
new file mode 100644
index 0000000000..24a27bc0e1
--- /dev/null
+++ b/backends/platform/gph/devices/common/scummvmb.png
Binary files differ
diff --git a/backends/platform/gph/devices/gp2xwiz/scummvm-gdb.gpe b/backends/platform/gph/devices/gp2xwiz/scummvm-gdb.gpe
new file mode 100644
index 0000000000..63ce193ca8
--- /dev/null
+++ b/backends/platform/gph/devices/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/backends/platform/gph/devices/gp2xwiz/scummvm.gpe b/backends/platform/gph/devices/gp2xwiz/scummvm.gpe
new file mode 100644
index 0000000000..59ff562aeb
--- /dev/null
+++ b/backends/platform/gph/devices/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