Skip to content

Commit

Permalink
Merge pull request #170 from Fraxinus88/Post-Void
Browse files Browse the repository at this point in the history
New Port Post Void
  • Loading branch information
kloptops authored Mar 9, 2024
2 parents 5cc9c20 + e2bdcda commit 2a28441
Show file tree
Hide file tree
Showing 12 changed files with 139 additions and 0 deletions.
51 changes: 51 additions & 0 deletions ports/postvoid/Post Void.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/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
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/postvoid"

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

# We log the execution of the script into log.txt
exec > >(tee "$GAMEDIR/log.txt") 2>&1

cd $GAMEDIR

if [ -f "${controlfolder}/libgl_${CFWNAME}.txt" ]; then
source "${controlfolder}/libgl_${CFW_NAME}.txt"
else
source "${controlfolder}/libgl_default.txt"
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

# Make sure uinput is accessible so we can make use of the gptokeyb controls
$ESUDO chmod 666 /dev/uinput

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

$ESUDO chmod +x "$GAMEDIR/gmloader"

./gmloader postvoid.apk

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" > /dev/tty0
20 changes: 20 additions & 0 deletions ports/postvoid/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Notes

Special thanks to [YCJYgames](https://www.whycjwhy.com/) for making this awesome game!

Source: https://store.steampowered.com/app/1285670/Post_Void/

## Controls

| Button | Action |
|--|--|
|D-pad/L-stick|Movement|
|R-stick|Mouse/Aim|
|L1 /L2|Slide|
|R1/R2 |Shoot/Select|
|A/B|Jump|
|X/Y|Reload|
|Start|Pause/Menu|
|Select|End Run|


Binary file added ports/postvoid/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions ports/postvoid/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 2,
"name": "postvoid.zip",
"items": [
"Post Void.sh",
"postvoid"
],
"items_opt": [],
"attr": {
"title": "Post Void",
"porter": [
"Fraxinus88"
],
"desc": "Post Void is a hypnotic scramble of early first-person shooter design that values speed above all else. Keep your head full and reach the end; Kill what you can to see it mend; Get the high score or try again.",
"inst": "Purchase the game from: https://store.steampowered.com/app/1285670/Post_Void/\nRun steam console via Windows+R: Type: steam://open/console. \nDownload the 1.1.0 version by typing: download_depot 1285670 1285671 8969891914873217769 in the console, when the download is complete, it will tell you the location of the folder, copy data.win and options.ini from the download folder to /ports/postvoid00/gamedata",
"genres": [
"fps"
],
"image": null,
"rtr": false,
"exp": false,
"runtime": null,
"reqs": [
"!lowres",
"power"
],
"arch": [
"armhf"
]
}
}
Binary file added ports/postvoid/postvoid/gamedata/splash.png
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/postvoid/postvoid/gmloader
Binary file not shown.
Binary file added ports/postvoid/postvoid/libc++_shared.so
Binary file not shown.
Binary file added ports/postvoid/postvoid/libs/libcrypto.so.1.1
Binary file not shown.
Binary file added ports/postvoid/postvoid/libs/libzip.so.5
Binary file not shown.
Binary file added ports/postvoid/postvoid/postvoid.apk
Binary file not shown.
37 changes: 37 additions & 0 deletions ports/postvoid/postvoid/postvoid.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
back = k
start = esc

up = w
down = s
left = a
right = d

left_analog_up = w
left_analog_down = s
left_analog_left = a
left_analog_right = d


l1 = shift
l2 = shift

r1 = mouse_left
r2 = mouse_left

right_analog_up = mouse_movement_up
right_analog_down = mouse_movement_down
right_analog_left = mouse_movement_left
right_analog_right = mouse_movement_right

a = space
b = space
x = r
y = r

deadzone_triggers = 0

mouse_scale = 4096
mouse_delay = 16

deadzone_y = 2100
deadzone_x = 1900
Binary file added ports/postvoid/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2a28441

Please sign in to comment.