-
-
Notifications
You must be signed in to change notification settings - Fork 110
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 #976 from psiroki/planet-merge
New Port: Planet Merge
- Loading branch information
Showing
23 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,43 @@ | ||
#!/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/planetmerge/ | ||
CONFDIR="$GAMEDIR/conf/" | ||
|
||
mkdir -p "$GAMEDIR/conf" | ||
|
||
cd $GAMEDIR | ||
|
||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
|
||
export XDG_DATA_HOME="$CONFDIR" | ||
export XDG_CONFIG_HOME="$CONFDIR" | ||
|
||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
$GPTOKEYB "planets.${DEVICE_ARCH}" & | ||
|
||
pm_platform_helper "$GAMEDIR/planets.${DEVICE_ARCH}" | ||
|
||
./planets.${DEVICE_ARCH} | ||
|
||
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,23 @@ | ||
# Planet Merge | ||
|
||
Source: https://github.com/psiroki/dinnye/ | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|DPAD|Move drop position or menu selection| | ||
|A/B/X/Y|Drop planet| | ||
|START/MENU|Enter menu| | ||
|START+SELECT|Exit immediately| | ||
|
||
## Compiling | ||
|
||
To get the executable, you can follow the standard cmake boilerplate, just specify `-DPORTMASTER=ON`. | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake -DPORTMASTER=ON -DCMAKE_BUILD_TYPE=Release .. | ||
make | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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>./Planet Merge.sh</path> | ||
<name>Planet Merge</name> | ||
<desc>Planet Merge is a fun and addictive puzzle game inspired by the Suika game, but with a cosmic twist! Combine celestial bodies like Pluto, the Moon, and Ganymede to form larger and more impressive astronomical objects. Strategize your merges to maximize your score and see how far you can go in this galaxy-sized challenge!</desc> | ||
<image>./planetmerge/cover.jpg</image> | ||
<releasedate>20241124T000000</releasedate> | ||
<developer>Peter Siroki</developer> | ||
<publisher>Peter Siroki</publisher> | ||
<genre>Puzzle</genre> | ||
</game> | ||
</gameList> |
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 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.
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,27 @@ | ||
{ | ||
"version": 2, | ||
"name": "planetmerge.zip", | ||
"items": [ | ||
"Planet Merge.sh", | ||
"planetmerge" | ||
], | ||
"items_opt": null, | ||
"attr": { | ||
"title": "Planet Merge", | ||
"desc": "Suika game with celestial bodies! Merge planets, moons, and more to create massive cosmic objects and rack up high scores.", | ||
"inst": "Ready to run.", | ||
"genres": [ | ||
"puzzle" | ||
], | ||
"porter": [ | ||
"Peter_Siroki" | ||
], | ||
"image": {}, | ||
"rtr": true, | ||
"runtime": null, | ||
"reqs": [], | ||
"arch": [ | ||
"aarch64" | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.