Technically it could be possible to optimise the code for the Wii but it would need to be more that just a port, it would be basically remaking the game for the Wii specifically and that's too much work.
So I went ahead and tried testing again and actually found out what exactly was causing the crashes. The build actually works perfectly!... when there's no mods. Like, ALL mods, including No Special Stage decorations (seemingly, No Decorations Plus isn't causing any issues so far.) I should've suspected that mods would've been an issue, but it never occurred to me that the crashes I mentioned would've happened in levels the mod did not edit.
For anyone having trouble on compiling Sonic Mania for Wii with the new CMake method starting from git 431b6b2, here's my method of how did i build it for Wii (on Windows), with latest devkitPPC/libOGC: (thanks @godreborn for some tips)
1. Open MSYS2
2. Git clone the Sonic Mania decompilation repo by Rubberduckycooly (https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation) with this command: git clone --recursive https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation.git
3. Go into the folder /Sonic-Mania-Decompilation/dependencies/ folder
4. Delete the old RSDKv5 folder
5. Inside the /dependencies/ folder, git clone the RSDKv5 decompilation for Wii repo by Mefiresu (https://github.com/Mefiresu/RSDKv5-Decompilation) with this command: git clone --recursive https://github.com/Mefiresu/RSDKv5-Decompilation.git
6. Rename the RSDKv5-Decompilation folder to RSDKv5
7. Return to the base repo (Sonic-Mania-Decompilation) folder with cd .. several times until you're on the base folder
8. Run this command: cmake -H. -Bbuild-wii -DGAME_STATIC=ON -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Wii.cmake
9. Once finished, go to the build-wii folder with cd build-wii
10. Once on the build-wii folder, simply run make
11. Wait for a while to compile...
12. Once finished you'll see your new RetroEngine.dol file ready to use, on the folder /Sonic-Mania-Decompilation/build-wii/dependencies/RSDKv5/
I'm gonna test this build and if we're lucky i will post the new build with Plus DLC enabled here later.
Post automatically merged:
Latest build of Sonic Mania for Wii (with Plus DLC enabled) as of May 15, 2023
With latest commits from:
Mefiresu's RSDKv5 Decompilation for Wii until git 431b6b2
Rubberduckycooly's Sonic Mania Decompilation until git 551516f
This still require the meta.xml file of Sonic Mania from official release of the Wii RSDKv5 decompilation, as well as the Data.rsdk of the game (with the Plus DLC purchased or enabled) to be at root:/RSDKv5/Mania/Data.rsdk
240p doesn't seem to be working on PAL CRTs, when I was playing NTSC GameCube games on Nintendon't I had the same issue with it being in black and white until I forced PAL60. Can you add an option to force PAL60?
240p doesn't seem to be working on PAL CRTs, when I was playing NTSC GameCube games on Nintendon't I had the same issue with it being in black and white until I forced PAL60. Can you add an option to force PAL60?
I use a PAL Wii on a PAL CRT TV. I don't know if the version you're using doesn't work, but I have the 240p version of Sonic Mania that's been working by default for a while now. I think I downloaded it from Zorg's website, which you can find on his YouTube channel. As soon as the 240p PAL games are released and the 60p PAL versions appear, you can do it through WiiFlow. Having a Wii and not having WiiFlow is like having eyes and covering them up. It's an absolute necessity
Can you help me out with compiling this myself? I've made some changes to the aspect ratio handling logic so that I can have both 240p AND 16:9, because I've got a lovely SD widescreen Trinitron and setting 240p mode forces 4:3 which I don't want.
I've installed devKitPro and more or less followed the Switch instructions but obviously using the Wii.cmake file, I had to add -DGAME_STATIC=ON to the build arguments to sidestep one error, then I had to set GAME_NAME in the platform file to get past the next error, and then finally I've ran into an error about GameMain.h not being found. At that point I gave up for the night.
Can you help me out with compiling this myself? I've made some changes to the aspect ratio handling logic so that I can have both 240p AND 16:9, because I've got a lovely SD widescreen Trinitron and setting 240p mode forces 4:3 which I don't want.
I've installed devKitPro and more or less followed the Switch instructions but obviously using the Wii.cmake file, I had to add -DGAME_STATIC=ON to the build arguments to sidestep one error, then I had to set GAME_NAME in the platform file to get past the next error, and then finally I've ran into an error about GameMain.h not being found. At that point I gave up for the night.
For anyone having trouble on compiling Sonic Mania for Wii with the new CMake method starting from git 431b6b2, here's my method of how did i build it for Wii (on Windows), with latest devkitPPC/libOGC: (thanks @godreborn for some tips)
1. Open MSYS2
2. Git clone the Sonic Mania decompilation repo by Rubberduckycooly (https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation) with this command: git clone --recursive https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation.git
3. Go into the folder /Sonic-Mania-Decompilation/dependencies/ folder
4. Delete the old RSDKv5 folder
5. Inside the /dependencies/ folder, git clone the RSDKv5 decompilation for Wii repo by Mefiresu (https://github.com/Mefiresu/RSDKv5-Decompilation) with this command: git clone --recursive https://github.com/Mefiresu/RSDKv5-Decompilation.git
6. Rename the RSDKv5-Decompilation folder to RSDKv5
7. Return to the base repo (Sonic-Mania-Decompilation) folder with cd .. several times until you're on the base folder
8. Run this command: cmake -H. -Bbuild-wii -DGAME_STATIC=ON -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Wii.cmake
9. Once finished, go to the build-wii folder with cd build-wii
10. Once on the build-wii folder, simply run make
11. Wait for a while to compile...
12. Once finished you'll see your new RetroEngine.dol file ready to use, on the folder /Sonic-Mania-Decompilation/build-wii/dependencies/RSDKv5/
Remember, this miniguide assumes that u have installed all the needed devkitPro/devkitPPC, libogc, portlibs, and other needed things including cmake and git, so you'll have to install these before proceeding.
time ago i wrote a message about how to compile this port after they switched to CMake:
Remember, this miniguide assumes that u have installed all the needed devkitPro/devkitPPC, libogc, portlibs, and other needed things including cmake and git, so you'll have to install these before proceeding.
dont forget to share your modified source code to see what you have changed.
u can publish it on a fork of the RSDKv5 Wii port on GitHub, or simply compress (zip) the source code and post it here.
dont forget to share your modified source code to see what you have changed.
u can publish it on a fork of the RSDKv5 Wii port on GitHub, or simply compress (zip) the source code and post it here.
I gave your compiled port a try, and I noticed my save file is acting weird. None of my completed Mania Mode/Encore Mode saves carried over, but at least all my gold medallions and extras are there! Should I send you my save file in DMs to verify for yourself?
EDIT: I even imported my save data to Clownacy's Wii U port. Same result. Medallions and extras carried over, but not the completed Mania Mode/Encore Mode saves.
I gave your compiled port a try, and I noticed my save file is acting weird. None of my completed Mania Mode/Encore Mode saves carried over, but at least all my gold medallions and extras are there! Should I send you my save file in DMs to verify for yourself?
I gave your compiled port a try, and I noticed my save file is acting weird. None of my completed Mania Mode/Encore Mode saves carried over, but at least all my gold medallions and extras are there! Should I send you my save file in DMs to verify for yourself?
EDIT: I even imported my save data to Clownacy's Wii U port. Same result. Medallions and extras carried over, but not the completed Mania Mode/Encore Mode saves.
Hmm I only touched the 240p aspect ratio handling, nothing to do with the saves so I'm not sure what's going on there. Considering your save isn't working with the Wii U port either, I think there's an issue with your save rather than anything to do with two separate ports.
That's what I did, I created a completely fresh save using the Wii port, and opened it in a save editor. I use this save editor website to edit Sonic Mania save files. And even though the port sees a freshly created Sonic and Tails save in Mania Mode on file 1, the save editor sees that the Mania Mode and Encore Mode files are empty. Maybe the saves aren't compatible with the ports? I imported my Steam save to the 3DS port, and it worked flawlessly. All the Mania Mode and Encore Mode saves, plus the gold medallions and extras carried over.
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
Nintendo's expected Summer showcase is here, offering up plenty of new announcements and exciting reveals. Let's see what they have in store in the latest Nintendo...
Continuing with the great news of Pokémon Platinum getting a native unofficial PC port just a few days ago, today, yet another classic title from the franchise has...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
When you talk about 3DS emulation, most people would jump to Citra. As the defacto choice since its first release it's seen tremendous success, and even after its...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
What once seemed like a far off dream, and after many, many community restarts throughout the years, the elusive Mother 1 / EarthBound Beginnings Remake, which is a...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...
Back in April we covered the ROM hacking efforts to add fifth-generation animated sprites to third generation Pokemon games. It remains a thoroughly impressive...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
Nintendo's expected Summer showcase is here, offering up plenty of new announcements and exciting reveals. Let's see what they have in store in the latest Nintendo...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
With rumours circulating about a Nintendo Direct in the coming days and weeks, fans are left speculating and hoping as to what might be included. At the centre of all...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
After much speculation and rumour, the fabled Nintendo Direct is upon us. Set to go live tomorrow, the 9th of June, at 3pm in the UK, it'll feature 50 minutes of...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...
Following an investigation over misleading commercial practices, today Nintendo has been imposed a fine of 35 million euros related to the controller malfunctions...
Continuing with the great news of Pokémon Platinum getting a native unofficial PC port just a few days ago, today, yet another classic title from the franchise has...