Skip to content

Commit

Permalink
New port: Hop Owl
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganimoth committed Jan 15, 2025
1 parent 4345a8a commit 229d74b
Show file tree
Hide file tree
Showing 21 changed files with 882 additions and 0 deletions.
38 changes: 38 additions & 0 deletions ports/hopowl/Hop Owl.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/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

# Variables
GAMEDIR="/$directory/ports/hopowl"
GMLOADER_JSON="$GAMEDIR/gmloader.json"

# CD and set permissions
cd $GAMEDIR
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
$ESUDO chmod +x $GAMEDIR/gmloadernext.${DEVICE_ARCH}

# Exports
export LD_LIBRARY_PATH="/usr/lib:$GAMEDIR/lib:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

# Assign configs and load the game
$GPTOKEYB "gmloadernext.aarch64" -c "hopowl.gptk" &
pm_platform_helper "$GAMEDIR/gmloadernext.aarch64"
./gmloadernext.aarch64 -c "$GMLOADER_JSON"

# Cleanup
pm_finish
13 changes: 13 additions & 0 deletions ports/hopowl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Notes

Huge thanks to Kultisti for developing this game and allowing us to host it. Check the game at [itch.io](https://kultisti.itch.io/hop-owl)

## Controls

| Button | Action |
|--|--|
|DPAD / Left stick|Movement|
|A/B/X/Y|Jump|
|Select/Start|Back to level selection|


13 changes: 13 additions & 0 deletions ports/hopowl/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>./Hop Owl.sh</path>
<name>Hop Owl</name>
<desc>Hop Owl is a precision platformer featuring a little cute owl. Hop around obstacles while collecting ancient dust!</desc>
<releasedate>20220914T000000</releasedate>
<developer>Kultisti</developer>
<publisher>Kultisti</publisher>
<genre>Platformer</genre>
<image>./hopowl/screenshot.png</image>
</game>
</gameList>
7 changes: 7 additions & 0 deletions ports/hopowl/hopowl/gmloader.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"save_dir" : "save",
"apk_path" : "hopowl.port",
"show_cursor" : false,
"disable_controller" : false,
"force_platform" : "os_windows"
}
Binary file added ports/hopowl/hopowl/gmloadernext.aarch64
Binary file not shown.
22 changes: 22 additions & 0 deletions ports/hopowl/hopowl/hopowl.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
back = esc
start = esc

a = space
b = space
x = space
y = space

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 = \"
Binary file added ports/hopowl/hopowl/hopowl.port
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ports/hopowl/hopowl/lib/arm64-v8a/libm.so
Binary file not shown.
Binary file added ports/hopowl/hopowl/lib/libcrypto.so.1.1
Binary file not shown.
Binary file added ports/hopowl/hopowl/lib/libopenal.so.1
Binary file not shown.
Binary file added ports/hopowl/hopowl/lib/libzip.so.5
Binary file not shown.
Loading

0 comments on commit 229d74b

Please sign in to comment.