-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 #28 from Cebion/oquonie
New Port: Oquonie
- Loading branch information
Showing
8 changed files
with
112 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,29 @@ | ||
#!/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 | ||
|
||
GAMEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/oquonie" | ||
|
||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
cd $GAMEDIR | ||
$GPTOKEYB "uxnemu" -c "$GAMEDIR/oquonie.gptk" & | ||
./uxnemu oquonie.rom | ||
|
||
$ESUDO kill -9 $(pidof gptokeyb) | ||
$ESUDO systemctl restart oga_events & | ||
unset SDL_GAMECONTROLLERCONFIG | ||
printf "\033c" > /dev/tty1 | ||
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,23 @@ | ||
## Notes | ||
|
||
Thanks to Rek & Devine for creating this wonderful game | ||
https://hundredrabbits.itch.io/ | ||
|
||
Also special thanks for bhart for the intial start of the port and Cebion and Tabreturn for the finishing touches. | ||
|
||
In this uxnemu version the sdl_init(joystick) has been disabled and mapped via gptokeyb. | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
| Dpad | Move | | ||
|
||
## Compiling UXN | ||
|
||
```bash | ||
git clone https://git.sr.ht/~rabbits/uxn | ||
cd src | ||
edit uxnemu.c to if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0) | ||
cd .. | ||
./build.sh |
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,12 @@ | ||
up = up | ||
down = down | ||
left = left | ||
right = right | ||
space = enter | ||
a = enter | ||
r3 = \" | ||
left_analog_up = up | ||
left_analog_down = down | ||
left_analog_left = left | ||
left_analog_right = right | ||
|
Empty file.
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) Devine Lu Linvega | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,27 @@ | ||
{ | ||
"version": 2, | ||
"name": "oquonie.zip", | ||
"items": [ | ||
"Oquonie.sh", | ||
"oquonie" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "Oquonie", | ||
"porter": [ | ||
"bhart", | ||
"Cebion", | ||
"tabreturn" | ||
], | ||
"desc": "Oquonie is a textless isometric puzzle game.\n\nYou must make your way through a seemingly endless succession of rooms. You will not be alone. Your incarnations will have the help of bizaroid characters that speak an obscure language.", | ||
"inst": "Place oquonie.rom from https://hundredrabbits.itch.io/oquonie into the oquonie folder.", | ||
"genres": [ | ||
"puzzle" | ||
], | ||
"image": null, | ||
"rtr": false, | ||
"exp": false, | ||
"runtime": null, | ||
"reqs": [] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.