Skip to content

Commit

Permalink
Merge pull request #215 from Fraxinus88/superraftboatclassic
Browse files Browse the repository at this point in the history
New Port Super Raft Boat Classic
  • Loading branch information
Cebion authored Mar 23, 2024
2 parents dbc36f5 + ad8355c commit d7cb9f2
Show file tree
Hide file tree
Showing 15 changed files with 2,171 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ports/superraftboatclassic/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Notes

Special thanks to [Shattered Games Journal](https://shatteredjournalgames.com/) for making this super rafting adventure!

Source: https://shatteredjournalgames.com/games/super-raft-boat-classic/

## Controls

| Button | Action |
|--|--|
|D-pad/L-stick|Movement|
|R-stick|Aim|
|L shoulder|Build|
|R shoulder|Fire|
|A/B|Confirm/Back|
|Start|Pause|
|L2/R2 + Dpad|Continue from Unlock Screen|


59 changes: 59 additions & 0 deletions ports/superraftboatclassic/Super Raft Boat Classic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#!/bin/bash
# PORTMASTER: test.zip, Test.sh

if [ -d "/opt/system/Tools/PortMaster/" ]; then
controlfolder="/opt/system/Tools/PortMaster"
elif [ -d "/opt/tools/PortMaster/" ]; then
controlfolder="/opt/tools/PortMaster"
else
controlfolder="/roms/ports/PortMaster"
fi

source $controlfolder/control.txt
source $controlfolder/device_info.txt
get_controls
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

$ESUDO chmod 666 /dev/tty0

GAMEDIR="/$directory/ports/superraftboatclassic"

export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs:$GAMEDIR/utils/libs"
export GMLOADER_DEPTH_DISABLE=1
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/"
export SDL_GAMECONTROLLERCONFIG_FILE="$GAMEDIR/gamecontrollerdb_modified.txt"

# We log the execution of the script into log.txt
exec > >(tee "$GAMEDIR/log.txt") 2>&1

cd $GAMEDIR

if [ -f "${controlfolder}/libgl_${CFWNAME}.txt" ]; then
source "${controlfolder}/libgl_${CFW_NAME}.txt"
else
source "${controlfolder}/libgl_default.txt"
fi

# Check for SuperRaftBoat.exe and delete if it exists
if [ -f "$GAMEDIR/gamedata/SuperRaftBoat.exe" ]; then
rm "$GAMEDIR/gamedata/SuperRaftBoat.exe"
echo "Deleted SuperRaftBoat.exe from gamedata folder."
fi

# Check for file existence before trying to manipulate them:
[ -f "./gamedata/data.win" ] && mv gamedata/data.win gamedata/game.droid
[ -f "./gamedata/game.win" ] && mv gamedata/game.win gamedata/game.droid
[ -f "./gamedata/game.unx" ] && mv gamedata/game.unx gamedata/game.droid

# Make sure uinput is accessible so we can make use of the gptokeyb controls
$ESUDO chmod 666 /dev/uinput

$GPTOKEYB "gmloader" -c ./superraftboatclassic.gptk &

$ESUDO chmod +x "$GAMEDIR/gmloader"

./gmloader superraftboatclassic.apk

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0
Binary file added ports/superraftboatclassic/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions ports/superraftboatclassic/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./Super Raft Boat Classic.sh</path>
<name>Super Raft Boat Classic</name>
<image>./superraftboatclassic/cover.png</image>
</game>
</gameList>
28 changes: 28 additions & 0 deletions ports/superraftboatclassic/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 2,
"name": "superraftboatclassic.zip",
"items": [
"Super Raft Boat Classic.sh",
"superraftboatclassic"
],
"items_opt": [],
"attr": {
"title": "Super Raft Boat Classic",
"porter": [
"Fraxinus88"
],
"desc": "The world's been flooded, and all you have is your Super Raft Boat. You keep sailing, hoping to find an island while fighting off the creatures of the sea. From the Clear Skies to the Sea of the Damned, can you reach The Final Island?",
"inst": "Claim the game from https://store.steampowered.com/app/1541250/Super_Raft_Boat_Classic/\n\nRun steam console via Windows+R: Type: steam://open/console, download the linux version by typing: download_depot 1541250 1541251 4671292693324189046 in the console, when the download is complete, it will tell you the location of the folder, copy all files from the download folder to /ports/superraftboatclassic/gamedata\n\nNote: Requires Twin Sticks. Also, when you have unlocked an item, hold L2/R2 and use the D-pad to move the mouse. Let go over Continue and you will be able to get past the unlock screen",
"genres": [
"action"
],
"image": null,
"rtr": false,
"exp": false,
"runtime": null,
"reqs": [],
"arch": [
"armhf"
]
}
}
Binary file added ports/superraftboatclassic/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,034 changes: 2,034 additions & 0 deletions ports/superraftboatclassic/superraftboatclassic/gamecontrollerdb_modified.txt

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
back = \"
start = \"

up = mouse_movement_up
down = mouse_movement_down
left = mouse_movement_left
right = mouse_movement_right

left_analog_up = \"
left_analog_down = \"
left_analog_left = \"
left_analog_right = \"

a = \"
b = \"
x = \"
y = \"

r1 = mouse_left
r2 = \"

l1 = mouse_left
l2 = \"

0 comments on commit d7cb9f2

Please sign in to comment.