Skip to content

Commit

Permalink
Merge pull request #110 from monkeyx-net/InertiaBlast
Browse files Browse the repository at this point in the history
New Port: Inertia Blast
  • Loading branch information
kloptops authored Feb 19, 2024
2 parents 6d27a4b + 4f1dc3e commit 3c78f20
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 0 deletions.
30 changes: 30 additions & 0 deletions ports/inertiablast/Inertia Blast.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/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

get_controls

GAMEDIR=/$directory/ports/inertiablast

exec > >(tee "$GAMEDIR/log.txt") 2>&1

export XDG_DATA_HOME="$GAMEDATA"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

cd $GAMEDIR

$ESUDO chmod 666 /dev/uinput

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

The rebellion captured several warships but lack the energy pod to power the ships. You are part of a risky expedition to steal the energy pods. Defense systems will attempt to stop you. The energy pods are often stored in tunnels making them hard to retrieve. The massive weight of the pod increases the difficultly in getting out.

Inertia Blast is a remake of an C64 game called Thrust.

Thanks to [Dulsi](http://identicalsoftware.com/inertiablast/) for releasing this game.

[Source Code](https://github.com/dulsi/thrust)


## Controls

| Button | Action |
|--|--|
|UP|Thrust|
|RIGHT|Right|
|LEFT|Left|
|B|Fire|
|A|Capture|


Binary file added ports/inertiablast/inertiablast/inertiablast
Binary file not shown.
27 changes: 27 additions & 0 deletions ports/inertiablast/inertiablast/inertiablast.gptk
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
back = esc
start = p

a = space
b = enter
x = n
y = y

l1 = p
l2 = c
r1 = i
r2 = q

up = rightctrl
down = space
left = a
right = s

left_analog_up = rightctrl
left_analog_down = space
left_analog_left = a
left_analog_right = s

right_analog_up = rightctrl
right_analog_down = space
right_analog_left = a
right_analog_right = s
25 changes: 25 additions & 0 deletions ports/inertiablast/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"name": "inertiablast.zip",
"items": [
"Inertia Blast.sh",
"inertiablast"
],
"items_opt": [],
"attr": {
"title": "Inertia Blast",
"porter": [
"monkeyx-net"
],
"desc": "The rebellion captured several warships but lack the energy pod to power the ships. You are part of a risky expedition to steal the energy pods. Defense systems will attempt to stop you. The energy pods are often stored in tunnels making them hard to retrieve. The massive weight of the pod increases the difficultly in getting out.",
"inst": "\nInertia Blast is a remake of an C64 game called Thrust.",
"genres": [
"arcade"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": null,
"reqs": []
}
}
Binary file added ports/inertiablast/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 3c78f20

Please sign in to comment.