-
-
Notifications
You must be signed in to change notification settings - Fork 110
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 #720 from Ganimoth/Box-Space-Station
New Port: BOX: Space Station
- Loading branch information
Showing
16 changed files
with
121 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,45 @@ | ||
#!/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 | ||
source $controlfolder/device_info.txt | ||
|
||
get_controls | ||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
|
||
$ESUDO chmod 666 /dev/tty0 | ||
|
||
GAMEDIR="/$directory/ports/boxspace" | ||
|
||
export LD_LIBRARY_PATH="/usr/lib:$GAMEDIR/libs:$LD_LIBRARY_PATH" | ||
|
||
cd $GAMEDIR | ||
|
||
# We log the execution of the script into log.txt | ||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
# Rename data.win | ||
[ -f "./data.win" ] && mv data.win game.droid | ||
|
||
$ESUDO chmod 666 /dev/uinput | ||
|
||
$GPTOKEYB "gmloadernext" & | ||
|
||
$ESUDO chmod +x "$GAMEDIR/gmloadernext" | ||
|
||
./gmloadernext game.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,15 @@ | ||
## Notes | ||
|
||
BOX: Space Station is a challenging puzzle game where your objective is to escape, but the more than one hundred levels will make your objective more difficult. Developed and published by plaYnice! | ||
|
||
https://store.steampowered.com/app/1613150/BOX_Space_Station/ | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|DPAD/Stick|Movement| | ||
|A|Confirm / Reset (ingame)| | ||
|Start|Menu| | ||
|
||
|
Binary file not shown.
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,17 @@ | ||
# What are those? | ||
|
||
Those are native Android libraries meant to be loaded into the guest environment, | ||
and the come from a [prebuilt AOSP image provided by google](https://ci.android.com/builds/branches/aosp-main/grid). | ||
|
||
# What are these files for then? | ||
|
||
They provide a similar-to-android implementation to all of the supported libraries, | ||
allowing us to make less guesswork, and provide more accurate renditions of a lot | ||
of those functionalities, specially for libc++ where a lot of guesswork was done | ||
in the past. | ||
|
||
OpenAL, OpenGL and libc.so are provided from the host (via thunking where needed) or | ||
via reimplementations. | ||
|
||
You still need a suitable GameMaker Android title/runner. You can source those from | ||
either [freeware Android APKs](https://itch.io) or finding a [suitable runner](https://gamemaker.io/account/runtimes) for hacking. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./BOX Space Station.sh</path> | ||
<name>BOX: Space Station</name> | ||
<desc>BOX: Space Station is a challenging puzzle game where your objective is to escape, but the more than one hundred levels will make your objective more difficult. | ||
</desc> | ||
<releasedate>20210521T000000</releasedate> | ||
<developer>plaYnice!</developer> | ||
<publisher>plaYnice!</publisher> | ||
<genre>Puzzle</genre> | ||
<image>./boxspace/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": "boxspace.zip", | ||
"items": [ | ||
"BOX Space Station.sh", | ||
"boxspace" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "BOX: Space Station", | ||
"porter": [ | ||
"Ganimoth" | ||
], | ||
"desc": "BOX: Space Station is a challenging puzzle game where your objective is to escape, but the more than one hundred levels will make your objective more difficult. Developed and published by plaYnice!", | ||
"desc_md": null, | ||
"inst": "Purchase the game on Steam https://store.steampowered.com/app/1613150/BOX_Space_Station/ and copy data.win, audiogroup1.dat and _223235__dambient__8_bit_loop.ogg into the port folder.", | ||
"inst_md": null, | ||
"genres": [ | ||
"puzzle" | ||
], | ||
"image": null, | ||
"rtr": false, | ||
"exp": false, | ||
"runtime": null, | ||
"reqs": [], | ||
"arch": [ | ||
"aarch64" | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.