Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,174,245
  • Replies 29,365
  • Likes 48

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
Apologies if this has been answered before, but I did not find anyone with this issue anywhere, when running Wii games from an SD card some of them freeze the Wii U's vWii when exiting, games like Mario Kart Wii, Mario Party 8, Metal Slug Anthology, whereas Metroid Other M does not have this issue, it successfully returns to the USB Loader GX from the home button, Wii menu option, has anyone experienced this ?
I can confirm that this issue has been fixed for the next release.

Maybe because i dont have the correct forwarder channel ?
It display unknown for UNEO
It's unrelated to some games freezing when you exit, but this is a long standing issue for vWii that I've already fixed for the next release.

1 - how do I set it to 60hz in games that have a 60hz option
I guess you could enable progressive and then hold B as the game boots up to enable 60Hz?

2 - how do I show the NGC bios?
I don't think Devolution can boot a GC BIOS.

3 - does it have a code option?
You can't use cheats with Devolution.
 
  • Like
Reactions: leejaclane

SMarioMan

New Member
Newbie
Joined
Sep 27, 2023
Messages
4
Trophies
0
XP
31
Country
United States
Hi all! I am having some issues with the @blackb0x fork of USB Loader GX from GitHub. It seems that sometime after the last official release (3.0 r1272), loading NAND and EmuNAND channels has become broken (Wii and GameCube backups are unaffected). Any attempt to launch a NAND channel results in an indefinite black screen, requiring a hard reboot to fix.

For reproduction purposes, I have found this to occur even with a fresh USB Loader GX with default settings on an SD card running on a Wii with an up-to-date ModMii setup (SysCheck below) and no hard drive attached. Version 3.0 r1272 works flawlessly here, so I suspect something in the code broke or a default configuration change has affected this.

I have attempted to bisect but have been unable to build anything older than GitHub commit e25c4e25f0be3a4ff75be7fa1099c1bd74d0a306, as earlier builds used a legacy build system that I have been unable to replicate successfully in Docker. I have verified the presence of the issue on that commit, as well as the r1280 and r1281 releases.

Thank you for any assistance you may be able to provide.

SysCheck:
SysCheck ME v2.5.0 by blackb0x, JoostinOnline, Double_A, R2-D2199 and Nano
...runs on IOS58 (rev 6176).

Region: NTSC-U
System Menu 4.3U (v513)
Priiloader installed
Drive date: 02.13.2007
Homebrew Channel 1.1.2 running on IOS58

Hollywood v0x11
Console ID: 72034598
Console Type: Wii
Shop Channel Country: United States (49)
Boot2 v4
Found 70 titles.
Found 48 IOS on this console. 6 of them are stubs.

IOS4 (rev 404): Stub
IOS9 (rev 1034): No Patches
IOS10 (rev 404): Stub
IOS11[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS12 (rev 526): No Patches
IOS13 (rev 1032): No Patches
IOS14 (rev 1032): No Patches
IOS15 (rev 1032): No Patches
IOS16 (rev 404): Stub
IOS17 (rev 1032): No Patches
IOS20[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS21 (rev 1039): No Patches
IOS22 (rev 1294): No Patches
IOS28 (rev 1807): No Patches
IOS30[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS31 (rev 3608): No Patches
IOS33 (rev 3608): No Patches
IOS34 (rev 3608): No Patches
IOS35 (rev 3608): No Patches
IOS36 (rev 3608): No Patches
IOS37 (rev 5663): No Patches
IOS38 (rev 4124): No Patches
IOS40[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS41 (rev 3607): No Patches
IOS43 (rev 3607): No Patches
IOS45 (rev 3607): No Patches
IOS46 (rev 3607): No Patches
IOS48 (rev 4124): No Patches
IOS50[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS51 (rev 404): Stub
IOS52[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS53 (rev 5663): No Patches
IOS55 (rev 5663): No Patches
IOS56 (rev 5662): No Patches
IOS57 (rev 5919): No Patches
IOS58 (rev 6176): USB 2.0
IOS60 (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS61 (rev 5662): No Patches
IOS62 (rev 6430): No Patches
IOS70[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS80[60] (rev 65535, Info: ModMii-IOS60-v6174): Trucha Bug, NAND Access
IOS222 (rev 404): Stub
IOS223 (rev 404): Stub
IOS248[38] (rev 65535, Info: d2x-v11beta1): Trucha Bug, ES Identify, NAND Access
IOS249[56] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS251[58] (rev 65535, Info: d2x-v11beta1): Trucha Bug, NAND Access, USB 2.0
IOS254 (rev 65281): BootMii
BC v6
MIOS v10
Report generated on 09/26/2023.
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
I have attempted to bisect but have been unable to build anything older than GitHub commit e25c4e25f0be3a4ff75be7fa1099c1bd74d0a306, as earlier builds used a legacy build system that I have been unable to replicate successfully in Docker. I have verified the presence of the issue on that commit, as well as the r1280 and r1281 releases.
Have you tried using USB Loader GX r1271 with it's default settings? I'm asking because there are no EmuNAND changes prior to e25c4e2 and you've mentioned using r1272, which boots with a different IOS than every other version of the loader.

A lot of people had issues with USB Loader GX r1272, which is why Cyan made r1271 the default on SourceForge. Then I fixed the issues with r1272, kept releasing updates and then my fork become the official version as of USB Loader GX r1280.
 

SMarioMan

New Member
Newbie
Joined
Sep 27, 2023
Messages
4
Trophies
0
XP
31
Country
United States
Have you tried using USB Loader GX r1271 with it's default settings? I'm asking because there are no EmuNAND changes prior to e25c4e2 and you've mentioned using r1272, which boots with a different IOS than every other version of the loader.

A lot of people had issues with USB Loader GX r1272, which is why Cyan made r1271 the default on SourceForge. Then I fixed the issues with r1272, kept releasing updates and then my fork become the official version as of USB Loader GX r1280.
Thanks for your quick response! I just tested per your request, and r1271 works properly using default settings. Over the course of my testing, I also verified that r1256-1257 and r1269 at defaults could properly launch real NAND channels without issues.

Edit: I also wanted to add that I have previously tried manually setting the loader and game IOS selections in r1281 to match those in r1272 (loader IOS: 58, game IOS: 249) and still see the black screen on launch, suggesting that it’s not an IOS selection issue, since that default configuration works for me on r1272.

I have also reproduced the same behaviors on a second Wii with a 10-year-old CIOS configuration to verify that it’s not a problem introduced by the new CIOS.

If you want me to try anything else, let me know. I’m also curious if anyone can reproduce this, because I couldn’t find any reports of this issue elsewhere.
 
Last edited by SMarioMan,
  • Like
Reactions: jeannotte

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
I have also reproduced the same behaviors on a second Wii with a 10-year-old CIOS configuration to verify that it’s not a problem introduced by the new CIOS.
Are both systems using v1.1.2 of the Homebrew Channel?

If you want me to try anything else, let me know. I’m also curious if anyone can reproduce this, because I couldn’t find any reports of this issue elsewhere.
Yeah. Unfortunately you're the only person who's reported an issue and it's strange that it dates so far back for you.

If you drop me a private message then I could give you the files required to compile the older releases. Although first you could just reset to 618c05e and then cherry pick e25c4e2 so that you can compile the loader with what you've got?
 
Last edited by blackb0x,

SMarioMan

New Member
Newbie
Joined
Sep 27, 2023
Messages
4
Trophies
0
XP
31
Country
United States
Are both systems using v1.1.2 of the Homebrew Channel?
I am running v1.1.2 for the system with the outdated mods and v1.1.5 for the newer one.

If you drop me a private message then I could give you the files required to compile the older releases. Although first you could just reset to 618c05e and then cherry pick e25c4e2 so that you can compile the loader with what you've got?
Cherry-picking worked great here. I was concerned that it would be a merge nightmare, but it was nearly entirely resolved automatically. Thank you for your support.

After extensive bisecting, I have now resolved my issue! There were actually two offending commits.

[e3d94e4ad8a99433873fc8700c67d968ec4f5997] Enable the 480p enhancement by default
The results of my first bisect revealed that enabling the 480p fix by default is perhaps still unsafe. I was testing a launch of Photo Channel 1.1-b extensively, and it only launched without a black screen when the 480p pixel fix was disabled. This is why my issue dates so far back. However, disabling the fix was not enough to resolve my problem on its own, as I would still see a black screen on r1281 even with the 480p fix disabled.

[df76e45150bb653d0ae2609db5465606c17f2ece] Add SD card mode
On my second round of bisecting, this time with the 480p fix disabled for each test, I discovered that SD mode is not compatible with launching NAND channels. On this revision onward, SD card mode must be turned off at launch by pressing B. Otherwise, you will still face the black screen. USB mode is unaffected.

tl; dr: The fixes:
  • Disable the 480p pixel fix
  • Avoid launching in SD mode
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
[e3d94e4ad8a99433873fc8700c67d968ec4f5997] Enable the 480p enhancement by default
The results of my first bisect revealed that enabling the 480p fix by default is perhaps still unsafe. I was testing a launch of Photo Channel 1.1-b extensively, and it only launched without a black screen when the 480p pixel fix was disabled. This is why my issue dates so far back. However, disabling the fix was not enough to resolve my problem on its own, as I would still see a black screen on r1281 even with the 480p fix disabled.
That setting does have compatibility issues, which is why the Photo Channel doesn't apply the 480p fix in my build. But most other channels should work.

I've already improved the 480p patch and video width patch for my next release, so maybe you'll have more luck with it then.

[df76e45150bb653d0ae2609db5465606c17f2ece] Add SD card mode
On my second round of bisecting, this time with the 480p fix disabled for each test, I discovered that SD mode is not compatible with launching NAND channels. On this revision onward, SD card mode must be turned off at launch by pressing B. Otherwise, you will still face the black screen. USB mode is unaffected.
I can't explain this one because I'm able to launch NAND and EmuNAND channels while using SD card mode from both my Wii and vWii (Wii U). And of course it was tested extensively prior to release and nobody reported any issues :unsure:
 

SMarioMan

New Member
Newbie
Joined
Sep 27, 2023
Messages
4
Trophies
0
XP
31
Country
United States
That setting does have compatibility issues, which is why the Photo Channel doesn't apply the 480p fix in my build. But most other channels should work.
That's interesting, because I was having issues with every channel I tried, including the Photo Channel, the Internet Channel, the Wii Speak Channel, and a handful of Wii VC titles, even on r1281.
I can't explain this one because I'm able to launch NAND and EmuNAND channels while using SD card mode from both my Wii and vWii (Wii U). And of course it was tested extensively prior to release and nobody reported any issues :unsure:
Hmm. Well, if it helps, I'm using an old 2GB SD card formatted to FAT16. Thank you for trying to reproduce though.

I'm just glad I have everything working at this point.
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,312
Country
@blackb0x Is it known that Nintendont config is currently non-working on USB Loader GX on vWii? Using USBLGX's Settings > Features > Update Nintendont or just manually updating Nintendont seems to break passing the config to Nintendont. It boots up as if there's no configuration whatsoever, to the SD/USB selection menu with all options at their default values.

EDIT: To be clear, using an older Nintendont revision this still works fine, so it seems to be a clash with current Nintendont specifically.
 

LeonR

Member
Newcomer
Joined
Jan 5, 2021
Messages
7
Trophies
0
Age
25
XP
49
Country
Brazil
Hey, I have a few doubts in regards to using an emuNAND on a vWii, if someone can help me, here we go:
1 - When I create a emuNAND, all of the current channels installed on the vWii go are copied over to the emuNAND as well ? Is it safe to delete all of the channels on the emuNAND without it affecting the NAND
2 - What are the most common uses for a emuNAND ? I thought of using it to on the vWii only to store the WiiWare titles, so I can turn on the emuNAND channels on the USBLoaderGX and then it would only show the WiiWare games and not the other channels of Wii
3 - Is there an option load all of the channels through the emuNAND, maybe leaving the NAND of channels as possible ? Is there a configuration to choose what will be loaded by the NAND and the emuNAND separately or leave all to loaded by one of them ?
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
@blackb0x Is it known that Nintendont config is currently non-working on USB Loader GX on vWii? Using USBLGX's Settings > Features > Update Nintendont or just manually updating Nintendont seems to break passing the config to Nintendont. It boots up as if there's no configuration whatsoever, to the SD/USB selection menu with all options at their default values.

EDIT: To be clear, using an older Nintendont revision this still works fine, so it seems to be a clash with current Nintendont specifically.
Nintendont added an option to control what Wii U Gamepad slot to use, which introduced a new config version. But the loader doesn't yet support that config version, so when Nintendont boots it rejects the config file created by the loader.

The issue has already been fixed for the next release.

1 - When I create a emuNAND, all of the current channels installed on the vWii go are copied over to the emuNAND as well ? Is it safe to delete all of the channels on the emuNAND without it affecting the NAND
I believe you can.

2 - What are the most common uses for a emuNAND ? I thought of using it to on the vWii only to store the WiiWare titles, so I can turn on the emuNAND channels on the USBLoaderGX and then it would only show the WiiWare games and not the other channels of Wii
WiiWare and VC channels. Although the loaders built in EmuNAND support is far from perfect and many titles don't work when they're installed to an EmuNAND.

On a regular Wii you could instead use uneek/sneek, but on vWii you can only use a leaked buggy version of Neek2o.

3 - Is there an option load all of the channels through the emuNAND, maybe leaving the NAND of channels as possible ? Is there a configuration to choose what will be loaded by the NAND and the emuNAND separately or leave all to loaded by one of them ?
I'm not sure I understand the question.

You can install WAD files to the NAND or EmuNAND and configure the loader to display either EmuNAND only, NAND only or both at the same time.
 
  • Like
Reactions: Vague Rant

bololabich

Active Member
Newcomer
Joined
Feb 27, 2015
Messages
36
Trophies
0
XP
190
Country
Ireland
either I did something wrong or it glitches out the GUI when priiloader for vWii is installed. That's a bit of a shame because priiloader autobooting complements the loader pretty well.

272118058-cb843d1f-784b-43d1-bde6-3d26a2f9420a.png

272118035-068bf63f-4f57-4081-90bf-86a86b17b36a.png

Post automatically merged:

either I did something wrong or it glitches out the GUI when priiloader for vWii is installed. That's a bit of a shame because priiloader autobooting complements the loader pretty well.

272118058-cb843d1f-784b-43d1-bde6-3d26a2f9420a.png

272118035-068bf63f-4f57-4081-90bf-86a86b17b36a.png
 

Maeson

Well-Known Member
Member
Joined
Apr 3, 2013
Messages
1,180
Trophies
1
XP
3,396
Country
Spain
@SMarioMan @blackb0x

...Actually, I have experience with that glitch, if it's the same thing, but to me it manifests in a different way.

I am able to launch Nand and Emunand channels if I don't have any USB connected, or if I have one of my Wii-related USB drives, but if I am using the one I have specifically for GC backups, it stays on black. I've always assumed it was something I've done myself or the USB itself, but it works perfectly fine and only happens with USB Loader GX when funny enough It shouldn't be using that USB at all to begin with, and now that I see your messages I wonder if it's instead a glitch.

My EmuNand and Neek are on SD, by the way.


Oh, and by the way, just for curiosity... Has been any new information about the 480p Fix por more than Rev01 systems?
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
Country
United Kingdom
@bololabich
Priiloader 0.10.0 changes the index for system menu assets on vWii and that breaks banners for USB Loader GX. This issue has already been fixed for the next release though, so until I release it you should either avoid using Priiloader or go to the loaders GUI settings and set Game Window Mode to Rotating Disc.
This workaround won't fix the banner view though.

I am able to launch Nand and Emunand channels if I don't have any USB connected, or if I have one of my Wii-related USB drives, but if I am using the one I have specifically for GC backups, it stays on black. I've always assumed it was something I've done myself or the USB itself, but it works perfectly fine and only happens with USB Loader GX when funny enough It shouldn't be using that USB at all to begin with, and now that I see your messages I wonder if it's instead a glitch.

My EmuNand and Neek are on SD, by the way.
So your EmuNAND (via neek) is on your SD card, but if you connect a specific USB drive then all channels/games from your EmuNAND stay on a black screen? If I've understood things correctly then how large is the USB drive that you use for your GC backups, is it MBR or GPT, what's the cluster size, how many partitions does it have and are they all FAT32?

Oh, and by the way, just for curiosity... Has been any new information about the 480p Fix por more than Rev01 systems?
No. And unfortauntly I don't have the hardware or the eyesight to notice subtle differences to the video output by fuzzing registers either.

I've heard that RVL-CPU-01 systems should use the BU9055EKV encoder chip and that other revisions of the Wii use different chips. So I guess they either require a different patch or they can't be patched.

The next version of the loader will be able to apply the 480p fix to more games than before. But I guess you won't see a difference if you don't have an older Wii.
 

Maeson

Well-Known Member
Member
Joined
Apr 3, 2013
Messages
1,180
Trophies
1
XP
3,396
Country
Spain
So your EmuNAND (via neek) is on your SD card, but if you connect a specific USB drive then all channels/games from your EmuNAND stay on a black screen? If I've understood things correctly then how large is the USB drive that you use for your GC backups, is it MBR or GPT, what's the cluster size, how many partitions does it have and are they all FAT32?


No. And unfortauntly I don't have the hardware or the eyesight to notice subtle differences to the video output by fuzzing registers either.

I've heard that RVL-CPU-01 systems should use the BU9055EKV encoder chip and that other revisions of the Wii use different chips. So I guess they either require a different patch or they can't be patched.

The next version of the loader will be able to apply the 480p fix to more games than before. But I guess you won't see a difference if you don't have an older Wii.

It doesn't matter if it's Emunand or Emunand+Neek, as I launch some games with one and others with Neek (the ones that truly need it), neither boots and also things from the real Nand fail (This morning I got a black screen going to the Mii Maker and I was worried until I remembered I had that particular USB drive plugged).

The USB is a Sandisk, 128GB, MBR, only one partition, Fat32. 32KB Cluster. I only mentioned in case it could help find out the cause, it's not much of an issue to me beyond being dumb and forgetting about it. It's just so specific that I remembered it the moment I saw the conversation.

And thank you for your answer on the 480p fix. I hope one day something can be found, while the change isn't nearly as drastic as "our victory" against the Deflicker menace" which I still celebrate, it'd be nice to have.

Have a good day, Blackb0x.
 
Last edited by Maeson,
  • Like
Reactions: blackb0x

grandosegood

Well-Known Member
Member
Joined
Oct 5, 2017
Messages
340
Trophies
0
Age
36
XP
935
Country
United States
hey there, i have some custom roms/emulators that don't appear in gametdb when automatically downloading images (understandably so). is there an easy way or a template i should use to make custom images for these games? they are single rom loaders for various system (n64, ps1, arcade, snes)

edit: i also have a second question

i installed some forwarder wads onto my sysnand, they loaded the game whether the data was on sd or usb. when i put those same forwarders on emunand, i have to turn off "block ios reload" in order for the forwarder to actually load the game. does this have something to do with usb access? Thanks.
 
Last edited by grandosegood,

grandosegood

Well-Known Member
Member
Joined
Oct 5, 2017
Messages
340
Trophies
0
Age
36
XP
935
Country
United States
hey there, i have some custom roms/emulators that don't appear in gametdb when automatically downloading images (understandably so). is there an easy way or a template i should use to make custom images for these games? they are single rom loaders for various system (n64, ps1, arcade, snes)

edit: i also have a second question

i installed some forwarder wads onto my sysnand, they loaded the game whether the data was on sd or usb. when i put those same forwarders on emunand, i have to turn off "block ios reload" in order for the forwarder to actually load the game. does this have something to do with usb access? Thanks.

the issue was some of the boot.dol needed to be replaced with the single rom loaders from the other thread. i attempted to update some of the emulators, but it seems not all of the updated versions can load meta.xml. also, had to fix ps1 file renames
 

aleps

Member
Newcomer
Joined
Sep 3, 2023
Messages
7
Trophies
0
Age
23
XP
137
Country
Argentina
Hello.
Is there a way to report bugs?
I have updated to the latest version and I find that if I start a game quickly the screen goes black. On the other hand, if I wait a few seconds on the banner, the game starts correctly.
 
  • Like
Reactions: Kirby6417

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, Good.