I would just like to share a problem I recently encountered with building emunands and installing wads, and a bypass to fix it. If I'm not wromg, the solution will require some coding in USBLGX, I'm not sure it is worth it. I'm just a Newbie, so the root cause may be well known, but I haven't been able to find any reference to it (or I may not have googled enough).
Warning: this is a long post just to describe a very infrequent (but annoying) problem
Spoiler Alert:use ShowMiiWads whenever you can USBLGX r1282 does not have this bug
* Scenario: You build a new emunand from ModMii as minimal as possible, probably from a different region than your Wii, N for all options, no default channels, no additional wads (by the way, the error can occur even with an exported NAND if you've never installed a VC or a WiiWare in your Wii... highly improbable scenario in most cases, but not an impossible one). After building the emunand, you install different wads in it using USBLGX.
* Errors: Titles that worked on your previous emunand now throw different errors during loading or while executing from your new emunand:
"the file is corrupted"
"an error occured during the process of reading from or writting to the wii system memory"
"there is not enough available space in the wii system memory"
Black screen forever before health message on WiiWare.
Wad works fine but freezes when you press the Home button to exit (before the Start menu appears)
* Cause:Neither USBLGX (nor WiiFlow) install the WAD shared content on the emunand ! >>>> Solved in USBLGX r1282, and hopefuly in the next WiiFlow version (5.5.4-1 still has the bug). <<<< If the shared content is not already present in the /shared1 emunand folder (as can happen in the scenarios described above), the wads will not work, no matter what you try.
* Bypass: rebuild the emunand (it's easier to start over) and install the WADs directly from ModMii or using ShowMiiWads. They (actually ShowMiiWads) will install the shared content and the wads will work fine in neek mode (for ModMii emunands) or full/ciSO and neek (for exported ones).
* Fix:Strictly speaking it's not a bug... the function to deploy shared content is (nearly) empty in the USBLGX v3.0-r1281 source code, it is just a comment that says that this part should de coded. >> SEE EDIT1 >> Unfortunately, some related code is implemented (the part that adds the content's hash to the content.map file), so other tools will mistakenly think the shared content is there and won't fix anything. It is worth to complete the code in USBLoaderGX? The problem is very rare, most people have lived happily with it for a looong time, only happens in very concrete scenarios, and we have a short-term bypass (ShowMiiWads) and a long-term one ( once you have installed a few different type of wads, you can switch to USBLoaderGX to install other wads without encountering this problem ever). I believe that it's worth adding the code in USBLGX to deploy shared content, but it's just my opinion and in the end, it's not my time. Surely there are higher impact bugs waiting to be solved.
* Summary: If you consistently found some of the previous errors, try using ShowMiiWads in a new emunand to install the wads again (or better, use ShowMiiWads from the very beginning). If the problem is not solved, continue by trying the rest of the usual tricks. Good luck!
EDIT1:
After taking a closer look, the code to install shared content is there, but there is a bug that always prevents it from being installed. The solution is really easy and I already have a working binary. I will contact blackb0x and/or make a pull request to get it fixed in the main version.
EDIT2 --> Installation bug causing this wrong behaviour when opening the game has been already solved in USBLGX r1282 version. No need to use showMiiWads anymore
Warning: this is a long post just to describe a very infrequent (but annoying) problem
Spoiler Alert:
* Scenario: You build a new emunand from ModMii as minimal as possible, probably from a different region than your Wii, N for all options, no default channels, no additional wads (by the way, the error can occur even with an exported NAND if you've never installed a VC or a WiiWare in your Wii... highly improbable scenario in most cases, but not an impossible one). After building the emunand, you install different wads in it using USBLGX.
* Errors: Titles that worked on your previous emunand now throw different errors during loading or while executing from your new emunand:
"the file is corrupted"
"an error occured during the process of reading from or writting to the wii system memory"
"there is not enough available space in the wii system memory"
Black screen forever before health message on WiiWare.
Wad works fine but freezes when you press the Home button to exit (before the Start menu appears)
* Cause:
* Bypass: rebuild the emunand (it's easier to start over) and install the WADs directly from ModMii or using ShowMiiWads. They (actually ShowMiiWads) will install the shared content and the wads will work fine in neek mode (for ModMii emunands) or full/ciSO and neek (for exported ones).
* Fix:
* Summary: If you consistently found some of the previous errors, try using ShowMiiWads in a new emunand to install the wads again (or better, use ShowMiiWads from the very beginning). If the problem is not solved, continue by trying the rest of the usual tricks. Good luck!
EDIT1:
After taking a closer look, the code to install shared content is there, but there is a bug that always prevents it from being installed. The solution is really easy and I already have a working binary. I will contact blackb0x and/or make a pull request to get it fixed in the main version.
EDIT2 --> Installation bug causing this wrong behaviour when opening the game has been already solved in USBLGX r1282 version. No need to use showMiiWads anymore
Last edited by qWii,