Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,192,341
  • Replies 29,369
  • Likes 48

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
Sorry for the late reply. It is like you said, I am trying to force this game into NTSC 480i or 480p, which works when I set the necessary options with nintendont via HBL, but not if I set the options with USB Loader GX (I basically just use USB Loader GX as a frontend for nintendont).

Nintendont probably changed some of the launch flags at some point, I doubt any of the Wii loaders are still being updated so I'll probably just end up using Nintendont on its own without a frontend (too bad nintendont on its own doesn't support game specific options)

USB Loader GX has been updated every time Nintendont has changed its config structure. Are you certain you're using the latest (r1262) version of GX?
 

TeconMoon

Well-Known Member
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,620
Country
United States
USB Loader GX has been updated every time Nintendont has changed its config structure. Are you certain you're using the latest (r1262) version of GX?

Yes absolutely certain. If I recall, USB Loader GX just passes flags directly to nintendont now instead of updating the config file on the SD card, although the old version of passing flags to nintendont by just modifying the config file is still available as an option. I'll enable that and give it a try.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
Yes absolutely certain. If I recall, USB Loader GX just passes flags directly to nintendont now instead of updating the config file on the SD card, although the old version of passing flags to nintendont by just modifying the config file is still available as an option. I'll enable that and give it a try.

r1262 should work fine with Nintendont from that past 3-4 months. Usually the symptom of mismatched config structs is Nintendont simply ignoring it and displaying the SD/USB prompt. It's possible the game you're trying to load just doesn't work with the settings you specified.
 

TeconMoon

Well-Known Member
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,620
Country
United States
r1262 should work fine with Nintendont from that past 3-4 months. Usually the symptom of mismatched config structs is Nintendont simply ignoring it and displaying the SD/USB prompt. It's possible the game you're trying to load just doesn't work with the settings you specified.
I specified the exact same options in Nintendont and USB Loader GX, trying to force Luigi's Mansion PAL to work on my NTSC Wii U on my NTSC TV.

Forcing NTSC with Nintendont works, trying to force NTSC going through USB Loader GX first doesn't.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
I specified the exact same options in Nintendont and USB Loader GX, trying to force Luigi's Mansion PAL to work on my NTSC Wii U on my NTSC TV.

Forcing NTSC with Nintendont works, trying to force NTSC going through USB Loader GX first doesn't.

Can you turn on the OSReport option and try booting the game then post the log? (Please use spoiler tags.)
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
even Force interlace is not working?
do you have "progressive patch" enabled in USBGX?


The passed options are exactly the same than the nincfg.bin content, it's just not written to SD.
You can enable its write to SD to compare with the one generated by nintendont from HBC.
launch nintendont, backup the config, launch USBGX with "create the file" option and backup it too.
compare both and see which bit is different. (or post them both here and we will compare for you)
 
  • Like
Reactions: John_Ice

TeconMoon

Well-Known Member
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,620
Country
United States
@Cyan @GreyWolf

Thanks for the follow up guys! To get Luigi's Mansion PAL to work properly, I at a minimum need to Force NTSC, AND use the "Patch PAL50" option in Nintendont. If either isn't on then the game tries to force 50Hz. (Luigi's Mansion Pal is VERY persistent about trying to use 50Hz)

After examining the log files generated using USB Loader GX and Nintendont, the "PAL50 Patch" option in USB Loader GX isn't being passed from USB Loader GX to Nintendont. (Labeled as "Patch PAL50" in Nintendont)

Here is a log dump from loading the game with USB Loader GX, and from Nintendont:

Nintendont IOS58 v25.32
Built : Dec 18 2016 02:37:12
Version : 4.432
Game path: /games/Luigi's Mansion/game.iso
ReadSpeed:Disabled
EXIInit Start
Trying to open /saves/GLMP.raw
Kernel Start
DIP:Apploader, preparing to patch
DIP:DOL Size:3739652 MinOff:0x00003100 MaxOff:0x004CB0E0
DIP:DOL EntryPoint::0x80002F8C, GameEntry::0x80003140
Patch:Offset:0x00003100 EOffset:0x004CB0E0 Length:004C7FE0
Patch:Game ID = 474c4d50
PatchWidescreen:[Luigis Mansion] applied
Patch:[SI] applied 19 times
Patch:[AI] applied 20 times
Patch:[DI] applied 41 times
Patch:[__CARDUnlock IPL B] applied (0x001A276C)
Patch:[OSExceptionInit] applied (0x001DDB9C)
Patch:[SetInterruptMask] applied (0x001DFD28)
Patch:[__OSDispatchInterrupt] applied (0x001E0110)
Patch:[__OSResetSWInterruptHandler] applied (0x001E1258)
Patch:[OSGetResetButtonState A] applied (0x001E12C8)
Patch:[Hook:OSSleepThread] applied (0x001E30B8)
Patch:[EXIImm B] applied (0x001E3774)
Patch:[EXIDMA B] applied (0x001E3A70)
Patch:[EXISync C] applied (0x001E3B5C)
Patch:[__EXIProbe B] applied (0x001E3E28)
Patch:[EXISelect B] applied (0x001E4298)
Patch:[EXIDeselect B] applied (0x001E43C4)
Patch:[EXIntrruptHandler C] applied (0x001E44DC)
Patch:[TCIntrruptHandler C] applied (0x001E45A4)
Patch:[EXILock B] applied (0x001E4990)
Patch:[EXIUnlock B] applied (0x001E4AE4)
Patch:[__fwrite D] applied (0x001E4F94)
Patch:[CompleteTransfer A] applied (0x001E5228)
Patch:[SIEnablePollingInterrupt A] applied (0x001E5898)
Patch:[SIEnablePollingInterrupt A] applied (0x001E589C)
Patch:[SIInit D] applied (0x001E5ADC)
Patch:[SIInterruptHandler] applied (0x001E54F4)
Patch:[SIInterruptHandler] applied (0x001E5620)
Patch:[__SITransfer A] applied (0x001E5B8C)
Patch:[__SITransfer A] applied (0x001E5C74)
Patch:[SIGetType A] applied (0x001E6574)
Patch:[__DVDInterruptHandler]: 0x001E7844 (0x001E7844)
Patch:[VIConfigure] applied (0x001ECA48)
Patch:[PADRead A] applied (0x001EE4C0)
Patch:[PADControlMotor B] applied (0x001EE88C)
Patch:[ARStartDMA] applied (0x001EFCF4)
Patch:[ARInit] skipped (0x001EFE4C)
Patch:[__ARHandler] skipped (0x001EFF18)
Patch:[__ARChecksize A] applied (0x001F050C)
Patch:[ARQPostRequest] applied (0x001F0ADC)
Patch:[__CARDReadStatus] applied (0x001F1098)
Patch:[__CARDClearStatus] applied (0x001F1188)
Patch:[__CARDStat A] applied (0x001F1614)
Patch:[GXInit] stw r5,-0xE710(r13) (0x001F5DDE)
Patch:[PI_FIFO_WP] rlwinm r6,r6,0,3,1 (0x001F7054)
Patch:[PI_FIFO_WP] rlwinm r0,r0,0,3,1 (0x001F70D0)
Patch:[PI_FIFO_WP] rlwinm r3,r0,0,3,1 (0x001F72E0)
Patch:[__GXSetVAT A] applied (0x001F87D8)
Patch:[GXInitTlutObj A] applied (0x001FB3C8)
Patch:[GXLoadTlut] skipped (0x001FB410)
Patch:[PI_FIFO_WP] extrwi r30,r0,1,2 (0x001FE630)
Patch:[DSP v11] patched (0x00380480)
Patch:Replaced NTSC with 480p (0x003870A8)
Patch:Replaced NTSC with 480p (0x003870E4)
Patch:Replaced PAL60 with 480p (0x00387120)
Patch:Replaced PAL60 with 480p (0x00387198)
Patch:[PADInit] applied (0x001EE4BC)
Possible Code Size: 00001324
Patch:Copied /codes/GLMP01.gct to memory
Patch:[__OSInitAudioSystem] not found
Patch:[__DSPHandler] not found
Patch:[PADControlAllMotors] not found
Patch:[PADIsBarrel] not found
Patch:[__PADSetSamplingRate] not found
Patch:[ReadROM] not found
Patch:[__OSReadROM] not found
Patch:Using a EXI Timing of 3800
Jumping to 0x80003140
Game Exit
EXI: Saving memory card...Done!
Nintendont IOS58 v25.32
Built : Dec 18 2016 02:37:12
Version : 4.432
Game path: /games/Luigi's Mansion/game.iso
ReadSpeed:Disabled
EXIInit Start
Trying to open /saves/GLMP.raw
Kernel Start
DIP:Apploader, preparing to patch
DIP:DOL Size:3739652 MinOff:0x00003100 MaxOff:0x004CB0E0
DIP:DOL EntryPoint::0x80002F8C, GameEntry::0x80003140
Patch:Offset:0x00003100 EOffset:0x004CB0E0 Length:004C7FE0
Patch:Game ID = 474c4d50
PatchWidescreen:[Luigis Mansion] applied
Patch:[SI] applied 19 times
Patch:[AI] applied 20 times
Patch:[DI] applied 41 times
Patch:[__CARDUnlock IPL B] applied (0x001A276C)
Patch:[OSExceptionInit] applied (0x001DDB9C)
Patch:[SetInterruptMask] applied (0x001DFD28)
Patch:[__OSDispatchInterrupt] applied (0x001E0110)
Patch:[__OSResetSWInterruptHandler] applied (0x001E1258)
Patch:[OSGetResetButtonState A] applied (0x001E12C8)
Patch:[Hook:OSSleepThread] applied (0x001E30B8)
Patch:[EXIImm B] applied (0x001E3774)
Patch:[EXIDMA B] applied (0x001E3A70)
Patch:[EXISync C] applied (0x001E3B5C)
Patch:[__EXIProbe B] applied (0x001E3E28)
Patch:[EXISelect B] applied (0x001E4298)
Patch:[EXIDeselect B] applied (0x001E43C4)
Patch:[EXIntrruptHandler C] applied (0x001E44DC)
Patch:[TCIntrruptHandler C] applied (0x001E45A4)
Patch:[EXILock B] applied (0x001E4990)
Patch:[EXIUnlock B] applied (0x001E4AE4)
Patch:[__fwrite D] applied (0x001E4F94)
Patch:[CompleteTransfer A] applied (0x001E5228)
Patch:[SIEnablePollingInterrupt A] applied (0x001E5898)
Patch:[SIEnablePollingInterrupt A] applied (0x001E589C)
Patch:[SIInit D] applied (0x001E5ADC)
Patch:[SIInterruptHandler] applied (0x001E54F4)
Patch:[SIInterruptHandler] applied (0x001E5620)
Patch:[__SITransfer A] applied (0x001E5B8C)
Patch:[__SITransfer A] applied (0x001E5C74)
Patch:[SIGetType A] applied (0x001E6574)
Patch:[__DVDInterruptHandler]: 0x001E7844 (0x001E7844)
Patch:[VIConfigure] applied (0x001ECA48)
Patch:[PADRead A] applied (0x001EE4C0)
Patch:[PADControlMotor B] applied (0x001EE88C)
Patch:[ARStartDMA] applied (0x001EFCF4)
Patch:[ARInit] skipped (0x001EFE4C)
Patch:[__ARHandler] skipped (0x001EFF18)
Patch:[__ARChecksize A] applied (0x001F050C)
Patch:[ARQPostRequest] applied (0x001F0ADC)
Patch:[__CARDReadStatus] applied (0x001F1098)
Patch:[__CARDClearStatus] applied (0x001F1188)
Patch:[__CARDStat A] applied (0x001F1614)
Patch:[GXInit] stw r5,-0xE710(r13) (0x001F5DDE)
Patch:[PI_FIFO_WP] rlwinm r6,r6,0,3,1 (0x001F7054)
Patch:[PI_FIFO_WP] rlwinm r0,r0,0,3,1 (0x001F70D0)
Patch:[PI_FIFO_WP] rlwinm r3,r0,0,3,1 (0x001F72E0)
Patch:[__GXSetVAT A] applied (0x001F87D8)
Patch:[GXInitTlutObj A] applied (0x001FB3C8)
Patch:[GXLoadTlut] skipped (0x001FB410)
Patch:[PI_FIFO_WP] extrwi r30,r0,1,2 (0x001FE630)
Patch:[DSP v11] patched (0x00380480)
Patch:Replaced NTSC with 480p (0x003870A8)
Patch:Replaced NTSC with 480p (0x003870E4)
Patch:Replaced PAL60 with 480p (0x00387120)
Patch:Replaced PAL50 with 480p (0x0038715C)
Patch:Replaced PAL60 with 480p (0x00387198)
Patch:[PADInit] applied (0x001EE4BC)
Possible Code Size: 00001324
Patch:Copied /codes/GLMP01.gct to memory
Patch:[__OSInitAudioSystem] not found
Patch:[__DSPHandler] not found
Patch:[PADControlAllMotors] not found
Patch:[PADIsBarrel] not found
Patch:[__PADSetSamplingRate] not found
Patch:[ReadROM] not found
Patch:[__OSReadROM] not found
Patch:Using a EXI Timing of 3800
Jumping to 0x80003140
Game Exit
EXI: Saving memory card...Done!

You'll notice the line: Patch:Replaced PAL50 with 480p (0x0038715C) is missing from the USB Loader GX Log. I also disabled autoboot in USB Loader GX so I could check the options before starting the game in Nintendont, and "Patch PAL50" indeed was left off after moving from USB Loader GX to Nintendont.

Not sure if this is something that will eventually be fixed in USB Loader GX, but either way thanks for reading and thanks for the time!
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
maybe it's a new option? I don't remember any "patch pal50" setting passed as argument/ninconfig.
I'll look at nintendont sources.
thanks for your time too, testing and reporting.
 

Zabhahs

Goron
Member
Joined
Sep 20, 2015
Messages
264
Trophies
0
Location
Seattle area
XP
359
Country
United States
Hey guys when i autoboot from priiloader it gets stuck on reloading to config files cios. this doesnt happen when i boot it through homebrew channel. It also doesnt detect my split brawl wbfs on my usb drive.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
Hey guys when i autoboot from priiloader it gets stuck on reloading to config files cios. this doesnt happen when i boot it through homebrew channel. It also doesnt detect my split brawl wbfs on my usb drive.

Don't autoboot the forwarder installed to your NAND from Priiloader. There is a forwarderv51.dol you can install to Priiloader instead.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,804
Trophies
1
Age
44
XP
6,577
Country
Germany
Has the WiiFlow Plugin Feature already been implemented?
Although I don't care that much any longer since there's RetroArch for Wii U. :P

Btw @Cyan : Got another HDD (5 TB) and I've got the same problem: I need to launch WiiFlow first otherwise USBLGX freezes in the step "initializing (or loading) usb device".
However: I haven't tried your trick to change the IOS globally which I will try probably today when I get home. Just wanted to let you know that it's maybe a bigger bug since it's appearing with different HDDs.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
using IOS58 should fix that issue, as long as it doesn't crash.
some users had issues with IOS58 that's why we removed it from being the default IOS for the loader.

I didn't get the time to upload the pluginMod sources to github, sorry.
the sources are available few page back, from Fledge. I only edited minor things (pictures, one fix to load from correct partition)
 
  • Like
Reactions: lordelan

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,804
Trophies
1
Age
44
XP
6,577
Country
Germany
using IOS58 should fix that issue, as long as it doesn't crash.
some users had issues with IOS58 that's why we removed it from being the default IOS for the loader.

I didn't get the time to upload the pluginMod sources to github, sorry.
the sources are available few page back, from Fledge. I only edited minor things (pictures, one fix to load from correct partition)
Alright thanks! I'll report back once I've tested IOS58.

So r1262 from your sig is the most recent build?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
the most recent is 1263, but has no changes over 1262 (it's just a recompile using an updated library for XML parsing) so I didn't put it in my signature as it's not useful to end user.
 

MasterZoen

Well-Known Member
Newcomer
Joined
Nov 16, 2016
Messages
60
Trophies
0
Age
43
XP
114
Country
United States
Hello, everyone. I'm having difficulties running my Wii VC titles from emuNand on the vWii.

I've followed this guide, installing d2x-v10-beta52-vWii across all 3 cIOS slots. I have a 1TB drive with 2 partitions. USB1 is a 100GB Fat32 partition which I dumped the Nand too, and USB2 is the other 800+ GB in a NTFS partition where all my backups are stored as ISOs. I've been able to install many titles to the emuNand but when I choose to run them they just return back to the vwii menu.
Anybody have an idea what I've done wrong?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,804
Trophies
1
Age
44
XP
6,577
Country
Germany
the most recent is 1263, but has no changes over 1262 (it's just a recompile using an updated library for XML parsing) so I didn't put it in my signature as it's not useful to end user.
Okay. Changing IOS to 58 really did the trick. It seems USBLGX takes a bit longer to wake up the drive than WiiFlow but I don't care that much as everything's working fine now and I'm happy. Thank you. :)
 

John_Ice

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
198
Trophies
1
Location
Here we go! Mama mia!
XP
212
Country
United States
Hello, everyone. I'm having difficulties running my Wii VC titles from emuNand on the vWii.

I've followed this guide, installing d2x-v10-beta52-vWii across all 3 cIOS slots. I have a 1TB drive with 2 partitions. USB1 is a 100GB Fat32 partition which I dumped the Nand too, and USB2 is the other 800+ GB in a NTFS partition where all my backups are stored as ISOs. I've been able to install many titles to the emuNand but when I choose to run them they just return back to the vwii menu.
Anybody have an idea what I've done wrong?

Hi, Me too, the first time I formatted my drive in Fat32 didn't work. I reformat it with FAT32_GUI_Formatter, and I unchecked the quick format and make it 32k cluster, it took 4 hours to format. All working perfect after this. So try to format your first partition with FAT32_GUI_Formatter. Make sure to make your partition active and primary too.

Here the link for FAT32_GUI_Formatter

Good luck.
 
  • Like
Reactions: lordelan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: DAYTONAAAAAAAA!!!!!!!!!!