Skip to content

Commit

Permalink
Merge pull request #818 from Slayer366/main
Browse files Browse the repository at this point in the history
Add Super Methane Brothers
  • Loading branch information
Cebion authored Oct 22, 2024
2 parents eb35c36 + 6fd7d49 commit 7e3f67a
Show file tree
Hide file tree
Showing 18 changed files with 997 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ports/supermethanebros/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Notes

Thanks to [szymor](https://github.com/szymor/methane-sdl) for this SDL version of Super Methane Brothers!
The port is based on Spot's SDL1 source codes (see OS4Depot.net).

Tap the fire button to shoot gas from the gun and trap a baddie in a gas bubble.
Press and hold the fire button to suck a trapped (gassed) baddie into the gun.
Release the fire button to release the trapped baddie from the gun.
Shoot baddies at the wall to destroy them.

## Controls

| Button | Action |
|--|--|
|dpad|movement|
|left analog|movement|
|A|Jump|
|B|Fire|
|Select|Quit|


32 changes: 32 additions & 0 deletions ports/supermethanebros/Super Methane Brothers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/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/supermethanebros"

export LD_LIBRARY_PATH="$GAMEDIR/libs.${DEVICE_ARCH}:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

cd "$GAMEDIR"
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1

$GPTOKEYB2 "methane.${DEVICE_ARCH}" -c "$GAMEDIR/methane.gptk" &
pm_platform_helper "$GAMEDIR/methane.${DEVICE_ARCH}"
./methane.${DEVICE_ARCH}

pm_finish
Binary file added ports/supermethanebros/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions ports/supermethanebros/gameinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<gameList>
<game>
<path>./Super Methane Brothers.sh</path>
<name>Super Methane Brothers</name>
<desc>A conversion of Super Methane Brothers for the Commodore Amiga. The gameplay is similar to Taito's Bubble Bobble.</desc>
<releasedate>19930101T000000</releasedate>
<rating>0.72</rating>
<developer>Mark Page</developer>
<publisher>Apache Software Limited</publisher>
<genre>action/arcade/platform</genre>
<image>./supermethanebros/cover.png</image>
</game>
</gameList>
32 changes: 32 additions & 0 deletions ports/supermethanebros/port.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": 3,
"name": "supermethanebros.zip",
"items": [
"Super Methane Brothers.sh",
"supermethanebros/"
],
"items_opt": [],
"attr": {
"title": "Super Methane Brothers",
"porter": [
"Slayer366"
],
"desc": "A conversion of Super Methane Brothers for the Commodore Amiga. The gameplay is similar to Taito's Bubble Bobble.",
"desc_md": null,
"inst": "Ready to run!",
"inst_md": null,
"genres": [
"action",
"arcade",
"platformer"
],
"image": null,
"rtr": true,
"exp": false,
"runtime": null,
"reqs": [],
"arch": [
"aarch64"
]
}
}
Binary file added ports/supermethanebros/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ports/supermethanebros/supermethanebros/Methane.HiScores
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0$ 0$ 0$ 0$ 0$ 0$ 0$ 0$
Binary file not shown.
Binary file not shown.
Binary file not shown.
339 changes: 339 additions & 0 deletions ports/supermethanebros/supermethanebros/licenses/LICENSE.GPL2.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 7e3f67a

Please sign in to comment.