From a18bb2e73d2580722fe418db7c307f9bc307e091 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 12 Apr 2011 12:11:37 +0100 Subject: GPH: Move GP2XWIZ build support files into devices folder. * Also add a common folder with the shared bits. --- backends/platform/gph/devices/common/README-GPH | 60 +++++++++++++++++++++ backends/platform/gph/devices/common/scummvm.ini | 5 ++ backends/platform/gph/devices/common/scummvm.png | Bin 0 -> 2656 bytes backends/platform/gph/devices/common/scummvmb.png | Bin 0 -> 34274 bytes .../platform/gph/devices/gp2xwiz/scummvm-gdb.gpe | 16 ++++++ backends/platform/gph/devices/gp2xwiz/scummvm.gpe | 15 ++++++ 6 files changed, 96 insertions(+) create mode 100644 backends/platform/gph/devices/common/README-GPH create mode 100644 backends/platform/gph/devices/common/scummvm.ini create mode 100644 backends/platform/gph/devices/common/scummvm.png create mode 100644 backends/platform/gph/devices/common/scummvmb.png create mode 100644 backends/platform/gph/devices/gp2xwiz/scummvm-gdb.gpe create mode 100644 backends/platform/gph/devices/gp2xwiz/scummvm.gpe (limited to 'backends/platform/gph/devices') 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: + +WiKi: (Select your device) + + + + + +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 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 Binary files /dev/null and b/backends/platform/gph/devices/common/scummvm.png 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 Binary files /dev/null and b/backends/platform/gph/devices/common/scummvmb.png 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 -- cgit v1.2.3