Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,209,975
  • Replies 29,371
  • Likes 48

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
Nope, through the forwarder, from System Menu.

Hmm... and the credits screen shows the same revision when you first boot it and after returning from another title? The problem you described is generally caused by having two different versions on the console. Usually it's either 3.0c (full channel) is installed or the loader dol inadvertently was installed in Priiloader instead of the forwarder dol. Both situations make it so updating online updates the /apps/ version but not the one that's initially being launched.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,912
Country
Hungary
Yep, v3.0 Rev. 1262 in both cases. Also, when launching HBC from USB Loader GX after returning from a GC game, it shows the same scam message as when first installed.
 

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
HBC channel is not meant to be launched from within USBLoaderGX. USBLoaderGX reloads to IOS249 before launching a channel, and HBC requires IOS58!
instead choose "exit > to HBC". If you don't have that option, you can set "home menu" located in the GUI settings to "full".

your issue is really strange because it's the exact symptom than if you were using two different USBLoaderGX revision.
usually it happens with Full channel (r1180) and homebrew version (revision on SD).
but it could also happen with "revision on SD" being different than "revision on USB" (mixing path and devices is never good).

Are you using SD card only for all our homebrew ?
please, don't put homebrew and USBLoaderGX resources on USB.

I don't see any other cause for your issue right now. sorry.
Be sure that you are using the EXACT same dol for both system menu channel and homebrew channel launching. maybe you have different GXGlobal.cfg, one in sd:/config/ one in apps/usbloader_gx/ or another one in apps/usbloadergx/ (without the underscore).
 

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
usually, the issue is caused by "returning to" an old version when exiting nintendont.
reloading an old version (the full channel) which doesn't have the new settings cause these settings to be deleted from the GXglobal.cfg
If it returned to the correct revision, your settings would still be there as they would be known and not deleted.

did you try to do it manually ?
1. run USBGX from HBC.
2. set a setting you can easily check later to see if it's preserved or lost.
3. exit USBGX (not from launching nintendont, just exit > to HBC or system menu)
4. from system menu, launch USBGX channel (forwarder)
5. check your setting, is it good or lost ?

if it works, and your setting is preserved, then it's related to nintendont only ?
run USBGX -> nintendont -> exit back to return to USBGX.
setting lost?

I could ask if the lost setting is only set during the "last session" before launching nintendont, or if even very old changed and already saved settings in multiple previous sessions were lost too?

If it's affecting only settings set in "last session" then there's a setting saving bug when launching nintendont. can be fixed easily by forcing a setting save before launching a game.
if it's affecting old changes, then to me it looks like a conflict of different version, and I don't know the cause if you really have the same version.
 

Alex658

Well-Known Member
Member
Joined
Jun 4, 2010
Messages
1,206
Trophies
1
Age
29
Location
Colombia
XP
1,194
Country
Colombia
HBC channel is not meant to be launched from within USBLoaderGX. USBLoaderGX reloads to IOS249 before launching a channel, and HBC requires IOS58!
instead choose "exit > to HBC". If you don't have that option, you can set "home menu" located in the GUI settings to "full".

your issue is really strange because it's the exact symptom than if you were using two different USBLoaderGX revision.
usually it happens with Full channel (r1180) and homebrew version (revision on SD).
but it could also happen with "revision on SD" being different than "revision on USB" (mixing path and devices is never good).

Are you using SD card only for all our homebrew ?
please, don't put homebrew and USBLoaderGX resources on USB.

I don't see any other cause for your issue right now. sorry.
Be sure that you are using the EXACT same dol for both system menu channel and homebrew channel launching. maybe you have different GXGlobal.cfg, one in sd:/config/ one in apps/usbloader_gx/ or another one in apps/usbloadergx/ (without the underscore).



I'm curious, why can't you put usb loader gx on usb ad homebrew? I put mine there because i did not know if it had to be "installed" on the same device the games would be. That would explain why usbloadergx takes so long to reinitialize (like a minute) other than that no slowdowns or anything.
 

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
you can, but some users are not using "common" setup, for example multiple USB at the same time is REALLY a bad thing!
Puting the /apps/usbloader_gx/boot.dol on SD or USB, AND putting the ressources on a different USB port is asking for drive or partition corruption !

You can't really have 2 USB Port at the same time, it's one or the other, so the loader unmount the drive and if it has the settings on that drive and it tried to save any changed settings or access any ressource files (themes, music, covers, etc.) while the other USB is loaded, you'll have a crash (at best), HDD corruption (at worst).


also, a lot of users are having issues with HDD detection, which could create the same issue.
is the HDD is disconnecting (not enough power!) or not detected but the SD config refer to any path on USB for the ressources (covers, themes, etc.) they will not be found or loaded or saved.

as a better and safer practice, I'd recommend users to keep the settings and resources on a device you are sure is always mounted and available (the SD, or a SINGLE (not multi-port) USB).


Ps:
I just learned The homebrew channel became open source :)
It has a new TitleID to fix vWii aspect ratio issue, I'll have to add the new titleID to USBGX or it can't exit to the new released HBC compiled from open sources.
it's in sys.cpp line 208/217

new titleID : OHBC
000100014F484243

Code:
#define HBC_HAXX	0x0001000148415858LL
#define HBC_JODI	0x000100014A4F4449LL
#define HBC_1_0_7	0x00010001AF1BF516LL
#define HBC_LULZ	0x000100014c554c5aLL
#define HBC_OHBC	0x000100014F484243LL

void Sys_LoadHBC(void)
{
	ExitApp();

	WII_Initialize();

	// Try launching all known HBC titles in reversed released order
	WII_LaunchTitle(HBC_OHBC);
	WII_LaunchTitle(HBC_LULZ);
	WII_LaunchTitle(HBC_1_0_7);
	WII_LaunchTitle(HBC_JODI);
	WII_LaunchTitle(HBC_HAXX);

	//Back to system menu if all fails
	SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
}
 

Alex658

Well-Known Member
Member
Joined
Jun 4, 2010
Messages
1,206
Trophies
1
Age
29
Location
Colombia
XP
1,194
Country
Colombia
you can, but some users are not using "common" setup, for example multiple USB at the same time is REALLY a bad thing!
Puting the /apps/usbloader_gx/boot.dol on SD or USB, AND putting the ressources on a different USB port is asking for drive or partition corruption !

You can't really have 2 USB Port at the same time, it's one or the other, so the loader unmount the drive and if it has the settings on that drive and it tried to save any changed settings or access any ressource files (themes, music, covers, etc.) while the other USB is loaded, you'll have a crash (at best), HDD corruption (at worst).

oh, alright. I misunderstood you then. I only have one HDD and its in port 0, i have my emulators on the sd card (what's the actual limit for an sdcard? Can it actually read sdhc? Until how much?) and nintendont and usbloadergx on the usb. I wonder its more of a nintendont doubt than usbloader but, can i use an usb-hid controller on the other port while i have my hdd on port 0? Or is it the same and it generates issues?

--------------------- MERGED ---------------------------

stupid mobile phone, hopefully it will automerge.

what's the right folder for covers? Tried putting them in usb1/apps/usbloadergx/gx usb1/apps/gx and usb1/root the covers were downloaded with wii backup manager, i don't have internet at home so i couldn't tell usbloader to download them on its own. Thanks Cyan :)
 

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
don't worry, it was my fault not explaining properly and telling to not use USB at all :P

WiiU can read SDXC up to 512GB (more expansive than the console, not sure anybody tried that size hehe)
Wii ... I don't remember, maybe it was SDHC 32GB? I didn't try SDXC 64+

You can connect a HID without issue.
The USB Loader is (should) detect the USB interface (descriptors) using the IOS low level function and loads only the HDDs.
nintendont use another IOS low level function to mount only HID from USB. so they should not conflict.


The default covers are :
apps/usbloader_gx/images/
in the image folders, you have the "2D", "full", "disc" folders corresponding to the cover type you downloaded.
"2D" folder contains both the 2D and 3D folders, depends which one you are using (flat or perspective), I don't like the name "2D and 3D" in the cover download menu, and users don't really understand the differences, not that they shouldn't download both version, only pick one. if both are selected, 3D has priority so most users never saw the 2D version in their loader.
Full is the full recto-verso cover for the 3D rotatable box
disc is the disc cover (when using disc mode in game window type)

Additionally, there is usbloader_gx/cache_bnr/ for the animated banner caching folder.
 

mcmn

Active Member
Newcomer
Joined
Nov 20, 2016
Messages
33
Trophies
0
Age
41
XP
54
Country
Swaziland
When setting up a new Wii, should I use d2x cIOS v8 or v10-beta52? Main use case is running games from USB Launcher GX.
 

Clydefrosch

Well-Known Member
Member
Joined
Jan 2, 2009
Messages
6,025
Trophies
2
XP
4,641
Country
Germany
its a little out there, but would anyone know if there's some kind of usb hub with a phyiscal switch to change which stick is actually connected to the wii?
similar to those cable switches they had back in the day for genesis/snes

no matter how i look at it, I'm not dumping enough games to warrant using an actual external hd, so usb sticks it is. by my estimate, I'll be fine with one stick for a few wii games and one for my gamecube games (most of them are at my brothers place so no we can both play them separately) but I don't want to exchange the sticks all the time. i'm also kinda afraid one of them might end up missing while its not plugged in, so a hub sounds like the best idea.

all i can find is like the opposite, a hub where you put in one stick and get a switch to decide with which device you want to connect it...
 

Gamefreakblog

Well-Known Member
Newcomer
Joined
Nov 16, 2016
Messages
53
Trophies
0
Age
49
XP
50
Country
Hey guys, wondering if you can help me.

Been getting some awesome help with some stuff from a member on here. He has taken me through to installing the USB loader GX and Nintendont and helped me with some options. I;m trying to get GC games to load. I have an 8GB USB that I am essentially just testing with a game or two before I shell out for a larger USB HD. I have placed a folder in it called games, then another folder in that with the game name (Wind waker), extracted the iso to it and renamed it game.iso. I pop the USB card in the outer USB slot on the back and it essentially freezes when trying to utilize the USB. I pop it in the other one and it works fine, goes straight to the USB loader main menu, where I can see games on the Wii internal memory, but I cannot find wind waker there. I have ticked the NES box at the top and Gamecube is ticked within there.

I am a real, real novice and a noob with all this. I literally need a step by step spelling out, so if you have any advice, or something like a setting that I may have wrong any advice will be appreciated.
 

Zonta85

Well-Known Member
Member
Joined
Nov 9, 2007
Messages
436
Trophies
0
Age
39
Location
Ascoli Piceno
Website
www.facebook.com
XP
523
Country
Italy
Last edited by Zonta85,

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
I also gave the answer recently, in nintendont thread I think.
ciso was a format used by Wii games, and is compatible only with Hermes cIOS. (not d2x)

Now that nintendont is also using that file extension for gamecube games (not necessarily the same format than the wii games, but using the same extension), I can add ciso extension to the gamecube games, it will require a little rework on the code as it's currently expecting only two extension (iso and gcm) and using a ternary operation (if not iso, then it's gcm)

for(int i = 0; i < 2; i++)
{
snprintf(name, sizeof(name), "disc2.%s", (i % 2) == 0 ? "gcm" : "iso");
}

it's a loop of 2, and there's a check on "odd/even" on that loop counter.
if it's even, it's using gcm, if it's odd it's using iso.

it will require a rewriting of that loop (which does other things too, not just set the extension.
that's not difficult, just want to show it's not a simple "3 letters to add" in a compatible extension list.


When setting up a new Wii, should I use d2x cIOS v8 or v10-beta52? Main use case is running games from USB Launcher GX.
If you have a Wii, I'd recommend v8 (because that way, you don't have to care about normal or alt version, just a single one is easier to choose from!)
if you have a WiiU, you need v10 (in that case I recommend r52 instead of r53)

But if you want r52 for wii, it's fine too.
it has been updated to use the same version number when the WiiU was released because both were updated to WiiU vWii at the same time, v10 works like v8, while v10 alternative works like v9.
v8 or v10 are the same thing. There is only a very small fix in v10 which is not in v8.


@Clydefrosch
If all you want is to have 2 USB (one wii, one gamecube) you don't need a hub, nor even a hardware switch to bother with, just plug both drives!

1. Install d2x v10-alt (this is exactly in that case that r53 is needed!)
2. Just plug them both, put the Wii drive in USB Slot 0, and gamecube games in USB slot 1 (not the other way around!)
3. Go into USBLoaderGX > settings > HDD settings > USB Port : Both
4. reboot the loader to initialize both USB drives
5. Go to USBLoaderGX > settings > User path > Gamecube main folder : Set "usb2:/games" !
be sure it's usb2 (device connected on port1) and not usb1 (device connected on port0).
6. On the main window, Select the gamecube and wii games (at the same time if you want) from the 4th icon on the top menu.
7. ATTENTION !!! Be sure to use an SD card for all your homebrew data. when you enable Dual port, you should NOT use any config or cover or music located on a USB drive because when the loader will look at both drive's content, only one is kept mounted at the same time, and you'll lose data if the loader tries to load/save on the unmounted drive.

Now, when you launch a gamecube, it will tell nintendont to boot "/games/Game title/game.iso", like you see, there's no "usb2:" in front, so no mention to any partition or drive.
Nintendont use IOS58 which mounts Port1 first and it will find the gamecube games there :)


Cons of using cIOS v10-alt :
- less compatible emuNAND (but it's drive related, not game related. If EmuNAND works for 1 game with v10-alt, it will work fine with all other compatible games)
- USBLoaders can't boot games from SD (but neither can USBLoaderGX)
- some games might have issues (just dance, sing it)
What you can do is install d2x v8 or v10 (non alt) in slot 251 or 248 with a base 57, and for these specific games or emuNAND, set the game's IOS individual setting to that slot. it will shutdown both USB, reboot to cIOS compatible with USB Port0 only (fine! you have Wii games in that port) and load your game or EmuNAND correctly.

My recommended setup for you :
249 : d2x v10-alt base57 (for dual port, default setting)
250 : d2x v10 base57 (for problematic Wii games with d2x alternative)
 

Zonta85

Well-Known Member
Member
Joined
Nov 9, 2007
Messages
436
Trophies
0
Age
39
Location
Ascoli Piceno
Website
www.facebook.com
XP
523
Country
Italy
I also gave the answer recently, in nintendont thread I think.
ciso was a format used by Wii games, and is compatible only with Hermes cIOS. (not d2x)

Now that nintendont is also using that file extension for gamecube games (not necessarily the same format than the wii games, but using the same extension), I can add ciso extension to the gamecube games, it will require a little rework on the code as it's currently expecting only two extension (iso and gcm) and using a ternary operation (if not iso, then it's gcm)

for(int i = 0; i < 2; i++)
{
snprintf(name, sizeof(name), "disc2.%s", (i % 2) == 0 ? "gcm" : "iso");
}

it's a loop of 2, and there's a check on "odd/even" on that loop counter.
if it's even, it's using gcm, if it's odd it's using iso.

it will require a rewriting of that loop (which does other things too, not just set the extension.
that's not difficult, just want to show it's not a simple "3 letters to add" in a compatible extension list.


Thank you, so kind as ever. That code remembered me my studies at the secondary school :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    Swiitch
  • Quincy @ Quincy:
    Oh lord, I actually can see Nintendo pulling that one, II for 2 and also a homage to the Wii
  • Psionic Roshambo @ Psionic Roshambo:
    Super Crown Bowser edition Switch lol
  • Psionic Roshambo @ Psionic Roshambo:
    Analog stick nipples
  • BigOnYa @ BigOnYa:
    Yea i have couple other sites I find Switch titles also and just looked, I don't see it out/leaked yet...(paper mario)
  • Quincy @ Quincy:
    Or even worse; circle pad ball fondlers like on the 3DS
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
    K3Nv2 @ K3Nv2: Google them basically web crawlers to movie sites