-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 #798 from tabreturn/super-skelemania
Super Skelemania
- Loading branch information
Showing
13 changed files
with
132 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,13 @@ | ||
## Notes | ||
|
||
Thanks to [Ben Allen](https://benal.itch.io) for creating this fantastic game, which you can purchase on [itch.io](https://benal.itch.io/super-skelemania) or [Steam](https://store.steampowered.com/app/730920/Super_Skelemania) | ||
|
||
|
||
## Controls | ||
|
||
| Button | Action | | ||
| ------ | -------- | | ||
| D-PAD | Movement | | ||
| A | Jump | | ||
| X | Attack | | ||
| Select | Menu | |
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,58 @@ | ||
#!/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/superskelemania" | ||
|
||
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs:$LD_LIBRARY_PATH" | ||
export GMLOADER_DEPTH_DISABLE=1 | ||
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/" | ||
export GMLOADER_PLATFORM="os_linux" | ||
|
||
# We log the execution of the script into log.txt | ||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
cd $GAMEDIR | ||
|
||
# Check if there are .ogg files in ./gamedata | ||
if [ -n "$(ls ./gamedata/*.ogg 2>/dev/null)" ]; then | ||
# Move all .ogg files from ./gamedata to ./assets | ||
mv ./gamedata/*.ogg ./assets/ | ||
echo "Moved .ogg files from ./gamedata to ./assets/" | ||
# Zip the contents of ./sm.apk including the new .ogg files | ||
zip -r -0 ./game.apk ./game.apk ./assets/ | ||
rm -f ./assets/*.ogg | ||
echo "Zipped contents to ./game.apk" | ||
# Delete uneeded files | ||
rm -f ./gamedata/*.exe | ||
rm -f ./gamedata/*.dll | ||
rm -f ./gamedata/*.ini | ||
fi | ||
|
||
# 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 | ||
[ -f "./gamedata/game.unx" ] && mv gamedata/game.unx gamedata/game.droid | ||
|
||
$GPTOKEYB "gmloader" -c ./superskelemania.gptk & | ||
|
||
$ESUDO chmod +x "$GAMEDIR/gmloader" | ||
pm_platform_helper "$GAMEDIR/gmloader" | ||
./gmloader game.apk | ||
|
||
pm_finish |
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,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./Super Skelemania.sh</path> | ||
<name>Super Skelemania</name> | ||
<desc>Dive into Super Skelemania, a single-sitting metroidvania about an acrobatic skeleton. Jump over a pit of thorns, roll your skull like a bowling ball, or headbutt a spider like any good skeleton would!</desc> | ||
<releasedate>20171117T000000</releasedate> | ||
<developer>Ben Allen</developer> | ||
<publisher>Self-Published</publisher> | ||
<genre>Action-Adventure-Platformer</genre> | ||
<image>./superskelemania/screenshot.png</image> | ||
</game> | ||
</gameList> | ||
|
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,30 @@ | ||
{ | ||
"version": 3, | ||
"name": "superskelemania.zip", | ||
"items": [ | ||
"Super Skelemania.sh", | ||
"superskelemania" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "Super Skelemania", | ||
"porter": [ | ||
"tabreturn" | ||
], | ||
"desc": "Dive into Super Skelemania, a single-sitting metroidvania about an acrobatic skeleton. Jump over a pit of thorns, roll your skull like a bowling ball, or headbutt a spider like any good skeleton would!", | ||
"desc_md": null, | ||
"inst": "Purchase the game on itch.io (https://benal.itch.io/super-skelemania) or Steam (https://store.steampowered.com/app/730920/Super_Skelemania). For itch.io, extract the .exe as if it were a 7-zip archive (which it is) and copy all the games files into the port *gamedata* folder; for Steam, there's no need to extract the game files, just copy them to the *gamedata* folder.", | ||
"inst_md": "Purchase the game on [itch.io](https://benal.itch.io/super-skelemania) or [Steam](https://store.steampowered.com/app/730920/Super_Skelemania). For itch.io, extract the .exe as if it were a 7-zip archive (which it is) and copy all the games files into the port *gamedata* folder; for Steam, there's no need to extract the game files, just copy them to the *gamedata* folder.", | ||
"genres": [ | ||
"platformer" | ||
], | ||
"image": null, | ||
"rtr": false, | ||
"exp": false, | ||
"runtime": null, | ||
"reqs": [], | ||
"arch": [ | ||
"armhf" | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
ports/superskelemania/superskelemania/superskelemania.gptk
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,17 @@ | ||
back = \" | ||
start = \" | ||
|
||
up = \" | ||
down = \" | ||
left = \" | ||
right = \" | ||
|
||
left_analog_up = \" | ||
left_analog_down = \" | ||
left_analog_left = \" | ||
left_analog_right = \" | ||
|
||
a = \" | ||
b = \" | ||
x = \" | ||
y = \" |