-
-
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 #170 from Fraxinus88/Post-Void
New Port Post Void
- Loading branch information
Showing
12 changed files
with
139 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,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 |
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,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| | ||
|
||
|
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,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" | ||
] | ||
} | ||
} |
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.
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,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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.