-
-
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 #779 from Ganimoth/entwined-time
New Port: Entwined Time
- Loading branch information
Showing
9 changed files
with
183 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,63 @@ | ||
#!/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 | ||
|
||
|
||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
|
||
get_controls | ||
|
||
GAMEDIR=/$directory/ports/entwined/ | ||
CONFDIR="$GAMEDIR/conf/" | ||
|
||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
# Ensure the conf directory exists | ||
mkdir -p "$GAMEDIR/conf" | ||
|
||
# Set the XDG environment variables for config & savefiles | ||
export XDG_DATA_HOME="$CONFDIR" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
cd $GAMEDIR | ||
|
||
runtime="frt_3.5.2" | ||
if [ ! -f "$controlfolder/libs/${runtime}.squashfs" ]; then | ||
# Check for runtime if not downloaded via PM | ||
if [ ! -f "$controlfolder/harbourmaster" ]; then | ||
echo "This port requires the latest PortMaster to run, please go to https://portmaster.games/ for more info." > /dev/tty0 | ||
sleep 5 | ||
exit 1 | ||
fi | ||
|
||
$ESUDO $controlfolder/harbourmaster --quiet --no-check runtime_check "${runtime}.squashfs" | ||
fi | ||
|
||
# Setup Godot | ||
godot_dir="$HOME/godot" | ||
godot_file="$controlfolder/libs/${runtime}.squashfs" | ||
$ESUDO mkdir -p "$godot_dir" | ||
$ESUDO umount "$godot_file" || true | ||
$ESUDO mount "$godot_file" "$godot_dir" | ||
PATH="$godot_dir:$PATH" | ||
|
||
export FRT_NO_EXIT_SHORTCUTS=FRT_NO_EXIT_SHORTCUTS | ||
|
||
$GPTOKEYB "$runtime" -c "entwined.gptk" & | ||
pm_platform_helper $runtime | ||
"$runtime" $GODOT_OPTS --main-pack "gamedata/Entwined Time.pck" | ||
|
||
|
||
$ESUDO umount "$godot_dir" | ||
pm_finish |
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 @@ | ||
## Notes | ||
|
||
Thanks to Patashu for developing this game and kindly releasing it under MIT licence. Check his page at https://patashu.itch.io/entwined-time | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|DPAD / LSTICK|Movement| | ||
|A|Confirm/Swap| | ||
|B|Cancel/Rewind| | ||
|X|Undo| | ||
|Y|Redo| | ||
|Start |Menu| | ||
|Select|Restart| | ||
|
||
|
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 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Timothy Stiles | ||
|
||
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017-2023 Emanuele Fornara | ||
|
||
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,22 @@ | ||
back = r | ||
start = enter | ||
|
||
a = x | ||
b = z | ||
x = c | ||
y = y | ||
|
||
|
||
up = up | ||
down = down | ||
left = left | ||
right = right | ||
left_analog_up = up | ||
left_analog_down = down | ||
left_analog_left = left | ||
left_analog_right = right | ||
|
||
right_analog_up = \" | ||
right_analog_down = \" | ||
right_analog_left = \" | ||
right_analog_right = \" |
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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./Entwined Time.sh</path> | ||
<name>Entwined Time</name> | ||
<desc>In this two time manipulation puzzle game, help Light and Heavy reach and repair the Chrono Station's reactor after a catastrophic failure rends their timelines asunder (and also blows the Station to smithereens, turning it into hundreds of puzzles to traverse)!</desc> | ||
<releasedate>20240413T000000</releasedate> | ||
<developer>Patashu</developer> | ||
<publisher>Patashu</publisher> | ||
<genre>Puzzle</genre> | ||
<image>./entwined/screenshot.png</image> | ||
</game> | ||
</gameList> |
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,28 @@ | ||
{ | ||
"version": 3, | ||
"name": "entwined.zip", | ||
"items": [ | ||
"Entwined Time.sh", | ||
"entwined" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "Entwined Time", | ||
"porter": [ | ||
"Ganimoth" | ||
], | ||
"desc": "In this two time manipulation puzzle game, help Light and Heavy reach and repair the Chrono Station's reactor after a catastrophic failure rends their timelines asunder (and also blows the Station to smithereens, turning it into hundreds of puzzles to traverse)!", | ||
"desc_md": null, | ||
"inst": "Ready to run. ", | ||
"inst_md": null, | ||
"genres": [ | ||
"puzzle" | ||
], | ||
"image": null, | ||
"rtr": true, | ||
"exp": false, | ||
"runtime": "frt_3.5.2.squashfs", | ||
"reqs": [], | ||
"arch": [] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.