-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from Cebion/climb
New Port: Climb
- Loading branch information
Showing
11 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/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 | ||
[ -f "/etc/os-release" ] && source "/etc/os-release" | ||
|
||
get_controls | ||
|
||
$ESUDO chmod 666 /dev/tty0 | ||
|
||
|
||
if [ "$OS_NAME" == "JELOS" ]; then | ||
export SPA_PLUGIN_DIR="/usr/lib32/spa-0.2" | ||
export PIPEWIRE_MODULE_DIR="/usr/lib32/pipewire-0.3/" | ||
fi | ||
|
||
GAMEDIR=/$directory/ports/climb | ||
exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs:$GAMEDIR/utils/libs" | ||
export GMLOADER_DEPTH_DISABLE=1 | ||
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/" | ||
|
||
cd $GAMEDIR | ||
|
||
# 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 | ||
|
||
$ESUDO chmod 666 /dev/uinput | ||
|
||
$GPTOKEYB "gmloader" -c ./climb.gptk & | ||
|
||
$ESUDO chmod +x "$GAMEDIR/gmloader" | ||
|
||
./gmloader climb.apk | ||
|
||
$ESUDO kill -9 $(pidof gptokeyb) | ||
$ESUDO systemctl restart oga_events & | ||
printf "\033c" > /dev/tty0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Notes | ||
Thanks to Junch for creating this game! | ||
https://junchmakes.itch.io/climb | ||
|
||
## Controls | ||
|
||
|Button| Action | | ||
|--|--| | ||
| start| enter | | ||
| d-pad/l-stick| movement | | ||
| r-stick| aim| | ||
| a/b| jump | | ||
| r1/r2| shoot | |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
back = esc | ||
start = enter | ||
a = space | ||
b = space | ||
x = \ | ||
y = \ | ||
r1 = mouse_left | ||
r2 = mouse_left | ||
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 = mouse_movement_up | ||
right_analog_down = mouse_movement_down | ||
right_analog_left = mouse_movement_left | ||
right_analog_right = mouse_movement_right | ||
deadzone_triggers = 3000 | ||
mouse_scale = 3000 | ||
mouse_delay = 2 |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": 2, | ||
"name": "climb.zip", | ||
"items": [ | ||
"Climb.sh", | ||
"climb" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "Climb", | ||
"porter": [ | ||
"mattyj513" | ||
], | ||
"desc": "Climb is a bullet-ridden 2D platformer in which you play a knight fighting and climbing out of a prison tower with the help of a magical sword that shoots bullets! Includes 5 levels of increasing difficulty! Various enemy types! Traps! A unique mechanic where you shoot at the floor to jump higher! Single life challenge!", | ||
"inst": "Download game from https://junchmakes.itch.io/climb, copy data.win to /ports/climb/gamedata", | ||
"genres": [ | ||
"action" | ||
], | ||
"image": null, | ||
"rtr": false, | ||
"runtime": null, | ||
"reqs": [] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.