Skip to content

Commit

Permalink
New Port: The Starlit Escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraxinus88 committed Feb 7, 2024
1 parent f0114f4 commit b0fbb4c
Show file tree
Hide file tree
Showing 11 changed files with 114 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ports/thestarlitescape/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Notes

Thanks to xJackFox [https://xjackfox.itch.io/the-starlit-escape] for this game.

Source: https://xjackfox.itch.io/the-starlit-escape



## Controls

| Button | Action |
|--|--|
|D-pad/L-stick|Movement |
|A/Y |Jump|
|B/X|Shoot|
|L1/R1|Map|
|Start/Select |Menu|


## Compile

```shell
Download game (windows ver) from https://xjackfox.itch.io/the-starlit-escape, copy all files except the .exe to /ports/thestarlitescape/gamedata
```
43 changes: 43 additions & 0 deletions ports/thestarlitescape/The Starlit Escape.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash
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

get_controls

[ -f "/etc/os-release" ] && source "/etc/os-release"

GAMEDIR=/$directory/ports/thestarlitescape
exec > >(tee "$GAMEDIR/log.txt") 2>&1

if [ "$OS_NAME" == "JELOS" ]; then
export SPA_PLUGIN_DIR="/usr/lib32/spa-0.2"
export PIPEWIRE_MODULE_DIR="/usr/lib32/pipewire-0.3/"
fi

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

cd $GAMEDIR

[ -f "./gamedata/data.win" ] && mv gamedata/data.win gamedata/game.droid
[ -f "./gamedata/game.win" ] && mv gamedata/game.win gamedata/game.droid

$ESUDO chmod 666 /dev/uinput

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

$ESUDO chmod +x "$GAMEDIR/gmloader"

./gmloader thestarlitescape.apk

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0
25 changes: 25 additions & 0 deletions ports/thestarlitescape/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"name": "thestarlitescape",
"items": [
"The Starlit Escape.sh",
"thestarlitescape"
],
"items_opt": [],
"attr": {
"title": "The Starlit Escape",
"porter": [
"Fraxinus88"
],
"desc": "The Starlit Escape! A Game Boy style Metroidvania about exploring a haunted space station and meeting ghosts along the way! Made in the month of October for Halloween",
"inst": "Download game (windows ver) from https://xjackfox.itch.io/the-starlit-escape, copy all filles except the .exe to /ports/thestarlitescape/gamedata",
"genres": [
"adventure"
],
"image": null,
"rtr": false,
"exp": false,
"runtime": null,
"reqs": []
}
}
Binary file added ports/thestarlitescape/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ports/thestarlitescape/thestarlitescape/gmloader
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions ports/thestarlitescape/thestarlitescape/thestarlitescape.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
back = esc
start = enter

up = up
down = down
left = left
right = right

l1 = m
l2 = \"
r1 = m
r2 = \"

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

a = x
b = z
x = z
y = x

0 comments on commit b0fbb4c

Please sign in to comment.