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/build/README-GPH | 60 --------------------- backends/platform/gph/build/build.sh | 19 ------- backends/platform/gph/build/bundle-debug.sh | 9 ---- backends/platform/gph/build/bundle.sh | 9 ---- backends/platform/gph/build/clean.sh | 2 +- backends/platform/gph/build/config-alleng.sh | 27 ---------- backends/platform/gph/build/config.sh | 27 ---------- backends/platform/gph/build/gp2xwiz-build.sh | 19 +++++++ .../platform/gph/build/gp2xwiz-bundle-debug.sh | 9 ++++ backends/platform/gph/build/gp2xwiz-bundle.sh | 9 ++++ .../platform/gph/build/gp2xwiz-config-alleng.sh | 27 ++++++++++ backends/platform/gph/build/gp2xwiz-config.sh | 27 ++++++++++ backends/platform/gph/build/scummvm-gdb.gpe | 16 ------ backends/platform/gph/build/scummvm.gpe | 15 ------ backends/platform/gph/build/scummvm.ini | 5 -- backends/platform/gph/build/scummvm.png | Bin 2656 -> 0 bytes backends/platform/gph/build/scummvmb.png | Bin 34274 -> 0 bytes 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 ++++++ backends/platform/gph/gp2xwiz-bundle.mk | 20 +++---- 24 files changed, 198 insertions(+), 198 deletions(-) delete mode 100644 backends/platform/gph/build/README-GPH delete mode 100755 backends/platform/gph/build/build.sh delete mode 100755 backends/platform/gph/build/bundle-debug.sh delete mode 100755 backends/platform/gph/build/bundle.sh delete mode 100755 backends/platform/gph/build/config-alleng.sh delete mode 100755 backends/platform/gph/build/config.sh create mode 100644 backends/platform/gph/build/gp2xwiz-build.sh create mode 100644 backends/platform/gph/build/gp2xwiz-bundle-debug.sh create mode 100644 backends/platform/gph/build/gp2xwiz-bundle.sh create mode 100644 backends/platform/gph/build/gp2xwiz-config-alleng.sh create mode 100644 backends/platform/gph/build/gp2xwiz-config.sh delete mode 100755 backends/platform/gph/build/scummvm-gdb.gpe delete mode 100755 backends/platform/gph/build/scummvm.gpe delete mode 100644 backends/platform/gph/build/scummvm.ini delete mode 100644 backends/platform/gph/build/scummvm.png delete mode 100644 backends/platform/gph/build/scummvmb.png 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') diff --git a/backends/platform/gph/build/README-GPH b/backends/platform/gph/build/README-GPH deleted file mode 100644 index 64b9fcb76b..0000000000 --- a/backends/platform/gph/build/README-GPH +++ /dev/null @@ -1,60 +0,0 @@ -ScummVM - GPH 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 and 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/build/build.sh b/backends/platform/gph/build/build.sh deleted file mode 100755 index 876c3e378a..0000000000 --- a/backends/platform/gph/build/build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -echo Quick script to make building all the time less painful. - -# Set the paths up here to support the build. - -export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH -export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH -export CXX=arm-open2x-linux-g++ -export CC=arm-open2x-linux-gcc -export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" -export ASFLAGS=-mfloat-abi=soft - -cd ../../../.. - -echo Building ScummVM for GP2X Wiz. -make - -echo Build for GP2X Wiz - complete - Please check build logs. diff --git a/backends/platform/gph/build/bundle-debug.sh b/backends/platform/gph/build/bundle-debug.sh deleted file mode 100755 index cd5145b31d..0000000000 --- a/backends/platform/gph/build/bundle-debug.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -echo Quick script to make building a distribution of the GP2X Wiz backend more consistent. - -cd ../../../.. - -echo Building ScummVM for GP2X Wiz. - -make gp2xwiz-bundle-debug diff --git a/backends/platform/gph/build/bundle.sh b/backends/platform/gph/build/bundle.sh deleted file mode 100755 index 579e2dc77b..0000000000 --- a/backends/platform/gph/build/bundle.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -echo Quick script to make building a distribution of the GP2X Wiz backend more consistent. - -cd ../../../.. - -echo Building ScummVM for GP2X Wiz. - -make gp2xwiz-bundle diff --git a/backends/platform/gph/build/clean.sh b/backends/platform/gph/build/clean.sh index 5ec1b9e62c..6d58b7a975 100755 --- a/backends/platform/gph/build/clean.sh +++ b/backends/platform/gph/build/clean.sh @@ -4,5 +4,5 @@ echo Quick script to make building all the time less painful. cd ../../../.. -echo Cleaning ScummVM for the GP2X Wiz. +echo Cleaning ScummVM for the GPH devices. make clean diff --git a/backends/platform/gph/build/config-alleng.sh b/backends/platform/gph/build/config-alleng.sh deleted file mode 100755 index 9ec8a09cd2..0000000000 --- a/backends/platform/gph/build/config-alleng.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -echo Quick script to make running configure all the time less painful -echo and let all the build work be done from the backend/build folder. - -# Set the paths up here to generate the config. - -PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH -PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH - -# Export the tool names for cross-compiling -export CXX=arm-open2x-linux-g++ -export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" -export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include -export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib - -# Edit the configure line to suit. -cd ../../../.. -./configure --backend=gph --disable-mt32emu --host=gp2xwiz --disable-flac --disable-nasm --disable-hq-scalers \ - --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --with-mpeg2-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-png --with-png-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-vkeybd --enable-all-engines --enable-plugins --default-dynamic - -echo Generating config for GP2X Wiz complete. Check for errors. diff --git a/backends/platform/gph/build/config.sh b/backends/platform/gph/build/config.sh deleted file mode 100755 index ac7c34ad12..0000000000 --- a/backends/platform/gph/build/config.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -echo Quick script to make running configure all the time less painful -echo and let all the build work be done from the backend/build folder. - -# Set the paths up here to generate the config. - -PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH -PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH - -# Export the tool names for cross-compiling -export CXX=arm-open2x-linux-g++ -export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" -export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include -export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib - -# Edit the configure line to suit. -cd ../../../.. -./configure --backend=gph --disable-mt32emu --host=gp2xwiz --disable-flac --disable-nasm --disable-hq-scalers \ - --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --with-mpeg2-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-png --with-png-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ - --enable-vkeybd --enable-plugins --default-dynamic - -echo Generating config for GP2X Wiz complete. Check for errors. diff --git a/backends/platform/gph/build/gp2xwiz-build.sh b/backends/platform/gph/build/gp2xwiz-build.sh new file mode 100644 index 0000000000..876c3e378a --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-build.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +echo Quick script to make building all the time less painful. + +# Set the paths up here to support the build. + +export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH +export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH +export CXX=arm-open2x-linux-g++ +export CC=arm-open2x-linux-gcc +export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" +export ASFLAGS=-mfloat-abi=soft + +cd ../../../.. + +echo Building ScummVM for GP2X Wiz. +make + +echo Build for GP2X Wiz - complete - Please check build logs. diff --git a/backends/platform/gph/build/gp2xwiz-bundle-debug.sh b/backends/platform/gph/build/gp2xwiz-bundle-debug.sh new file mode 100644 index 0000000000..cd5145b31d --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-bundle-debug.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo Quick script to make building a distribution of the GP2X Wiz backend more consistent. + +cd ../../../.. + +echo Building ScummVM for GP2X Wiz. + +make gp2xwiz-bundle-debug diff --git a/backends/platform/gph/build/gp2xwiz-bundle.sh b/backends/platform/gph/build/gp2xwiz-bundle.sh new file mode 100644 index 0000000000..579e2dc77b --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-bundle.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo Quick script to make building a distribution of the GP2X Wiz backend more consistent. + +cd ../../../.. + +echo Building ScummVM for GP2X Wiz. + +make gp2xwiz-bundle diff --git a/backends/platform/gph/build/gp2xwiz-config-alleng.sh b/backends/platform/gph/build/gp2xwiz-config-alleng.sh new file mode 100644 index 0000000000..9ec8a09cd2 --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-config-alleng.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +echo Quick script to make running configure all the time less painful +echo and let all the build work be done from the backend/build folder. + +# Set the paths up here to generate the config. + +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH + +# Export the tool names for cross-compiling +export CXX=arm-open2x-linux-g++ +export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" +export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include +export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib + +# Edit the configure line to suit. +cd ../../../.. +./configure --backend=gph --disable-mt32emu --host=gp2xwiz --disable-flac --disable-nasm --disable-hq-scalers \ + --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --with-mpeg2-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-png --with-png-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-vkeybd --enable-all-engines --enable-plugins --default-dynamic + +echo Generating config for GP2X Wiz complete. Check for errors. diff --git a/backends/platform/gph/build/gp2xwiz-config.sh b/backends/platform/gph/build/gp2xwiz-config.sh new file mode 100644 index 0000000000..ac7c34ad12 --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-config.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +echo Quick script to make running configure all the time less painful +echo and let all the build work be done from the backend/build folder. + +# Set the paths up here to generate the config. + +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH + +# Export the tool names for cross-compiling +export CXX=arm-open2x-linux-g++ +export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s" +export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include +export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib + +# Edit the configure line to suit. +cd ../../../.. +./configure --backend=gph --disable-mt32emu --host=gp2xwiz --disable-flac --disable-nasm --disable-hq-scalers \ + --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --with-mpeg2-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-png --with-png-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-vkeybd --enable-plugins --default-dynamic + +echo Generating config for GP2X Wiz complete. Check for errors. diff --git a/backends/platform/gph/build/scummvm-gdb.gpe b/backends/platform/gph/build/scummvm-gdb.gpe deleted file mode 100755 index 63ce193ca8..0000000000 --- a/backends/platform/gph/build/scummvm-gdb.gpe +++ /dev/null @@ -1,16 +0,0 @@ -#!/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/build/scummvm.gpe b/backends/platform/gph/build/scummvm.gpe deleted file mode 100755 index 59ff562aeb..0000000000 --- a/backends/platform/gph/build/scummvm.gpe +++ /dev/null @@ -1,15 +0,0 @@ -#!/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 diff --git a/backends/platform/gph/build/scummvm.ini b/backends/platform/gph/build/scummvm.ini deleted file mode 100644 index c9cce92379..0000000000 --- a/backends/platform/gph/build/scummvm.ini +++ /dev/null @@ -1,5 +0,0 @@ -[info] -name="ScummVM" -path="/scummvm/scummvm.gpe" -icon="/scummvm/scummvm.png" -title="/scummvm/scummvmb.png" diff --git a/backends/platform/gph/build/scummvm.png b/backends/platform/gph/build/scummvm.png deleted file mode 100644 index 128e59efc4..0000000000 Binary files a/backends/platform/gph/build/scummvm.png and /dev/null differ diff --git a/backends/platform/gph/build/scummvmb.png b/backends/platform/gph/build/scummvmb.png deleted file mode 100644 index 24a27bc0e1..0000000000 Binary files a/backends/platform/gph/build/scummvmb.png and /dev/null differ 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 diff --git a/backends/platform/gph/gp2xwiz-bundle.mk b/backends/platform/gph/gp2xwiz-bundle.mk index 630857f9da..65e2952fde 100755 --- a/backends/platform/gph/gp2xwiz-bundle.mk +++ b/backends/platform/gph/gp2xwiz-bundle.mk @@ -13,11 +13,11 @@ gp2xwiz-bundle: $(EXECUTABLE) echo "Please put your save games in this dir" >> "$(bundle_name)/scummvm/saves/PUT_SAVES_IN_THIS_DIR" - $(CP) $(srcdir)/backends/platform/gph/build/scummvm.gpe $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/scummvm.png $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/scummvmb.png $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/README-GPH $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/scummvm.ini $(bundle_name)/ + $(CP) $(srcdir)/backends/platform/gph/devices/gp2xwiz/scummvm.gpe $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvm.png $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvmb.png $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/README-GPH $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvm.ini $(bundle_name)/ $(INSTALL) -c -m 644 $(DIST_FILES_DOCS) $(bundle_name)/scummvm/ $(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(bundle_name)/scummvm/ @@ -47,11 +47,11 @@ gp2xwiz-bundle-debug: $(EXECUTABLE) echo "Please put your save games in this dir" >> "$(bundle_name)/scummvm/saves/PUT_SAVES_IN_THIS_DIR" - $(CP) $(srcdir)/backends/platform/gph/build/scummvm-gdb.gpe $(bundle_name)/scummvm/scummvm.gpe - $(CP) $(srcdir)/backends/platform/gph/build/scummvm.png $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/scummvmb.png $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/README-GPH $(bundle_name)/scummvm/ - $(CP) $(srcdir)/backends/platform/gph/build/scummvm.ini $(bundle_name)/ + $(CP) $(srcdir)/backends/platform/gph/devices/gp2xwiz/scummvm-gdb.gpe $(bundle_name)/scummvm/scummvm.gpe + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvm.png $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvmb.png $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/README-GPH $(bundle_name)/scummvm/ + $(CP) $(srcdir)/backends/platform/gph/devices/common/scummvm.ini $(bundle_name)/ $(INSTALL) -c -m 644 $(DIST_FILES_DOCS) $(bundle_name)/scummvm/ $(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(bundle_name)/scummvm/ -- cgit v1.2.3