Skip to content

Commit

Permalink
New Port
Browse files Browse the repository at this point in the history
Title: Tower Babe
Website: https://keyslam.itch.io/tower-babe

CFW Tests:
[x] AmberELEC
[x] ArkOS
[x] MuOS
[x] ROCKNIX
-> [x] Panfrost
-> [x] Libmali
-> [] Adreno (Optional)
[] Knulli (Optional)

Resolutions:
[x] 480x320 (Optional)
[x] 640x480
[] 720x720 (RGB30) (Optional)
[x] Higher resolutions (e.g., 128
  • Loading branch information
Ganimoth committed Nov 9, 2024
1 parent 6d97659 commit e2a2ba9
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ports/towerbabe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Notes

Thanks to Keyslam and poltergasm for creating this game and kindly releasing it under MIT licence. Check the game's page at https://keyslam.itch.io/tower-babe

## Controls

| Button | Action |
|--|--|
|DPAD/LSTICK|Movement|
|A|Charge jump|
|B/R1|Reset charge|
|Select|Reset level|
|Start|Start|


47 changes: 47 additions & 0 deletions ports/towerbabe/Tower Babe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/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

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

get_controls

GAMEDIR=/$directory/ports/towerbabe
CONFDIR="$GAMEDIR/conf/"

mkdir -p "$GAMEDIR/conf"
cd $GAMEDIR

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

# Set the XDG environment variables for config & savefiles
export XDG_DATA_HOME="$CONFDIR"

# If XDG Path does not work
# Use bind_directories to reroute that to a location within the ports folder.
bind_directories ~/.portfolder $GAMEDIR/conf/.portfolder

export LD_LIBRARY_PATH="$GAMEDIR/libs.${DEVICE_ARCH}:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

# Source love2d runtime
source $controlfolder/runtimes/"love_11.5"/love.txt

# Run the love runtime
$GPTOKEYB "$LOVE_GPTK" -c "towerbabe.gptk" &
pm_platform_helper "$LOVE_BINARY"
$LOVE_RUN "$GAMEDIR/Tower-Babe.love"

pm_finish
13 changes: 13 additions & 0 deletions ports/towerbabe/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./Tower Babe.sh</path>
<name>Tower Babe</name>
<desc>The evil wizard, Doodldorf, has taken your hot girlfriend and trapped her at the top of his tower. Run and jump to the top to save her!</desc>
<releasedate>20241030T000000</releasedate>
<developer>Keyslam, poltergasm</developer>
<publisher>Keyslam, poltergasm</publisher>
<genre>Platformer</genre>
<image>./towerbabe/screenshot.png</image>
</game>
</gameList>
28 changes: 28 additions & 0 deletions ports/towerbabe/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 3,
"name": "towerbabe.zip",
"items": [
"Tower Babe.sh",
"towerbabe"
],
"items_opt": [],
"attr": {
"title": "Tower Babe",
"porter": [
"Ganimoth"
],
"desc": "The evil wizard, Doodldorf, has taken your hot girlfriend and trapped her at the top of his tower. Run and jump to the top to save her! Developed by Keyslam and poltergasm for the 1-BIT JAM #4.",
"desc_md": null,
"inst": "Ready to run!",
"inst_md": null,
"genres": [
"platformer"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": null,
"reqs": [],
"arch": []
}
}
Binary file added ports/towerbabe/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions ports/towerbabe/towerbabe/LICENSE.TOWERBABE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Justin van der Leij (Keyslam)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file added ports/towerbabe/towerbabe/Tower-Babe.love
Binary file not shown.
24 changes: 24 additions & 0 deletions ports/towerbabe/towerbabe/towerbabe.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
back = r
start = enter

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

r1 = x
l1 = \"

up = up
down = down
left = left
right = right
left_analog_up = up
left_analog_down = down
left_analog_left = left
left_analog_right = right

right_analog_up = \"
right_analog_down = \"
right_analog_left = \"
right_analog_right = \"

0 comments on commit e2a2ba9

Please sign in to comment.