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.
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
After much speculation, a lot of which being caused by dbrand's unceremonious reveal of their Companion Cube casing, the Steam Machine is finally available to order...
Remember when you could get an Xbox Series S for $300? Those were the days. Microsoft has today announced the latest in their console price hikes, seeing their...
The delays may be behind us, but the news isn't all good for Grand Theft Auto VI. Rockstar have today announced that pre-orders for the game will go live tomorrow, on...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
In this time of economic uncertainty and rampant price hikes, the Steam sales stand as our final bastions of affordability for those opting to avoid the seas. The...
Apple have today announced price increases, primarily focused on their MacBook and iPad lines. These increases have already come into effect, with both prices and the...
The Switch 2 has been out for a year now, but you shouldn't count the original system out yet! Released a few days ago, popular PS2 emulator NetherSX2 has found its...
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
After much speculation, a lot of which being caused by dbrand's unceremonious reveal of their Companion Cube casing, the Steam Machine is finally available to order...
Remember when you could get an Xbox Series S for $300? Those were the days. Microsoft has today announced the latest in their console price hikes, seeing their...
The delays may be behind us, but the news isn't all good for Grand Theft Auto VI. Rockstar have today announced that pre-orders for the game will go live tomorrow, on...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
Apple have today announced price increases, primarily focused on their MacBook and iPad lines. These increases have already come into effect, with both prices and the...
In this time of economic uncertainty and rampant price hikes, the Steam sales stand as our final bastions of affordability for those opting to avoid the seas. The...
Announced today during the Octopath Traveler 8th Anniversary live stream, it's been confirmed that both the first game and its sequel will be launching on the Switch...