Skip to content

Commit

Permalink
Merge pull request #812 from MadShmupper/SATAN-LOVES-CAKE
Browse files Browse the repository at this point in the history
Add New Port SATAN LOVES CAKE
  • Loading branch information
Cebion authored Oct 21, 2024
2 parents aa7106e + d58c63e commit 5308112
Show file tree
Hide file tree
Showing 17 changed files with 105 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ports/satlovecake/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Notes

Huge thanks to [Baku](https://Baku.itch.io/satan-loves-cake) for creating this fun game, and thanks to all who tested this port!

## Controls

| Button | Action |
|--|--|
|dpad|move|
|left analog|move|
|B|jump|
|A |weapon|


43 changes: 43 additions & 0 deletions ports/satlovecake/SATAN LOVES CAKE.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash

XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}

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

source $controlfolder/control.txt
export PORT_32BIT="Y"
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
get_controls

GAMEDIR=/$directory/ports/satlovecake

> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1

export LD_LIBRARY_PATH="$GAMEDIR/lib:/usr/lib32:$LD_LIBRARY_PATH"

cd "$GAMEDIR"

# Rename data.win to game.droid if it exists in the main folder
if [ -e "$GAMEDIR/data.win" ]; then
mv "$GAMEDIR/data.win" "$GAMEDIR/game.droid" || exit 1
echo "Renamed data.win to game.droid."
elif [ ! -e "$GAMEDIR/data.win" ] || [ ! -e "$GAMEDIR/game.droid" ];
echo "No data.win or game.droid file found in the main folder."
fi

$ESUDO chmod +x "$GAMEDIR/gmloadernext"

# Start game with game.droid file in $GAMEDIR
$GPTOKEYB "gmloadernext" &
pm_platform_helper "$GAMEDIR/gmloadernext"
./gmloadernext

pm_finish
Binary file added ports/satlovecake/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions ports/satlovecake/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./SATAN LOVES CAKE.sh</path>
<name>SATAN LOVES CAKE</name>
<desc>SATAN LOVES CAKE.

Like, a lot. But one day, while watching the telly, he realises that he has run out of cake. Join SATAN in a delicious quest through (a bit of) Hell, while eating as much CAKE as possible!

SATAN wields a trident that shoots electric beams, that are able to tramsform his enemies into cake. Meet a host of enemies and bosses - and eat them all!</desc>
<releasedate>20190813T000000</releasedate>
<developer>Baku</developer>
<publisher>Baku</publisher>
<genre>action/platformer</genre>
<image>./satlovecake/cover.png</image>
</game>
</gameList>
31 changes: 31 additions & 0 deletions ports/satlovecake/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 3,
"name": "satlovecake.zip",
"items": [
"SATAN LOVES CAKE.sh",
"satlovecake"
],
"items_opt": [],
"attr": {
"title": "SATAN LOVES CAKE",
"porter": [
"MadShmupper"
],
"desc": "SATAN wields a trident that shoots electric beams, that are able to tramsform his enemies into cake. Meet a host of enemies and bosses - and eat them all!",
"desc_md": null,
"inst": "Download from itch.io https://Baku.itch.io/satan-loves-cake and place data.win into the satlovecake folder. ",
"inst_md": "Download from [itch.io](https://Baku.itch.io/satan-loves-cake) and place data.win into the satlovecake folder. ",
"genres": [
"adventure",
"platformer"
],
"image": null,
"rtr": false,
"exp": false,
"runtime": null,
"reqs": [],
"arch": [
"armhf"
]
}
}
Binary file added ports/satlovecake/satlovecake/game.apk
Binary file not shown.
Binary file added ports/satlovecake/satlovecake/gmloadernext
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ports/satlovecake/satlovecake/lib/libzip.so.5
Binary file not shown.
Binary file added ports/satlovecake/satlovecake/libc++_shared.so
Binary file not shown.
Binary file added ports/satlovecake/screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5308112

Please sign in to comment.