Skip to content

Commit

Permalink
Add Sonic Mania port
Browse files Browse the repository at this point in the history
  • Loading branch information
tailtwo committed Apr 8, 2024
1 parent 59cbfce commit 7561ed1
Show file tree
Hide file tree
Showing 21 changed files with 69 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ The assets of these ports are licensed and must be added manually. Only open sou
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.it.out.in.D.C.eduke32.7z"><img src="Duke it out in D.C. (eduke32)//Roms/PORTS/Imgs/Duke it out in D.C. (eduke32).png" alt="Duke it out in D.C. (eduke32)" height="200" /></a><br><sub>[Duke it out in D.C. (eduke32)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.it.out.in.D.C.eduke32.7z)<br>2.1M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.nukem.3D.eduke32.7z"><img src="Duke nukem 3D (eduke32)//Roms/PORTS/Imgs/Duke nukem 3D (eduke32).png" alt="Duke nukem 3D (eduke32)" height="200" /></a><br><sub>[Duke nukem 3D (eduke32)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.nukem.3D.eduke32.7z)<br>4.8M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.ZONE.II.eduke32.7z"><img src="Duke!ZONE II (eduke32)//Roms/PORTS/Imgs/Duke!ZONE II (eduke32).png" alt="Duke!ZONE II (eduke32)" height="200" /></a><br><sub>[Duke!ZONE II (eduke32)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Duke.ZONE.II.eduke32.7z)<br>1.2M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Exhumed.PCExhumed.7z"><img src="Exhumed (PCExhumed)//Roms/PORTS/Imgs/Exhumed (PCExhumed).png" alt="Exhumed (PCExhumed)" height="200" /></a><br><sub>[Exhumed (PCExhumed)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Exhumed.PCExhumed.7z)<br>1.9M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Flashback.REminiscence.7z"><img src="Flashback (REminiscence)//Roms/PORTS/Imgs/Flashback (REminiscence).png" alt="Flashback (REminiscence)" height="200" /></a><br><sub>[Flashback (REminiscence)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Flashback.REminiscence.7z)<br>2.7M</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Mario64.7z"><img src="Mario64//Roms/PORTS/Imgs/Mario64.png" alt="Mario64" height="200" /></a><br><sub>[Mario64](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Mario64.7z)<br>981K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Nam.rednukem.7z"><img src="Nam (rednukem)//Roms/PORTS/Imgs/Nam (rednukem).png" alt="Nam (rednukem)" height="200" /></a><br><sub>[Nam (rednukem)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Nam.rednukem.7z)<br>1.3M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/OutRun.Cannonball.7z"><img src="OutRun (Cannonball)//Roms/PORTS/Imgs/OutRun (Cannonball).png" alt="OutRun (Cannonball)" height="200" /></a><br><sub>[OutRun (Cannonball)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/OutRun.Cannonball.7z)<br>184K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.-.1996.TyrQuake.7z"><img src="Quake - 1996 (TyrQuake)//Roms/PORTS/Imgs/1996 Quake.png" alt="Quake - 1996 (TyrQuake)" height="200" /></a><br><sub>[Quake - 1996 (TyrQuake)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.-.1996.TyrQuake.7z)<br>557K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.dopa.-.2021.TyrQuake.7z"><img src="Quake dopa - 2021 (TyrQuake)//Roms/PORTS/Imgs/2021 Quake dopa.png" alt="Quake dopa - 2021 (TyrQuake)" height="200" /></a><br><sub>[Quake dopa - 2021 (TyrQuake)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.dopa.-.2021.TyrQuake.7z)<br>120K</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.hipnotic.-.1997.TyrQuake.7z"><img src="Quake hipnotic - 1997 (TyrQuake)//Roms/PORTS/Imgs/1997 Quake hipnotic.png" alt="Quake hipnotic - 1997 (TyrQuake)" height="200" /></a><br><sub>[Quake hipnotic - 1997 (TyrQuake)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.hipnotic.-.1997.TyrQuake.7z)<br>157K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.rogue.-.1997.TyrQuake.7z"><img src="Quake rogue - 1997 (TyrQuake)//Roms/PORTS/Imgs/1997 Quake rogue.png" alt="Quake rogue - 1997 (TyrQuake)" height="200" /></a><br><sub>[Quake rogue - 1997 (TyrQuake)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Quake.rogue.-.1997.TyrQuake.7z)<br>165K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Redneck.Rampage.rednukem.7z"><img src="Redneck Rampage (rednukem)//Roms/PORTS/Imgs/Redneck Rampage (rednukem).png" alt="Redneck Rampage (rednukem)" height="200" /></a><br><sub>[Redneck Rampage (rednukem)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Redneck.Rampage.rednukem.7z)<br>2.0M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Redneck.Rampage.Rides.Again.rednukem.7z"><img src="Redneck Rampage Rides Again (rednukem)//Roms/PORTS/Imgs/Redneck Rampage Rides Again (rednukem).png" alt="Redneck Rampage Rides Again (rednukem)" height="200" /></a><br><sub>[Redneck Rampage Rides Again (rednukem)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Redneck.Rampage.Rides.Again.rednukem.7z)<br>6.2M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.voidsw.7z"><img src="Shadow Warrior (voidsw)//Roms/PORTS/Imgs/Shadow Warrior (voidsw).png" alt="Shadow Warrior (voidsw)" height="200" /></a><br><sub>[Shadow Warrior (voidsw)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.voidsw.7z)<br>5.4M</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Twin.Dragon.voidsw.7z"><img src="Shadow Warrior - Twin Dragon (voidsw)//Roms/PORTS/Imgs/Shadow Warrior - Twin Dragon (voidsw).png" alt="Shadow Warrior - Twin Dragon (voidsw)" height="200" /></a><br><sub>[Shadow Warrior - Twin Dragon (voidsw)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Twin.Dragon.voidsw.7z)<br>1.1M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Wanton.Destruction.voidsw.7z"><img src="Shadow Warrior - Wanton Destruction (voidsw)//Roms/PORTS/Imgs/Shadow Warrior - Wanton Destruction (voidsw).png" alt="Shadow Warrior - Wanton Destruction (voidsw)" height="200" /></a><br><sub>[Shadow Warrior - Wanton Destruction (voidsw)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Wanton.Destruction.voidsw.7z)<br>1.1M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Super.3D.Noah.s.Ark.7z"><img src="Super 3D Noah's Ark//Roms/PORTS/Imgs/Super 3D Noah's Ark.png" alt="Super 3D Noah's Ark" height="200" /></a><br><sub>[Super 3D Noah's Ark](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Super.3D.Noah.s.Ark.7z)<br>172K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.A.Wolf.and.Stone.Place.7z"><img src="Wolfenstein - A Wolf and Stone Place//Roms/PORTS/Imgs/mod- A Wolf and Stone Place.png" alt="Wolfenstein - A Wolf and Stone Place" height="200" /></a><br><sub>[Wolfenstein - A Wolf and Stone Place](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.A.Wolf.and.Stone.Place.7z)<br>58K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Coffee-break-episode-1-2.7z"><img src="Wolfenstein - Coffee-break-episode-1-2//Roms/PORTS/Imgs/mod- Coffee-break-episode-1-2.png" alt="Wolfenstein - Coffee-break-episode-1-2" height="200" /></a><br><sub>[Wolfenstein - Coffee-break-episode-1-2](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Coffee-break-episode-1-2.7z)<br>28K</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Twin.Dragon.voidsw.7z"><img src="Shadow Warrior - Twin Dragon (voidsw)//Roms/PORTS/Imgs/Shadow Warrior - Twin Dragon (voidsw).png" alt="Shadow Warrior - Twin Dragon (voidsw)" height="200" /></a><br><sub>[Shadow Warrior - Twin Dragon (voidsw)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Twin.Dragon.voidsw.7z)<br>1.1M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Wanton.Destruction.voidsw.7z"><img src="Shadow Warrior - Wanton Destruction (voidsw)//Roms/PORTS/Imgs/Shadow Warrior - Wanton Destruction (voidsw).png" alt="Shadow Warrior - Wanton Destruction (voidsw)" height="200" /></a><br><sub>[Shadow Warrior - Wanton Destruction (voidsw)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Shadow.Warrior.-.Wanton.Destruction.voidsw.7z)<br>1.1M</sub> |<a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Sonic.Mania.7z"><img src="Sonic Mania//Roms/PORTS/Imgs/Sonic Mania.png" alt="Sonic Mania" height="200" /></a><br><sub>[Sonic Mania](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Sonic.Mania.7z)<br>6M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Super.3D.Noah.s.Ark.7z"><img src="Super 3D Noah's Ark//Roms/PORTS/Imgs/Super 3D Noah's Ark.png" alt="Super 3D Noah's Ark" height="200" /></a><br><sub>[Super 3D Noah's Ark](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Super.3D.Noah.s.Ark.7z)<br>172K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.A.Wolf.and.Stone.Place.7z"><img src="Wolfenstein - A Wolf and Stone Place//Roms/PORTS/Imgs/mod- A Wolf and Stone Place.png" alt="Wolfenstein - A Wolf and Stone Place" height="200" /></a><br><sub>[Wolfenstein - A Wolf and Stone Place](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.A.Wolf.and.Stone.Place.7z)<br>58K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Coffee-break-episode-1-2.7z"><img src="Wolfenstein - Coffee-break-episode-1-2//Roms/PORTS/Imgs/mod- Coffee-break-episode-1-2.png" alt="Wolfenstein - Coffee-break-episode-1-2" height="200" /></a><br><sub>[Wolfenstein - Coffee-break-episode-1-2](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Coffee-break-episode-1-2.7z)<br>28K</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.De-Invasion.7z"><img src="Wolfenstein - De-Invasion//Roms/PORTS/Imgs/mod- De-Invasion.png" alt="Wolfenstein - De-Invasion" height="200" /></a><br><sub>[Wolfenstein - De-Invasion](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.De-Invasion.7z)<br>54K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Spear.of.Destiny.7z"><img src="Wolfenstein - Spear of Destiny//Roms/PORTS/Imgs/Spear of Destiny.png" alt="Wolfenstein - Spear of Destiny" height="200" /></a><br><sub>[Wolfenstein - Spear of Destiny](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Spear.of.Destiny.7z)<br>181K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Wolfenstein.3D.HD.7z"><img src="Wolfenstein - Wolfenstein 3D HD//Roms/PORTS/Imgs/mod- Wolfenstein 3D HD.png" alt="Wolfenstein - Wolfenstein 3D HD" height="200" /></a><br><sub>[Wolfenstein - Wolfenstein 3D HD](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.-.Wolfenstein.3D.HD.7z)<br>77K</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.3D.7z"><img src="Wolfenstein 3D//Roms/PORTS/Imgs/Wolfenstein 3D.png" alt="Wolfenstein 3D" height="200" /></a><br><sub>[Wolfenstein 3D](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Wolfenstein.3D.7z)<br>2.1M</sub> | <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/World.War.II.GI.rednukem.7z"><img src="World War II GI (rednukem)//Roms/PORTS/Imgs/World War II GI (rednukem).png" alt="World War II GI (rednukem)" height="200" /></a><br><sub>[World War II GI (rednukem)](https://github.com/OnionUI/Ports-Collection/releases/latest/download/World.War.II.GI.rednukem.7z)<br>1.2M</sub> |
| <a href="https://github.com/OnionUI/Ports-Collection/releases/latest/download/Zelda.Picross.7z"><img src="Zelda Picross//Roms/PORTS/Imgs/Zelda Picross.png" alt="Zelda Picross" height="200" /></a><br><sub>[Zelda Picross](https://github.com/OnionUI/Ports-Collection/releases/latest/download/Zelda.Picross.7z)<br>28M</sub> |
Binary file added Sonic Mania/Roms/PORTS/Games/Sonic Mania/Game.so
Binary file not shown.
Binary file added Sonic Mania/Roms/PORTS/Games/Sonic Mania/RSDKv5U
Binary file not shown.
22 changes: 22 additions & 0 deletions Sonic Mania/Roms/PORTS/Games/Sonic Mania/_required_files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/mnt/SDCARD/Roms/PORTS/Games/Sonic Mania
|-- Data.rsdk
|-- Game.so
|-- RSDKv5U
|-- Settings.ini
|-- cpuclock
|-- launch.sh
|-- lib
| |-- libEGL.so
| |-- libGLESv2.so
| |-- libSDL2-2.0.so.0
| |-- libSDL2-2.0.so.02
| |-- libSDL2_image-2.0.so.0
| |-- libSDL2_ttf-2.0.so.0
| |-- libjson-c.so.5
| |-- libneon.so
| |-- libogg.so.0
| |-- libpng16.so.16
| |-- libtheora.so.0
| |-- libtheoradec.so.1
| `-- libz.so.1
`-- log.txt
Binary file added Sonic Mania/Roms/PORTS/Games/Sonic Mania/cpuclock
Binary file not shown.
28 changes: 28 additions & 0 deletions Sonic Mania/Roms/PORTS/Games/Sonic Mania/launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/sh
mydir=`pwd`
miyoodir=/mnt/SDCARD/miyoo
sysdir=/mnt/SDCARD/.tmp_update
export SDL_VIDEODRIVER=mmiyoo
export EGL_VIDEODRIVER=mmiyoo
export SDL_AUDIODRIVER=dsp

if [ -e "$sysdir/bin/infoPanel" ]; then
if [ ! -e "$mydir/Data.rsdk" ]; then
infoPanel -t "Missing data files" -m "File: Data.rsdk \n Does not exist in the root of this app \n\n Please acquire the file and try again" --auto 2> /dev/null
touch /tmp/dismiss_info_panel
sleep 4
rm -rf /tmp/dismiss_info_panel
exit
fi
fi

CUST_CPUCLOCK=1
if [ "$CUST_CPUCLOCK" = "1" ]; then
echo "set customized cpuspeed"
./cpuclock 1600
fi

cd "$mydir"
export LD_PRELOAD="$mydir/lib/libSDL2-2.0.so.0:$miyoodir/lib/libpadsp.so"
./RSDKv5U
unset LD_PRELOAD
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Sonic Mania/Roms/PORTS/Imgs/Sonic Mania.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions Sonic Mania/Roms/PORTS/Shortcuts/Arcade/Sonic Mania.notfound
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
# Standalone Ports Script Template

# main configuration :
GameName="Sonic Mania"
GameDir="Sonic Mania"
GameExecutable="launch.sh"
GameDataFile="Data.rsdk"

# additional configuration
KillAudioserver=0
PerformanceMode=1

# specific to this port :
Arguments=""

# running command line :
/mnt/SDCARD/Emu/PORTS/launch_standalone.sh "$GameName" "$GameDir" "$GameExecutable" "$Arguments" "$GameDataFile" "$KillAudioserver" "$PerformanceMode"

0 comments on commit 7561ed1

Please sign in to comment.