-
-
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 #129 from Cebion/fightorperish
New Port: Fight or Perish
- Loading branch information
Showing
76 changed files
with
781 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,35 @@ | ||
#!/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=/$directory/ports/fightorperish | ||
CONFDIR="$GAMEDIR/conf/" | ||
|
||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
cd $GAMEDIR | ||
|
||
mkdir -p "$GAMEDIR/conf" | ||
|
||
export XDG_DATA_HOME="$CONFDIR" | ||
|
||
export LD_LIBRARY_PATH="$GAMEDIR/libs:$LD_LIBRARY_PATH" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
#export TEXTINPUTINTERACTIVE="Y" | ||
|
||
$GPTOKEYB "fightorperish" -c "./fightorperish.gptk" & | ||
./fightorperish | ||
$ESUDO kill -9 $(pidof gptokeyb) | ||
$ESUDO systemctl restart oga_events & | ||
printf "\033c" > /dev/tty1 |
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 [Dennis Payne](https://gitlab.com/dulsi/fop) for creating Fight or Perish and making it available for free! | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|Left Analogue| Move| | ||
|Dpad| Move| | ||
|A| Shoot| | ||
|
||
|
||
## Compile | ||
|
||
```shell | ||
git clone https://gitlab.com/dulsi/fop.git | ||
cd fop | ||
mkdir build && cd build | ||
cmake .. | ||
make | ||
``` |
58 changes: 58 additions & 0 deletions
58
ports/fightorperish/fightorperish/conf/fightorperish/config
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,58 @@ | ||
FULLSCREEN = 1 | ||
JOYDEADZONE = 5000 | ||
P1_DOWN = KEY_1073741905 | ||
P1_DOWN = JOY_BTN12 | ||
P1_UP = KEY_1073741906 | ||
P1_UP = JOY_BTN11 | ||
P1_LEFT = KEY_1073741904 | ||
P1_LEFT = JOY_BTN13 | ||
P1_RIGHT = KEY_1073741903 | ||
P1_RIGHT = JOY_BTN14 | ||
P1_FIRE = KEY_1073742052 | ||
P1_FIRE = JOY_BTN0 | ||
P1_BOMB = KEY_47 | ||
P1_BOMB = JOY_BTN1 | ||
P1_START = KEY_49 | ||
P1_START = JOY_BTN6 | ||
P2_DOWN = KEY_115 | ||
P2_DOWN = JOY_BTN12 | ||
P2_UP = KEY_119 | ||
P2_UP = JOY_BTN11 | ||
P2_LEFT = KEY_97 | ||
P2_LEFT = JOY_BTN13 | ||
P2_RIGHT = KEY_100 | ||
P2_RIGHT = JOY_BTN14 | ||
P2_FIRE = KEY_113 | ||
P2_FIRE = JOY_BTN0 | ||
P2_BOMB = KEY_101 | ||
P2_BOMB = JOY_BTN1 | ||
P2_START = KEY_50 | ||
P2_START = JOY_BTN6 | ||
P3_DOWN = KEY_1073741914 | ||
P3_DOWN = JOY_BTN12 | ||
P3_UP = KEY_1073741920 | ||
P3_UP = JOY_BTN11 | ||
P3_LEFT = KEY_1073741916 | ||
P3_LEFT = JOY_BTN13 | ||
P3_RIGHT = KEY_1073741918 | ||
P3_RIGHT = JOY_BTN14 | ||
P3_FIRE = KEY_1073741922 | ||
P3_FIRE = JOY_BTN0 | ||
P3_BOMB = KEY_1073741911 | ||
P3_BOMB = JOY_BTN1 | ||
P3_START = KEY_51 | ||
P3_START = JOY_BTN6 | ||
P4_DOWN = KEY_103 | ||
P4_DOWN = JOY_BTN12 | ||
P4_UP = KEY_116 | ||
P4_UP = JOY_BTN11 | ||
P4_LEFT = KEY_102 | ||
P4_LEFT = JOY_BTN13 | ||
P4_RIGHT = KEY_104 | ||
P4_RIGHT = JOY_BTN14 | ||
P4_FIRE = KEY_114 | ||
P4_FIRE = JOY_BTN0 | ||
P4_BOMB = KEY_121 | ||
P4_BOMB = JOY_BTN1 | ||
P4_START = KEY_52 | ||
P4_START = JOY_BTN6 |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+11.1 KB
ports/fightorperish/fightorperish/data/images/instructions/instruct1.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
BIN
+12 KB
ports/fightorperish/fightorperish/data/images/instructions/instruct2.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
BIN
+16.3 KB
ports/fightorperish/fightorperish/data/images/instructions/instruct3.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
BIN
+14.7 KB
ports/fightorperish/fightorperish/data/images/instructions/instruct4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
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,61 @@ | ||
3 | ||
1 | ||
40 | ||
23 | ||
######################################## | ||
######################################## | ||
######################################## | ||
######################################## | ||
# k = = %# | ||
# 56 = A = # | ||
# 78 = A # # | ||
# = # # | ||
# = # # | ||
# = # # | ||
# $ = k# # | ||
###########################====######### | ||
#$kb # # # | ||
#$ # # # | ||
# # # # # | ||
# # # | ||
# # 1# | ||
#===#################################### | ||
# # # # | ||
#1 1 # # % # | ||
# 1 # # | ||
# # 1 $$# | ||
######################################## | ||
33 | ||
3 0 0 120 | ||
3 0 0 30 | ||
1 11 9 0 | ||
5 12 9 1 | ||
1 11 10 0 | ||
1 11 5 0 | ||
5 12 4 2 | ||
1 11 4 0 | ||
1 17 4 0 | ||
1 19 5 0 | ||
2 20 5 20 | ||
1 22 5 0 | ||
1 32 10 0 | ||
5 31 13 3 | ||
1 28 16 0 | ||
2 29 16 20 | ||
2 28 15 20 | ||
2 29 15 20 | ||
1 17 16 0 | ||
1 15 12 0 | ||
1 10 16 0 | ||
1 4 12 0 | ||
5 3 13 4 | ||
1 1 12 0 | ||
1 1 15 0 | ||
4 0 0 0 | ||
1 13 20 0 | ||
1 16 18 0 | ||
1 19 21 0 | ||
2 20 20 20 | ||
2 20 21 50 | ||
1 27 21 0 | ||
1 35 19 0 |
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,19 @@ | ||
0 | ||
0 | ||
20 | ||
15 | ||
#################### | ||
# # | ||
# # | ||
#5 6 # | ||
# 7 8 k # | ||
##==################ | ||
# # #$B # | ||
# # #$B # | ||
# # ### #### # | ||
# A # %# # # | ||
# A ###### # #### | ||
# A # # | ||
# A #### # | ||
# # | ||
#################### |
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,24 @@ | ||
0 | ||
0 | ||
20 | ||
20 | ||
#################### | ||
# B # | ||
# # | ||
# ############ # | ||
# # # # | ||
# # # # | ||
# A# ###### # # | ||
# # #ffff# # # | ||
# # # 5 # # # | ||
# # # 6 # # A# | ||
# # # 7 # # # | ||
# # # 8 # # # | ||
# # # # # | ||
# ######### # # | ||
# # # | ||
# # # | ||
############### # | ||
# $A$A$A$A$A$ # | ||
# $$A$A$A$A$$ % # | ||
#################### |
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,34 @@ | ||
0 | ||
0 | ||
40 | ||
30 | ||
######################################## | ||
#56 # 11 # 1$# | ||
#78 # # # | ||
# # # # | ||
# # # # | ||
# # | ||
# # # 2# | ||
##### # # ##### | ||
#$ # # $# | ||
# # # # | ||
# # # # | ||
# ####### ###### # | ||
# # | ||
# # | ||
#2 C C 2# | ||
#$ $# | ||
#f C C f# | ||
# # | ||
# ####### ###### # | ||
# # # # | ||
# # # # | ||
#$ # # $# | ||
##### # # ##### | ||
#1 # # 3 # | ||
# # | ||
# # #3 # | ||
# # # # | ||
# # # # | ||
#% 1# 11 # k# | ||
######################################## |
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,34 @@ | ||
3 | ||
0 | ||
40 | ||
30 | ||
######################################## | ||
#56 k# | ||
#78 # # | ||
# # # 2 # | ||
# 1 # # | ||
# # # | ||
# # # # | ||
# # # 1 # | ||
# # | ||
# # $# # | ||
# # # # | ||
# 1 # # | ||
# $$ # # | ||
# # # ### # | ||
# 1 #3 # # | ||
# # # # ### | ||
# $# # | ||
# # # # | ||
# # 1 # # | ||
# # # 2 $# | ||
# # $# | ||
#$ # 1 # | ||
#$ # # # | ||
# 1 # | ||
# # # ######## | ||
# # 2 # # | ||
# # # # ##==# | ||
# 2 # = # # | ||
#k $#$ = # %# | ||
######################################## |
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,34 @@ | ||
3 | ||
0 | ||
40 | ||
30 | ||
######################################## | ||
#$$ = DD # 2ff# | ||
#b$ = # k# | ||
# 2 = # $# | ||
# = ## # | ||
# # #M # # | ||
# # # ####### # | ||
# ########M# # # # | ||
# # # # # | ||
# # # # # | ||
# ###====### ######## | ||
######### # # # # | ||
# 1 # 56 # # # | ||
# # 78 # # # # | ||
# #k # # 2# # # | ||
# ############====### # # # | ||
# # # # # # | ||
#1 # # # # # | ||
######### # # # # # | ||
# M# #M # #1%# | ||
# # DD # # #### | ||
# # ## # # | ||
# # # # # # | ||
# # # # # | ||
#1 # # 22 # ####===# | ||
#1 # #$ $# # # | ||
#M # # kk # # M # | ||
# # #$$ # | ||
# # #$$b # | ||
######################################## |
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,34 @@ | ||
3 | ||
0 | ||
40 | ||
30 | ||
######################################## | ||
#k C # k# | ||
# # # # # # | ||
# # # # 2 # | ||
# # #1 1# # | ||
# ######## # # # | ||
# # # # | ||
# # # # | ||
# # # 2# | ||
########## # # ########## | ||
# # # # # 3# | ||
# # 1 1 # = $# | ||
# 56 # # = $# | ||
##### # # = ##### | ||
# 78 # BB BB # = %# | ||
# # # = # | ||
# # # # # # | ||
########## # # ########## | ||
# # # # | ||
# # ## # # | ||
# #2 N## #2 # | ||
# ######## ## ######## # | ||
# #? $$ ?# ## #? $$ k# # | ||
# # # ## # # # | ||
# # # ## #3 # # | ||
# #======= ## =======# # | ||
# = ## = # | ||
# = ## = # | ||
#1 = 1M ## 22 = $$$ M# | ||
######################################## |
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,34 @@ | ||
3 | ||
0 | ||
40 | ||
30 | ||
######################################## | ||
# 2 k# | ||
# 1 #===# # | ||
# 1 # # # | ||
# 1 1 1# # # | ||
# ######## # # 2# | ||
# ################ # # | ||
# %# $# # # | ||
# #k f# #ff # | ||
################### ####### ##### # | ||
# #? b # ! # # | ||
# # ! # # # | ||
# 6 5 #==============# # 3# | ||
# # ##### | ||
# # # | ||
# 8 7 #==============##### # | ||
# # ! # 1 # | ||
# #? b # # | ||
# ############### ####### # | ||
# 2#k $# # | ||
# # $#2 # | ||
# ############################## # | ||
# #? ff ?# #? $$ k# # | ||
# # # # # # | ||
# #M # #3 # # | ||
# # ## # # | ||
# ## # | ||
# ## # | ||
#1 22 ## 22 $$$ M# | ||
######################################## |
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.
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.
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.