HBroHei / NSMRWii

A general New Super Mario Bros Wii Randomizer, with features like level and enemy randomization.
https://HBroHei.github.io/NSMRWii
GNU General Public License v3.0
3 stars 1 forks source link

Mod Won't load on Real Hardware #17

Open moomeow96 opened 2 months ago

moomeow96 commented 2 months ago

I tried to load this mod on a real Wii using Riivolution, and Riivolution even said that it was a valid mod, but when I tapped "Enable", and then pressed launch, nothing changed about the game. How do I fix this, if it was even designed for real hardware?

HBroHei commented 2 months ago

Thanks for reporting the issue!

I have yet to test the randomiser on real hardware (Since my Wii sometimes doesn't register the SD card slot, I mostly test stuff in emulator). I will test whether the patch works on real hardware in the coming few days.

However, as a disclaimer, the randomiser may or may not create scenarios that will crash the game (as it hasn't received many testings due to time and human constraints) and require a reset.

moomeow96 commented 1 month ago

@HBroHei Thank you! Can you please get back to me when you have more information on the situation?

HBroHei commented 1 month ago

I have tried launching the game via Riivolution on actual hardware, and it does seem like the patch isn't working. I would suspect the XML file contains some invalid patch definition that works on Dolphin, but not on real hardware, although other situations are also possible.

If you can, can you check whether applying this patch (with some other custom levels load into it) would load the custom levels you have put in?

moomeow96 commented 1 month ago

I don't have access to Reggie's level editor, because I don't have anything that can run it. Is there anything else I can do?

moomeow96 commented 1 month ago

Also, I can load things like Newer Super Mario Bros. Wii and CTGP Revolution, and I can even load a pipe randomizer, but I had no luck with the level randomizer

HBroHei commented 1 month ago

Apologise that this takes longer than usual to fix. I will have access to my real hardware agaim on Monday.

Based on the fact that you (and me) can load other mods, it is even more likely that the issue is invalid XML syntax. Despite Dolphin phrasing the XML definition with no problem, it seems to have problems when phrasing it on the real hardware. I will continue to test why the syntax is wrong on real hardware on Monday.

For the custom level part, you may grab any one of the .arc files generated from the randomiser (Those are located inside "Stage_output" folder). I suspect that the template file does not work with real hardware.

Also, out of curiosity, what is the reason you can't run the Reggie Level editor? For every desktop OS (except for some Linux distro), there should be a way to run the editor.

moomeow96 commented 1 month ago

It's because all I have is an Android phone (which works better than most computers lol) and an outdated HP chromebook. I should also mention that Windows emulators don't worn on my phone for whatever reason. Is there an APK or something that I can use?

HBroHei commented 1 month ago

I do agree that Android works better than some other computers. I sometimes work on the randomiser on my phone lol

If you have a chromebook, you can enable Linux (Debian) via these steps. You could then run the level editor via these steps.

If you are only testing whether the template file works, I recommend just grabbing one of the generated levels from the randomiser.

moomeow96 commented 1 month ago

My Chromebook doesn't have a Linux option. It's very outdated. Are there any other options that I can try?

HBroHei commented 1 month ago

Don't worry about the Level Editor for now.

Right now, I am figuring out why the patch tag does not work in real hardware but works on Dolphin. So far, there is little to no progression on figuring out why it isn't working. This may take a while to get fixed.

Can you tell me what region does your Wii and your game disc belong to? Also, are you loading Riivolution via SD Card or USB?

Thank you for your patience!

moomeow96 commented 1 month ago

I have a North American Wii and disc, I'm using an SD card, and I'm pretty sure I have a 1.02 disc. I'm not at home right now, so I can't check lol

HBroHei commented 1 month ago

Thanks, that confirms it isn't a region thing.

Will keep updating here when I have any progress made.

moomeow96 commented 1 month ago

Ok. Thank you!

moomeow96 commented 4 weeks ago

So, how are things coming along?

HBroHei commented 3 weeks ago

Things have been slow since

  1. I am currently in the middle of a semester
  2. I got somewhat burnout on trying to fix it, mostly because it is annoying and time-consuming to update the XML file.
  3. I do not have access to the real hardware often

Currently, I have re-formatted a 16GB USB to ensure that the Wii can read all the contents from the USB stick. I am really sorry to have you wait for me, but I will make an update once I got something working.

Do you mind telling me your Android phone model, and how do you use my randomiser? Most mid-tier phones are capable of running NSMBW on Dolphin Android at near full-speed, and I may help you figure something out with it.

moomeow96 commented 3 weeks ago

I have a Samsung Galaxy A35 (Exynos chip), and I use the randomizer through Riivolution on my original Wii (with GameCube ports). Hope this helps!

HBroHei commented 3 weeks ago

I think you can load NSMBW on your phone just fine.

If you know how to get into Document UI, skip step 1-2:

  1. Download Files by Google. This is one way I know to get into Document UI.
  2. In the app, go to "Other Storage" -> "System Trace" or "Bug report". This will takes you to Document UI. Don't close the Document UI.
  3. Download Dolphin for Android and rip the game on the Wii if you haven't.
  4. In the Document UI, open the hamburger menu (side menu) and navigate to the Randomiser folder.
  5. Long-tap "Stage_output" / "Stage_Shuffled", top-right menu -> "Move to".
  6. Open the side menu again, choose "Dolphin Emulator". Navigate to "Load/Riivolution", and tap "Move to this folder". Do the same for "nsmb_randomizer.xml", but place it inside the "riivolution" folder (You may treat this folder as your SD root)
  7. Renavigate back to the Riivolution folder, rename "Stage_output" / "Stage_Shuffled" to "nsmb_randomised".
  8. Open Dolphin, tap "Add Games" to select the folder that you put your extracted NSMBW in. NSMBW should appear.
  9. Long-tap NSMBW -> "Open with Riivolution patch".

Hopefully my instructions are clear.

Sorry if I wasn't clear with my question, by "how do you use my randomiser" I mean how do you run the python script? Because it would require some other software to run python on Android.

moomeow96 commented 2 weeks ago

New Super Mario Bros. Wii is way slower on my phone since I have the Exynos chip and not the Snapdragon chip. I could probably get up to 20-30 FPS during gameplay. Around 60 FPS on the world map, but that's it.

HBroHei commented 2 weeks ago

This may not be the best answer, but you may set the emulation speed to >100%. I used to do this when I had a mid-tier phone.

moomeow96 commented 1 week ago

I've tried that. The only game that will run at full speed is Super Smash Bros. Brawl for some reason. I guess I'll just have to be patient while you come up with a solution. I will catch up with you later.

moomeow96 commented 10 hours ago

So how's the fix holdin' up?