diff --git a/ports/assaultshell/ASSAULT SHELL.sh b/ports/assaultshell/ASSAULT SHELL.sh index 75cebaa224..4d18ceed58 100644 --- a/ports/assaultshell/ASSAULT SHELL.sh +++ b/ports/assaultshell/ASSAULT SHELL.sh @@ -33,7 +33,7 @@ $GPTOKEYB "gmloader" & echo "Loading, please wait... " > /dev/tty0 $ESUDO chmod +x "$GAMEDIR/gmloader" -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader assaultshell.apk pm_finish diff --git a/ports/axecop/Axe Cop.sh b/ports/axecop/Axe Cop.sh index 7e3ff8aff4..1f94092764 100644 --- a/ports/axecop/Axe Cop.sh +++ b/ports/axecop/Axe Cop.sh @@ -46,7 +46,7 @@ else fi $GPTOKEYB "ohrrpgce-game" -c ./axecop.gptk & -pm_platform_helper $GAMEDIR/ohrrpgce-game +pm_platform_helper "$GAMEDIR/ohrrpgce-game" "./ohrrpgce-game" $DATAFILE -f pm_finish diff --git a/ports/beemisthecurseofgod/Beemis - The Curse of God.sh b/ports/beemisthecurseofgod/Beemis - The Curse of God.sh index e3d70a9723..85e2135c0a 100644 --- a/ports/beemisthecurseofgod/Beemis - The Curse of God.sh +++ b/ports/beemisthecurseofgod/Beemis - The Curse of God.sh @@ -38,7 +38,7 @@ cd $GAMEDIR $GPTOKEYB "gmloader" -c ./beemisthecurseofgod.gptk & $ESUDO chmod +x "$GAMEDIR/gmloader" -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish diff --git a/ports/biomassgrowth/BIOMASS Growth.sh b/ports/biomassgrowth/BIOMASS Growth.sh index 6d3283245e..0436c3f9cc 100644 --- a/ports/biomassgrowth/BIOMASS Growth.sh +++ b/ports/biomassgrowth/BIOMASS Growth.sh @@ -61,7 +61,7 @@ fi $ESUDO chmod +x "$GAMEDIR/gmloader" $GPTOKEYB "gmloader" & -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish diff --git a/ports/bloboats/Bloboats.sh b/ports/bloboats/Bloboats.sh index 877a810f1b..5131affd0a 100644 --- a/ports/bloboats/Bloboats.sh +++ b/ports/bloboats/Bloboats.sh @@ -40,7 +40,7 @@ else fi $GPTOKEYB "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY -f --resolution=${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} pm_finish \ No newline at end of file diff --git a/ports/brittleblade/Brittle Blade.sh b/ports/brittleblade/Brittle Blade.sh index 76713431d0..43b83f0508 100644 --- a/ports/brittleblade/Brittle Blade.sh +++ b/ports/brittleblade/Brittle Blade.sh @@ -55,7 +55,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "brittleblade.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack "gamedata/Brittle Blade.pck" diff --git a/ports/chromavescence/Chromavescence.sh b/ports/chromavescence/Chromavescence.sh index 2b3b1623f6..2df3834acc 100644 --- a/ports/chromavescence/Chromavescence.sh +++ b/ports/chromavescence/Chromavescence.sh @@ -55,7 +55,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "chromavescence.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack "gamedata/Chromavescence.pck" diff --git a/ports/cmdungeon/CMDungeon.sh b/ports/cmdungeon/CMDungeon.sh index 251bc8ec09..55144a3174 100644 --- a/ports/cmdungeon/CMDungeon.sh +++ b/ports/cmdungeon/CMDungeon.sh @@ -65,7 +65,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "cmdungeon.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack "gamedata/CMDungeon v0.2.0.pck" diff --git a/ports/deathchase3d/Deathchase 3D.sh b/ports/deathchase3d/Deathchase 3D.sh index 931769f1c2..d4574c6988 100644 --- a/ports/deathchase3d/Deathchase 3D.sh +++ b/ports/deathchase3d/Deathchase 3D.sh @@ -33,7 +33,7 @@ export XDG_DATA_HOME="$CONFDIR" cd $GAMEDIR $GPTOKEYB "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY -pm_finish \ No newline at end of file +pm_finish diff --git a/ports/derelict/Derelict.sh b/ports/derelict/Derelict.sh index d450d27d4d..fa3d44b748 100644 --- a/ports/derelict/Derelict.sh +++ b/ports/derelict/Derelict.sh @@ -60,7 +60,7 @@ fi $ESUDO chmod +x "$GAMEDIR/gmloader" $GPTOKEYB "gmloader" -c "derelict.gptk" & -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish \ No newline at end of file diff --git a/ports/doomrpg/Doom RPG.sh b/ports/doomrpg/Doom RPG.sh index ed48dffbe2..067b1e642b 100644 --- a/ports/doomrpg/Doom RPG.sh +++ b/ports/doomrpg/Doom RPG.sh @@ -40,7 +40,7 @@ fi cd $GAMEDIR $GPTOKEYB "$BINARY" & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY -pm_finish \ No newline at end of file +pm_finish diff --git a/ports/entwined/Entwined Time.sh b/ports/entwined/Entwined Time.sh index 741a8e8904..d983b4bdae 100644 --- a/ports/entwined/Entwined Time.sh +++ b/ports/entwined/Entwined Time.sh @@ -55,7 +55,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "entwined.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack "gamedata/Entwined Time.pck" diff --git a/ports/fistbump/Fist Bump.sh b/ports/fistbump/Fist Bump.sh index b72db53dd5..722c7cfddd 100644 --- a/ports/fistbump/Fist Bump.sh +++ b/ports/fistbump/Fist Bump.sh @@ -55,7 +55,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "fistbump.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack "gamedata/FistBump.pck" diff --git a/ports/franken/Franken.sh b/ports/franken/Franken.sh index 3ca0ccd76c..3b4e649eaf 100644 --- a/ports/franken/Franken.sh +++ b/ports/franken/Franken.sh @@ -35,7 +35,7 @@ export XDG_DATA_HOME="$CONFDIR" cd $GAMEDIR $GPTOKEYB "ohrrpgce-game" -c ./franken.gptk & -pm_platform_helper $GAMEDIR/ohrrpgce-game +pm_platform_helper "$GAMEDIR/ohrrpgce-game" "./ohrrpgce-game" $DATAFILE -f pm_finish diff --git a/ports/librespot/Spotify Connect.sh b/ports/librespot/Spotify Connect.sh index 4d104a91f5..23951362d4 100644 --- a/ports/librespot/Spotify Connect.sh +++ b/ports/librespot/Spotify Connect.sh @@ -46,7 +46,7 @@ cd $GAMEDIR # Run LOVE and Spotify $GPTOKEYB "love" & -pm_platform_helper $GAMEDIR/love +pm_platform_helper "$GAMEDIR/love" ./love librespotui # Cleanup LOVE diff --git a/ports/lividmeadow/Livid Meadow.sh b/ports/lividmeadow/Livid Meadow.sh index db61887c11..658558c25c 100644 --- a/ports/lividmeadow/Livid Meadow.sh +++ b/ports/lividmeadow/Livid Meadow.sh @@ -39,7 +39,7 @@ cd $GAMEDIR $GPTOKEYB "gmloader" -c ./lividmeadow.gptk & $ESUDO chmod +x "$GAMEDIR/gmloader" -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish diff --git a/ports/mago/Mago.sh b/ports/mago/Mago.sh index ecff514757..c67e4b7a7d 100644 --- a/ports/mago/Mago.sh +++ b/ports/mago/Mago.sh @@ -49,7 +49,7 @@ $ESUDO ./tools/splash "splash.png" 5000 & # GPTK Setup and run gmloader $GPTOKEYB "gmloadernext" & -pm_platform_helper $GAMEDIR/gmloadernext +pm_platform_helper "$GAMEDIR/gmloadernext" ./gmloadernext game.apk # Cleanup diff --git a/ports/nuvie/Ultima VI (Nuvie Engine).sh b/ports/nuvie/Ultima VI (Nuvie Engine).sh index fb4876dac5..c7d8fcf2ed 100644 --- a/ports/nuvie/Ultima VI (Nuvie Engine).sh +++ b/ports/nuvie/Ultima VI (Nuvie Engine).sh @@ -36,7 +36,7 @@ bind_directories $GAMEDIR/conf/.nuvie ~/.nuvie cd $GAMEDIR $GPTOKEYB "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY pm_finish \ No newline at end of file diff --git a/ports/pachi/Pachi el Marciano.sh b/ports/pachi/Pachi el Marciano.sh index 19b87b2084..81c39340a1 100644 --- a/ports/pachi/Pachi el Marciano.sh +++ b/ports/pachi/Pachi el Marciano.sh @@ -33,7 +33,7 @@ export XDG_DATA_HOME="$CONFDIR" cd $GAMEDIR $GPTOKEYB2 "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY pm_finish diff --git a/ports/quake.2/Quake 2 - Capture The Flag.sh b/ports/quake.2/Quake 2 - Capture The Flag.sh index f9990253df..6175e05e3a 100644 --- a/ports/quake.2/Quake 2 - Capture The Flag.sh +++ b/ports/quake.2/Quake 2 - Capture The Flag.sh @@ -81,7 +81,7 @@ fi bind_directories $GAMEDIR/conf/.yq2 ~/.yq2 $GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" & -pm_platform_helper $GAMEDIR/quake2 +pm_platform_helper "$GAMEDIR/quake2" ./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game ctf pm_finish diff --git a/ports/quake.2/Quake 2 - Ground Zero.sh b/ports/quake.2/Quake 2 - Ground Zero.sh index 39419d2479..526f7877f6 100644 --- a/ports/quake.2/Quake 2 - Ground Zero.sh +++ b/ports/quake.2/Quake 2 - Ground Zero.sh @@ -86,7 +86,7 @@ if [[ ! -f "$GAMEDIR/rogue/pak0.pak" ]]; then fi $GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" & -pm_platform_helper $GAMEDIR/quake2 +pm_platform_helper "$GAMEDIR/quake2" ./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game rogue pm_finish diff --git a/ports/quake.2/Quake 2 - The Reckoning.sh b/ports/quake.2/Quake 2 - The Reckoning.sh index 18f301b24f..7420665daf 100644 --- a/ports/quake.2/Quake 2 - The Reckoning.sh +++ b/ports/quake.2/Quake 2 - The Reckoning.sh @@ -86,7 +86,7 @@ if [[ ! -f "$GAMEDIR/xatrix/pak0.pak" ]]; then fi $GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" & -pm_platform_helper $GAMEDIR/quake2 +pm_platform_helper "$GAMEDIR/quake2" ./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game xatrix pm_finish diff --git a/ports/quake.2/Quake 2.sh b/ports/quake.2/Quake 2.sh index 370f756217..00dea36e9f 100644 --- a/ports/quake.2/Quake 2.sh +++ b/ports/quake.2/Quake 2.sh @@ -81,7 +81,7 @@ fi bind_directories $GAMEDIR/conf/.yq2 ~/.yq2 $GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" & -pm_platform_helper $GAMEDIR/quake2 +pm_platform_helper "$GAMEDIR/quake2" ./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE pm_finish diff --git a/ports/rockdodger/Rockdodger.sh b/ports/rockdodger/Rockdodger.sh index 45aa3ca600..dee07bf469 100644 --- a/ports/rockdodger/Rockdodger.sh +++ b/ports/rockdodger/Rockdodger.sh @@ -38,7 +38,7 @@ ln -sfv $GAMEDIR/conf/.rockdodger_high ~/ cd $GAMEDIR $GPTOKEYB2 "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY -k -f pm_finish \ No newline at end of file diff --git a/ports/sdlbomber/SDL Bomber.sh b/ports/sdlbomber/SDL Bomber.sh index cf6d7bbc12..d832e89793 100644 --- a/ports/sdlbomber/SDL Bomber.sh +++ b/ports/sdlbomber/SDL Bomber.sh @@ -33,7 +33,7 @@ export XDG_DATA_HOME="$CONFDIR" cd $GAMEDIR $GPTOKEYB2 "$BINARY" -c ./$BINARY.gptk & -pm_platform_helper $GAMEDIR/$BINARY +pm_platform_helper "$GAMEDIR/$BINARY" ./$BINARY -pm_finish \ No newline at end of file +pm_finish diff --git a/ports/tailspin/Tailspin!.sh b/ports/tailspin/Tailspin!.sh index c457f47523..68c593a0b6 100644 --- a/ports/tailspin/Tailspin!.sh +++ b/ports/tailspin/Tailspin!.sh @@ -38,7 +38,7 @@ $ESUDO chmod 777 "$GAMEDIR/gmloadernext" $ESUDO ./tools/splash "splash.png" 10000 & $GPTOKEYB "gmloadernext" -c ./controls.gptk & -pm_platform_helper $GAMEDIR/gmloadernext +pm_platform_helper "$GAMEDIR/gmloadernext" $ESUDO chmod +x "$GAMEDIR/gmloadernext" ./gmloadernext diff --git a/ports/techmaniac/Techmaniac.sh b/ports/techmaniac/Techmaniac.sh index 52ba1bf852..b441451656 100644 --- a/ports/techmaniac/Techmaniac.sh +++ b/ports/techmaniac/Techmaniac.sh @@ -56,7 +56,7 @@ PATH="$godot_dir:$PATH" export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS $GPTOKEYB "$runtime" -c "techmaniac.gptk" & -pm_platform_helper $runtime +pm_platform_helper "$runtime" "$runtime" $GODOT_OPTS --main-pack $GODOT_OPTS --main-pack "gamedata/Techmaniac.pck" diff --git a/ports/tempuslocus/Tempus Locus.sh b/ports/tempuslocus/Tempus Locus.sh index 34f20c5816..2588922df4 100644 --- a/ports/tempuslocus/Tempus Locus.sh +++ b/ports/tempuslocus/Tempus Locus.sh @@ -40,7 +40,7 @@ cd $GAMEDIR $GPTOKEYB "gmloader" -c ./tempuslocus.gptk & $ESUDO chmod +x "$GAMEDIR/gmloader" -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish diff --git a/ports/towardsthepantheones/Towards the Pantheon - Escaping Eternity.sh b/ports/towardsthepantheones/Towards the Pantheon - Escaping Eternity.sh index 82be17e78d..62bf3be101 100644 --- a/ports/towardsthepantheones/Towards the Pantheon - Escaping Eternity.sh +++ b/ports/towardsthepantheones/Towards the Pantheon - Escaping Eternity.sh @@ -40,7 +40,7 @@ cd $GAMEDIR $GPTOKEYB "gmloader" -c ./towardsthepantheones.gptk & $ESUDO chmod +x "$GAMEDIR/gmloader" -pm_platform_helper $GAMEDIR/gmloader +pm_platform_helper "$GAMEDIR/gmloader" ./gmloader game.apk pm_finish diff --git a/ports/vitasnake/vitaSnake.sh b/ports/vitasnake/vitaSnake.sh index b7bbf95447..67ee6d47ae 100644 --- a/ports/vitasnake/vitaSnake.sh +++ b/ports/vitasnake/vitaSnake.sh @@ -39,7 +39,7 @@ $ESUDO chmod 777 "$GAMEDIR/gmloadernext" $ESUDO ./tools/splash "splash.png" 10000 & $GPTOKEYB "gmloadernext" -c ./controls.gptk & -pm_platform_helper $GAMEDIR/gmloadernext +pm_platform_helper "$GAMEDIR/gmloadernext" $ESUDO chmod +x "$GAMEDIR/gmloadernext" ./gmloadernext