-
-
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 #1008 from tabreturn/pixel-descent
Pixel Descent
- Loading branch information
Showing
22 changed files
with
884 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,56 @@ | ||
#!/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/pixeldescent" | ||
|
||
# CD and set permissions | ||
cd $GAMEDIR | ||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
$ESUDO chmod +x $GAMEDIR/gmloadernext.aarch64 | ||
$ESUDO chmod +x $GAMEDIR/tools/splash | ||
|
||
# Exports | ||
export LD_LIBRARY_PATH="/usr/lib:$GAMEDIR/lib:$GAMEDIR/libs.aarch64:$LD_LIBRARY_PATH" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
# Pack audiogroups into apk | ||
if [ -n "$(ls ./gamedata/*.dat 2>/dev/null)" ]; then | ||
mkdir -p ./assets | ||
mv ./gamedata/*.dat ./assets/ 2>/dev/null | ||
pm_message "Moving .dat files from ./gamedata to ./assets/" | ||
zip -r -0 ./voidbreach.port ./assets/ | ||
pm_message "Zipping contents to ./voidbreach.port" | ||
rm -Rf ./assets/ | ||
pm_message "Packing audiogroups complete" | ||
fi | ||
|
||
# Prepare files | ||
[ -f "./gamedata/data.win" ] && mv gamedata/data.win gamedata/game.droid | ||
[ -f "./gamedata/*.exe" ] && rm -f ./gamedata/*.exe | ||
|
||
# Display loading splash | ||
$ESUDO ./tools/splash "splash.png" 2000 & | ||
|
||
# Assign configs and load the game | ||
$GPTOKEYB "gmloadernext.aarch64" -c "pixeldescent.gptk" & | ||
pm_platform_helper "$GAMEDIR/gmloadernext.aarch64" | ||
./gmloadernext.aarch64 -c gmloader.json | ||
|
||
# Cleanup | ||
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,21 @@ | ||
## Notes | ||
|
||
Thanks to [JC Bailey](https://jc-bailey.itch.io) for creating this great game, which you can purchase at [itch.io](https://jc-bailey.itch.io/pixel-descent) | ||
|
||
Port tested using version: `PixelDescent.zip (V1.22)` -- *Oct 10, 2024* | ||
|
||
**Note** that the game runs too slow on an RK3326 SoC. The framerate is also slower on H700/RK3566, but the game speed is close enough to play fine. | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
| ------------- | ----------- | | ||
| D-PAD/L-STICK | Movement | | ||
| R-STICK | Aim | | ||
| R2 | Attack | | ||
| L2 | Alt Attack | | ||
| A | Confirm | | ||
| B | Cancel | | ||
| X | Level up | | ||
| Y | Key markers | | ||
| START | Pause | |
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 @@ | ||
<?xml verson="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./Pixel Descent.sh</path> | ||
<name>Pixel Descent</name> | ||
<desc>Pixel Descent is an action rogue-lite in which you navigate a series of complex dungeons packed to the brim with monsters that want you dead. Sign the contract and descend into the deepest depths of the abyss knowing full well that you will definitely die there, it's just a matter of when.</desc> | ||
<releasedate>20230924T000000</releasedate> | ||
<developer>JC Bailey</developer> | ||
<publisher>Moonskull Games</publisher> | ||
<genre>Roguelike</genre> | ||
<image>./pixeldescent/screenshot.png</image> | ||
</game> | ||
</gameList> |
Empty file.
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,7 @@ | ||
{ | ||
"save_dir" : "gamedata", | ||
"apk_path" : "pixeldescent.port", | ||
"show_cursor" : false, | ||
"disable_controller" : false, | ||
"force_platform" : "os_windows" | ||
} |
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.
Oops, something went wrong.