-
-
Notifications
You must be signed in to change notification settings - Fork 105
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 #89 from Fraxinus88/Love
New Port LOVE
- Loading branch information
Showing
11 changed files
with
106 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,46 @@ | ||
#!/bin/bash | ||
# PORTMASTER: love.zip, LOVE.sh | ||
|
||
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/love" | ||
|
||
export LD_LIBRARY_PATH="/usr/lib32:$GAMEDIR/libs:$GAMEDIR/utils/libs" | ||
export GMLOADER_DEPTH_DISABLE=1 | ||
export GMLOADER_SAVEDIR="$GAMEDIR/gamedata/" | ||
|
||
# We log the execution of the script into log.txt | ||
exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
cd $GAMEDIR | ||
|
||
# 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 ./love.gptk & | ||
|
||
$ESUDO chmod +x "$GAMEDIR/gmloader" | ||
|
||
./gmloader love.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,18 @@ | ||
## Notes | ||
|
||
Special thanks to Fred Wood [https://thatsmytrunks.itch.io/love] for making this game | ||
|
||
Source: https://thatsmytrunks.itch.io/love | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|D-pad/L-stick|Movement| | ||
|A|Jump| | ||
|B/X|Set checkpoint| | ||
|Y|Respawn| | ||
|Select|Reset| | ||
|Start|Pause/Menu| | ||
|
||
|
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,17 @@ | ||
back = \" | ||
start = \" | ||
|
||
up = up | ||
down = down | ||
left = left | ||
right = right | ||
|
||
left_analog_up = up | ||
left_analog_down = down | ||
left_analog_left = left | ||
left_analog_right = right | ||
|
||
a = \" | ||
b = \" | ||
x = \" | ||
y = \" |
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,25 @@ | ||
{ | ||
"version": 2, | ||
"name": "love.zip", | ||
"items": [ | ||
"LOVE", | ||
"love" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "LOVE by Fred Wood", | ||
"porter": [ | ||
"Fraxinus88" | ||
], | ||
"desc": "LOVE is a short and addictively challenging platformer with a minimalist design. It has a custom respawn system, 16 levels, 12 track original soundtrack, competitive scoring, and multiple ways to play.\nThe difficult levels are balanced with the inclusion of a simple yet unique respawn system wherein the player can leave a checkpoint at any location at any point, as long as they are on solid ground.\nBeyond the visual aesthetic, the challenging level design, and the abundance of features, there is the fantastic soundtrack composed by James Bennett, which brings rich life to the seemingly simple three-color atmosphere.", | ||
"inst": "Purchase and download LOVE (3.0.1, Linux) or (3.0.1, Windows) from https://thatsmytrunks.itch.io/love.\nCopy the files (game.unx/data.win, icon.png, love_love.csv, options.ini) from /assets into the /gamedata folder", | ||
"genres": [ | ||
"platformer" | ||
], | ||
"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.