Hacking USB Loader GX

  • Thread starter Thread starter blackb0x
  • Start date Start date
  • Views Views 8,057,839
  • Replies Replies 30,225
  • Likes Likes 74
I'm not sure about where development of this is going on since I don't see any GitHub activity, so I thought I'd report here an issue that's not exclusive to usbloader gx but probably to any game loader (from disc or otherwise).
Quoting from https://github.com/DacoTaco/priiloader/issues/395:

The solution is what DacoTaco found on that Github thread, which in loaders' cases should be done before a game is started. It should not have any other consequences other than fixing these Japanese games on non-JP systems/JP systems where the System Menu was not started since booting the console. I fixed it by adding the following code here at line 300: https://github.com/wiidev/usbloadergx/blob/enhanced/source/usbloader/GameBooter.cpp#L300

C:
    if (gameHeader.id[3] == 'J')
        write32(0x0D800018, read32(0x0D800018) | (1<<17));
    else
        write32(0x0D800018, read32(0x0D800018) & 0xFFFDFFFF);
If I'm not mistaken this was discussed between blackb0x and Daco in the Modmii Development discord (we discuss more than just ModMii as it turns out, lol). I think a different solution than the one you proposed will be included in the final version of r1282 which is expected within the next week or 2. At that time you can expect there to be more activity in github.
 
  • Like
Reactions: blackb0x
I'm not sure about where development of this is going on since I don't see any GitHub activity, so I thought I'd report here an issue that's not exclusive to usbloader gx but probably to any game loader (from disc or otherwise).
Yeah, I'm aware of that issue, since it was me that found the solution after Daco was asking about it on a private discord :lol:

I've already got a similar fix in place for the stable version. But thanks for taking your time to point it out.

It happened with 3 different games in just a couple minutes of messing around with the menu, but now that I'm intentionally trying to trigger I can't get it to happen again.
That might be fixed in the final version, since I've been going over the code and applying fixes and optimisations.

My Wii was in 4:3 but I was also using 16:9 forcing for Skyward Sword and Mario Galaxy and after I kept changing the FB width setting (I am picky I know) it eventually stopped working after changing it and the Wii's aspect setting.
Are you using component cables and have you changed any video settings within the loader, other than the width?

The patches for these settings should always work with USB Loader GX r1282, since they're stored in an unused area.
 
Last edited by blackb0x,
  • Like
Reactions: tmnr1992
Hi, thanks for your work in advance.
I tested r1282 with JustDance games and working good 😃
But others not working: TV Show King [RXKPGL] (stopped or crash when start 2 players the game), Zumba 4 World Party [SZ3PGT] (the menu not working and is imposible do nothing).
I wait you can fix, thanks!
 
But others not working: TV Show King [RXKPGL] (stopped or crash when start 2 players the game), Zumba 4 World Party [SZ3PGT] (the menu not working and is imposible do nothing).
A lot of the time people have outdated global settings applied, which can cause issues like this. So reset the loader to it's default settings and then these games should work correctly.
 
I tried loading up a theme on r1282 and it crashed
Try again. It's a known issue with the loader in general, but it should hopefully be fixed in the upcoming stable version.

The public test version will stop working in a matter of hours to minutes though. And I do plan to release the stable version very soon, but there's been a slight delay while something gets patched. But it'll be worth the wait :)
 
I tried loading up a theme on r1282 and it crashed
Try again. It's a known issue with the loader in general, but it should hopefully be fixed in the upcoming stable version.

The public test version will stop working in a matter of hours to minutes though. And I do plan to release the stable version very soon, but there's been a slight delay while something gets patched. But it'll be worth the wait :)
I'm very excited for the new version thank you so much for maintaining USB loader GX
 
Try again. It's a known issue with the loader in general, but it should hopefully be fixed in the upcoming stable version.

The public test version will stop working in a matter of hours to minutes though. And I do plan to release the stable version very soon, but there's been a slight delay while something gets patched. But it'll be worth the wait :)
If needed, can the console clock be set back in time to keep 1282 alive until the stable version?
 
I just updated and I'm getting a screen with different colored bars upon startup (the Wii Menu sound plays in the background as usual). I got a little scared and thought it was my cables or my Wii dying but I tried launching a Wii channel from the menu and it works fine, so...
 
I'm getting a screen with different colored bars upon startup (the Wii Menu sound plays in the background as usual).
That's new to me.

I got a little scared and thought it was my cables or my Wii dying but I tried launching a Wii channel from the menu and it works fine, so...
So is that the Wii System Menu or the loader?

If you saw these coloured bars while using the Wii System Menu, it was likely just a glitch — try rebooting your console. But if the colours appeared while using the loader, delete the apps/usbloader_gx folder and reinstall the update.
 
Last edited by blackb0x,
  • Like
Reactions: jeannotte
That's new to me.


So is that the Wii System Menu or the loader?

If you saw these coloured bars while using the Wii System Menu, it was likely just a glitch — try rebooting your console. But if the colours appeared while using the loader, delete the apps/usbloader_gx folder and reinstall the update.
It was from the loader. What I did was update it, start it from the forwarder and when the logo appeared it crashed and returned me to the Wii menu (it's a PAL region btw). I started it again from the HBC channel and this time I got the typical colored bars as if the signal had been lost. I've also tried it on another TV I own and the same thing happens...
 
What I did was update it, start it from the forwarder and when the logo appeared it crashed and returned me to the Wii menu (it's a PAL region btw).
So you don't even see the typical black loading screen with the revision shown in the bottom left corner and text in the center of the screen as it's loading stuff from your USB drive or SD card?

I haven't changed anything that would cause the loader to crash so early, but there have been some video related changes in one of the libraries the app uses (libogc). So are you using component, composite, scart or some kind of a HDMI adapter?
 
Cool, thank's @blackb0x

1000163935.jpg
 
  • Like
Reactions: jeannotte
So you don't even see the typical black loading screen with the revision shown in the bottom left corner and text in the center of the screen as it's loading stuff from your USB drive or SD card?

I haven't changed anything that would cause the loader to crash so early, but there have been some video related changes in one of the libraries the app uses (libogc). So are you using component, composite, scart or some kind of a HDMI adapter?
Nope, when the logo appears I get these colored bars (as shown in the photo).
I have it connected via composite.

EDIT

I went back to version 3.0 1281 and it works this time so it must be some kind of bug...

For now I'll be using this version until it's fixed.
 

Attachments

  • IMG_20250625_191900.jpg
    IMG_20250625_191900.jpg
    367.9 KB · Views: 18
Last edited by Deleted member 663203,
Nope, when the logo appears I get these colored bars (as shown in the photo).
I have it connected via composite.

EDIT

I went back to version 3.0 1281 and it works this time so it must be some kind of bug...

For now I'll be using this version until it's fixed.
Just here to reply that I'm having the same issue.
I'm only seeing colored bars. Sound plays, I can control the menu — though I gotta do it blind, since I can only see the colored bars. In fact, I even managed to boot a game.
Interestingly enough, while I could hear sound playing perfectly I kept seeing vertical bars when ingame. They were all red though — but this is a video mode issue caused by PAL vs NTSC, I already know that. I can fix that once I can see the menus and set up the video mode as It was before. I lost my config because I tried reinstalling USB loader GX by deleting the whole folder.

I'm on PAL Wii connected via Scart RGB on a CRT, 480i 60hz mode.

Edit: also, the issue only present on usbloadergx, both launching it via menu forwarder and homebrew launcher.
Anything else works fine. I launched a couple of games via the main Nintendont app and it all works fine.
 
Last edited by JabbaLubba,
Hi, I have the same issue.
The earlier test version was giving me the stable message. I checked date and time and these were ok (or need the date and time be in a certain range?).
Then I checked the github and saw the new release of 4 hours ago, and installed that one. Now I see the colored bars as well. However I hear the music of the menu I configured, so apart from the screen it seems to get into USB Loader GX again.
 
Hi, I have the same issue.
Are you also using a composite cable or scart cable?

I'm using a component and my Wii is set to 480p, so I don't see any issues. But I suspect that one of these commits is what's caused this.

https://github.com/devkitPro/libogc/commit/52c525a13fd1762c10395c78875e3260f94368b5
https://github.com/devkitPro/libogc/commit/cefe2928349645d709d21d74fd6f98d7c7b1d6f8
https://github.com/devkitPro/libogc/commit/78c8b46ef4c76a0575ef510a0c89f6c6281a7b50
https://github.com/devkitPro/libogc/commit/4b3240bde9c20371c5a044e51d2b1055ea05e454
https://github.com/devkitPro/libogc/commit/9bb07e55bd00ac94664363bba3580a2e524582f9

If I can find my composite cable I'll hopefully be able to recreate the issue. Then I can figure out what's causing it.

If you downgrade to r1281 for the time being you might need to go to Features Settings and select Reset Cached Titles. Otherwise your cached list of games might be showing garbage.
 
Last edited by blackb0x,

Site & Scene News

Popular threads in this forum