-
-
Notifications
You must be signed in to change notification settings - Fork 106
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 #512 from JanTrueno/Curse-of-the-Arrow
New Port: Curse of the Arrow
- Loading branch information
Showing
95 changed files
with
13,076 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,41 @@ | ||
#!/bin/bash | ||
|
||
XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share} | ||
|
||
if [ -d "/opt/system/Tools/PortMaster/" ]; then | ||
controlfolder="/opt/system/Tools/PortMaster" | ||
elif [ -d "/opt/tools/PortMaster/" ]; then | ||
controlfolder="/opt/tools/PortMaster" | ||
elif [ -d "$XDG_DATA_HOME/PortMaster/" ]; then | ||
controlfolder="$XDG_DATA_HOME/PortMaster" | ||
else | ||
controlfolder="/roms/ports/PortMaster" | ||
fi | ||
|
||
source $controlfolder/control.txt | ||
source $controlfolder/device_info.txt | ||
|
||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
|
||
get_controls | ||
|
||
GAMEDIR=/$directory/ports/curseofthearrow | ||
CONFDIR="$GAMEDIR/conf/" | ||
|
||
mkdir -p "$GAMEDIR/conf" | ||
cd $GAMEDIR | ||
|
||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
# Set the XDG environment variables for config & savefiles | ||
export XDG_DATA_HOME="$CONFDIR" | ||
export LD_LIBRARY_PATH="$GAMEDIR/libs:$LD_LIBRARY_PATH" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
$GPTOKEYB "love" & | ||
./love gamedata | ||
|
||
$ESUDO kill -9 $(pidof gptokeyb) | ||
$ESUDO systemctl restart oga_events & | ||
printf "\033c" > /dev/tty0 | ||
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,14 @@ | ||
## Notes | ||
|
||
Huge thanks to [Egor Dorichev ](https://egordorichev.itch.io/) for creating this amazing game. On top of that he even made it open-source! Check out the original sourcecode [here](https://github.com/egordorichev/CurseOfTheArrow). If you like the game, I highly suggest supporting the dev by buying the incredible [OST](https://egordorichev.itch.io/curse-of-the-arrow) for example. | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|D-pad|Move| | ||
|A|Jump| | ||
|B |Action| | ||
|Start|Menu| | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.