Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,153,653
  • Replies 29,352
  • Likes 47

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
If you have a Wii, are they working fine on Wii using the same setup (device and config).

if you use the "Window mode : Rotating Disc" setting instead of "Banner animation", does it helps?
There are reports that some games doesn't display the banner in Banner mode/banner layout, it seems a random problem. I didn't encounter this problem yet. Users think it's due to number of games.
 

bobmcjr

Well-Known Member
Member
Joined
Apr 26, 2013
Messages
1,156
Trophies
1
XP
3,208
Country
United States
I switched to rotating disc mode and moved all of the wbfs files that display properly to a separate folder. These 6 games show up as 0.00GB still even with rotating disc mode. Same thing happens on a regular wii. Currently converting these 6 games back to iso's and see if they'll work then.
Edit: They seem to work as iso files so I'm converting them back to wbfs in case they were built improperly the first time.
Edit2: Yep, they were just semi-broken wbfs files which I were able to recover :D
Edit3: definitely my USB loader of choice from now on. Just wish it had a built in cheat editor (either a basic text editor or have it read which cheats have X's in their values and prompt to modify)
 

DEFIANT

a daft old man who stole a magic box and ran away
Member
Joined
Dec 9, 2008
Messages
364
Trophies
1
Location
Gallifrey
Website
www.youtube.com
XP
1,380
Country
United States
my wii

sysmenu 4.1
serial lu6595XXXXX
boot 2 as ios only
ios 236
ios d2x v10 beta 52 (56) 249
ios d2x v10 beta 52 (57) 250
ios 16-64-v257

all other ios are untouched.

lastest version of usbloadergx R1218

code support is broken for all nintendo games. maybe others further testing is in progress. both real nand and neek2o have same results of not working.
 

game_rat

Well-Known Member
Newcomer
Joined
Feb 7, 2011
Messages
96
Trophies
0
XP
187
Country
United States
Just want to clarify something about nand emulation and GX (currently using latest beta 1218). Going forward, should GX not use a emunand that was created by something other than GX? I've read several posts about GX writing to a nand in a different way than other apps but I'm not sure what that means. I tend to play around with different loaders and generally allow them to write to the same emunand. Should GX only use a nand extracted by GX? If so, will I still be able to use nand modifying apps such as "SaveGameManger GX" and "ShowMiiWads" or am I restricted to using the emunand tools within GX? Thanks in advance.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
my current NAND is one extracted from Bootmii and I used it with Sneek successfully.

It doesn't depend if it's done with USBLoaderGX or not.

What can matter is the way non-FAT characters are converted. On Wii's NAND, filenames can have any characters such as >:!* etc.
these characters are incompatible on FAT32, and NTFS (and Windows in general).
in order to correctly dump the NAND to FAT32, these characters need to be converted to another characters.

depending on the used program to dump the NAND, these "converted character" could be different.
USBLoaderGX use the same scheme as d2x cIOS (replacing characters with their html entities) :
Code:
	{ ">", '>' },
	{ "&lt;", '<' },
	{ "&st;", '*' },
	{ "&cl;", ':' },
	{ "&qt;", '\"' },
	{ "&qm;", '?' },
	{ "&vb;", '|' },

Not all dumps have these characters, it's using savegames using game titles, etc. (for example "Game Title : Subtitle")
You can use dumps done with other program as long as they don't contains one of these characters which were converted differently for FAT32.

When you use d2x for EmuNAND, it's also using html entities code.

What matters :
Modmii dump + Showmiiwad to extract the dump will use a different method than using cIOS to read the NAND + a loader to extract it, or cIOS + fstoolbox, etc.
If you have such incompatible character, the NAND will work fine as long as you don't try to launch a title using a different method to write these characters to FAT.

This is why it's recommended to make a dump using the program you intend to use EmuNAND with. This way you are sure that it's using the same method for reading and writing it. (but remember, it's not a problem to use different dumps, done with different program).
 
  • Like
Reactions: game_rat

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
It's used to patch the internal dol's video information.
when you launch a game, it checks the current Wii's video mode and then look in the dol for a matching video mode to use the same one than the console. if no video mode is found in the dol, it's using a different/nearest possible video mode.

For example, if your Wii is set to 480p, but the game is intended for 480i only, if you use "Force 480p" the game will still fallback to 480i because it doesn't have 480p in it's internal compatible video mode.
Patching the dol replace the videos inside the dol using the one set in the loader. if you use "Force PAL 480p" then it will replace/add 480p inside the dol, when the game is launched it will find a matching video pattern and set the game in 480p.
It's useful for games which are 480i only : Mario Marty 8, Moto GP 8, Mad World (usa only), etc.


There are different patching method and results :

• Video mode : Region Patch
This one replace only the dol's internal and known video mode patterns to the corresponding signal based on the console's region.
If you play a PAL game, and are using NTSC console, it will replace PAL signal to corresponding NTSC signal, keeping interlace and progressive informations : PAL60->NTSC480i, PAL480p->NTSC480p

• Dol video patch : Region patch
This one replace only the dol's internal and known video mode patterns to the corresponding signal based on the selected video mode's region.
if you set the "video mode" to "Force PAL60", and are using NTSC console with a NTSC game, it will replace NTSC signal to PAL signal, keeping interlace and progressive informations : NTSC480p->PAL480p, NTSC480i->PAL60

• Dol video patch : ON
This one replace only the dol's internal and known video mode patterns to the corresponding selected Video mode setting.
if you set the "video mode" to "Force PAL480p", it will replace ALL known video patterns to "PAL480p". (it will not preserve progressive or interlace information, but replace all of them to the same one).

• Dol video patch : All
This one replace ALL the dol's internal video mode patterns (even unknown ones) to the corresponding selected Video mode setting.
if you set the "video mode" to "Force PAL480p", it will replace ALL found video patterns to "PAL480p", even unknown video patterns used by obscure games/developers. (it will not preserve progressive or interlace information, but replace all of them to the same one).


"All" is useful for games which are using video mode patterns which are uncommon (like MotoGP8) and not present in libogc nor in usbloaderGX.
 

Drunk_caterpillar

Active Member
Newcomer
Joined
Feb 25, 2013
Messages
44
Trophies
0
Age
37
XP
105
Country
Canada
It's used to patch the internal dol's video information.
when you launch a game, it checks the current Wii's video mode and then look in the dol for a matching video mode to use the same one than the console. if no video mode is found in the dol, it's using a different/nearest possible video mode.

For example, if your Wii is set to 480p, but the game is intended for 480i only, if you use "Force 480p" the game will still fallback to 480i because it doesn't have 480p in it's internal compatible video mode.
Patching the dol replace the videos inside the dol using the one set in the loader. if you use "Force PAL 480p" then it will replace/add 480p inside the dol, when the game is launched it will find a matching video pattern and set the game in 480p.
It's useful for games which are 480i only : Mario Marty 8, Moto GP 8, Mad World (usa only), etc.


There are different patching method and results :

• Video mode : Region Patch
This one replace only the dol's internal and known video mode patterns to the corresponding signal based on the console's region.
If you play a PAL game, and are using NTSC console, it will replace PAL signal to corresponding NTSC signal, keeping interlace and progressive informations : PAL60->NTSC480i, PAL480p->NTSC480p

• Dol video patch : Region patch
This one replace only the dol's internal and known video mode patterns to the corresponding signal based on the selected video mode's region.
if you set the "video mode" to "Force PAL60", and are using NTSC console with a NTSC game, it will replace NTSC signal to PAL signal, keeping interlace and progressive informations : NTSC480p->PAL480p, NTSC480i->PAL60

• Dol video patch : ON
This one replace only the dol's internal and known video mode patterns to the corresponding selected Video mode setting.
if you set the "video mode" to "Force PAL480p", it will replace ALL known video patterns to "PAL480p". (it will not preserve progressive or interlace information, but replace all of them to the same one).

• Dol video patch : All
This one replace ALL the dol's internal video mode patterns (even unknown ones) to the corresponding selected Video mode setting.
if you set the "video mode" to "Force PAL480p", it will replace ALL found video patterns to "PAL480p", even unknown video patterns used by obscure games/developers. (it will not preserve progressive or interlace information, but replace all of them to the same one).


"All" is useful for games which are using video mode patterns which are uncommon (like MotoGP8) and not present in libogc nor in usbloaderGX.

So when I'm playing Mad World I want to set Video Mode to "Force NTSC480p" and Dol Video Patch to "All" and that should make the game render in 480p?
 

jonesman99

GBAtemp's Official ArchAndroid
Member
Joined
Nov 10, 2008
Messages
1,128
Trophies
0
Age
34
Location
A Star Called Metropolis
Website
Visit site
XP
881
Country
United States
yes.
Cyan , what is the dol vdeo patch intended for?
Thank you for your hard labor.
Thank you, kind person. Also, another question. I installed the WADs and all the needed channels show up, but USB Loader GX does not read my flash drive, and I made sure that it was formatted to WBFS. What am I still doing wrong? The only channel that picks it up is I believe is NeoGamma.
 

Hielkenator

Well-Known Member
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Thank you, kind person. Also, another question. I installed the WADs and all the needed channels show up, but USB Loader GX does not read my flash drive, and I made sure that it was formatted to WBFS. What am I still doing wrong? The only channel that picks it up is I believe is NeoGamma.
Your usb stick need to be fat32 for channel emulation.
WBFS does not work.
 

heathenmagic

Member
Newcomer
Joined
Oct 15, 2013
Messages
5
Trophies
0
Age
31
Location
leicester
XP
62
Country
Hello everybody,

I have been looking all over the internet for this but not found anybody with the same need. Basically, I have two wiis, and one harddrive with my backups on (I buy all my games btw at retail). So sometimes I want to play out the way on the spare Wii, but it loads the game and the wii remotes completely go funny and keep flashing and I have to restart and resync. So can't advance to get going in the game. If I operate 'Dump Nand to Emunand' (my nand has no saves as I know this overwrites emunand save if there) then I can use my remotes and play as normal. I know it is not looking for the remotes from other Wii as I tried that.

So when I take the hard drive and put back into my main Wii in the lounge, it does the same thing on there, so only 'Dump Nand to Emunand' resolves it on there. I wonder if there is a better way, as the dump probably isn't safe to do a lot. Even if I have to use the same controls across two Wiis (not sure if that is possible lol), that is cool. Basically I have a spare as I bought one near launch, and the disc drive is going and crashes occasionally (lot of use).

Thanks in advance, I know this is a little unusual, but just wondered if anybody got the same thing going or had any appreciated advice.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
Instead of dumping the NAND fully each time, you can just dump the "sysconf" file which contains the Wiimote's synchronisation data. There's an option "Dump Sysconf" in the Features menu.
It will dump only this file from NAND to EmuNAND, and you can even have saves on your Real NAND, as it will not extract and replace them anymore. (some games don't work with EmuNAND, for example Zelda Skyward Sword, so you need to save this one on Real NAND).
 

heathenmagic

Member
Newcomer
Joined
Oct 15, 2013
Messages
5
Trophies
0
Age
31
Location
leicester
XP
62
Country
:lol: Thank you so much! I wondered what that did it sounded a bit scary lol. I will do that process each time from now thanks! I also will donate to the usb loader as I just noticed on their page. My go to loader and a worthy cause. Thanks again for the reply
 

Hezkore

Well-Known Member
Member
Joined
Sep 1, 2009
Messages
132
Trophies
0
Age
37
XP
151
Country
I haven't been around here much lately, and I haven't read this entire thread (obviously)...
But I'm having some issues with emulated channels playing from USB Loader GX.
The strange part is that it works in other loaders, like Configurable USB Loader.

Take "Onslaught" (WiiWare) for example.
I have Onslaught installed on my FAT 32 HDD and plugged into my Wii U, and every time I start it via USB Loader GX, it just turns black and freezes forever.
I'll have to remove the power cord to restart.
However, if I just run Configurable USB Loader and start Onslaught, with the default settings, it plays just fine!

The same happens with a lot of games I've tried recently, for example "Final Fantasy 3" on Snes.
It makes me wonder if any of my settings are to blame?

My Loader Settings for USB Loader GX are:
Video Mode: Disc Default
Dol Video Patch: OFF
Sneek Video Patch: OFF
VIDT Patch: OFF
Aspect Ratio: System Default
Game Language: Console Default
Patch Country Strings: OFF
Ocarina: OFF
Loader's IOS: IOS 250
Game's IOS: IOS 249
Quick Boot: OFF
Error 002 fix: YES
Block IOS Reload: ON
Return to: USB LOADER GX
Nand Saves Emulation: FULL
Nand Chan. Emulation: FULL
Hooktype: NONE
Wiird Debugger: OFF
Debugger Paused Start: OFF
Channel Launcher: Main DOL

I'm using USB Loader GX Revision 1218

Any help at all is appreciated.
 

naxil

Well-Known Member
Member
Joined
Oct 26, 2011
Messages
846
Trophies
1
XP
665
Country
Italy
Hello...
I have a little request for next SVN of usbloader GX

1 Ugx can show SD/usb gamecube games in the same time.. can u add SD / USB title or some advice for recognize where the games are? if i have the same games on sd and usb is impossible recognize directly what games are on sd or usb.
2 Now application/homebrew loader show fine (without double list) the apps/homebrew and i am happy, can u add a bottom for directly change USB:\apps and SD:\apps (and sdgecko SLOTA/B if u can... but for last) and show sd and usb in the same time (if i can recognize in case i have the same homebrew on sd and usb).

I hope u understand my english and i listen my request, if u can't NEVERMIND
Thanks for USBLOADER GX
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
It makes me wonder if any of my settings are to blame?
The settings seem fine to me. (I don't know what's installed in your slots 249 and 250, but I suppose it's the common things, d2x base56/57).
OnSlaught is maybe not working on EmuNAND and require neek2o mode? (which is not implemented yet in USBGX).
This is more strange for FF3, this one should work.
Could you try with a clean dump? (I don't know when you created yours, or if you created it from scratch or extracted it from your console, but if you used the internal wad installer with an old revision (<1208) then the EmuNAND could be corrupted.

I played Cave Story with 1218 and it worked fine. I didn't test FF3 though.

1 Ugx can show SD/usb gamecube games in the same time.. can u add SD / USB title or some advice for recognize where the games are? That's something which is bothering me too. I tried to add something like that, but it was harder than I thought. in the channel layout I wanted to use a different cursor color (the share around the banners), but I think I'll use something else, something easier for me to code.

2 Now application/homebrew loader show fine (without double list) It was doubled? (or if you talk about the homebrew browser displaying all .dol instead of only boot.dol then it should still be like that, I didn't change anything here. If it's not duplicated anymore then there's a problem).

can u add a bottom for directly change USB:\apps and SD:\apps Good idea. I'll see what I can do.
Remember that I'm very slow pace to code, I don't know when I'll do it.

Just a heads up, when using GCN or CC controller the shoulders L and R should scroll the games Left or Right, currently you only can scroll using the d-pad.
You mean when in the Game Window ? (rotating disc/channel animation)
I'll add it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: roms wont boot with wood r4menu