Skip to content

Commit

Permalink
Merge pull request #782 from steventrev/main
Browse files Browse the repository at this point in the history
New Port - PowerPutt Legend
  • Loading branch information
Cebion authored Oct 15, 2024
2 parents 25979cf + 4018d2a commit 390ee58
Show file tree
Hide file tree
Showing 20 changed files with 100 additions and 0 deletions.
42 changes: 42 additions & 0 deletions ports/powerputtlegend/PowerPutt Legend.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/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

# Variables
GAMEDIR="/$directory/ports/powerputtlegend"

# CD and set permissions
cd $GAMEDIR
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
$ESUDO chmod +x -R $GAMEDIR/*

# Exports
export LD_LIBRARY_PATH="/usr/lib:$GAMEDIR/lib:$GAMEDIR/libs:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

# Display loading splash
[ "$CFW_NAME" == "muOS" ] && ./libs/splash "splash.png" 1 # workaround for muOS

$ESUDO ./libs/splash "splash.png" 1000

# Run game
$GPTOKEYB "gmloadernext" &
pm_platform_helper "$GAMEDIR/gmloadernext"
./gmloadernext

# Kill processes
pm_finish
15 changes: 15 additions & 0 deletions ports/powerputtlegend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Notes

Ready to run! Thanks [Team Bugulon](https://team-bugulon.itch.io/) for their work and permission to distribute.

Details about the game and team can be found on the [PowerPutt Legend itch.io page](https://team-bugulon.itch.io/powerputt-legend). PowerPutt Legend was originally developed in 72 hours for [Lost Cartridge Jam 2021](https://itch.io/jam/lostcartridgejam3).

## Controls

| Button | Action |
|--|--|
|D-pad/L-stick|Navigate|
|A|Fire / Spell / Confirm|
|B|Mode / Back|
|L1/R1|Free Cam / Confirm|
|Select|Switch|
Binary file added ports/powerputtlegend/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ports/powerputtlegend/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./PowerPutt Legend.sh</path>
<name>PowerPutt Legend</name>
<desc>PowerPutt Legend is a unique minigolf game with RPG elements, meant to look and feel like it's straight out of the NES. Slay monsters, level up, and unlock a series of items to improve your strategy. </desc>
<image>./powerputtlegend/screenshot.jpg</image>
<releasedate>20241011T000000</releasedate>
<developer>Team Bugulon</developer>
</game>
</gameList>
28 changes: 28 additions & 0 deletions ports/powerputtlegend/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 3,
"name": "powerputtlegend.zip",
"items": [
"powerputtlegend/",
"PowerPutt Legend.sh"
],
"items_opt": [],
"attr": {
"title": "PowerPutt Legend",
"porter": [
"coolz"
],
"desc": "PowerPutt Legend is a unique minigolf game with RPG elements, meant to look and feel like it's straight out of the NES. Slay monsters, level up, and unlock a series of items to improve your strategy.",
"inst": "Ready to run! Thanks to Team Bugulon granting us permission to distribute.",
"genres": [
"adventure"
],
"image": null,
"rtr": true,
"exp": false,
"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.
Binary file added ports/powerputtlegend/powerputtlegend/game.apk
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions ports/powerputtlegend/powerputtlegend/gamedata/options.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[Windows]
SleepMargin=10
Usex64=False
[fcr_ngAPI]
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 added ports/powerputtlegend/powerputtlegend/libs/splash
Binary file not shown.
Binary file added ports/powerputtlegend/powerputtlegend/splash.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 ports/powerputtlegend/screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 390ee58

Please sign in to comment.