Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,168,487
  • Replies 29,363
  • Likes 48

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,836
Country
United States
Hello,
i can't download any covers through the loader. The games are on a usb hard drive and are all loaded correctly. When I try to load any covers, the loader finds a good number of missing covers, initializes networking and tries to start the download. From there the status bar never fills itself and stays at 0%. The gui apparently doesn't freeze,as I can still move the cursor and press the cancel button. Although cancel does nothing. The only way out, is to power the console down.
  • vWii
  • FAT32 usb hard drive. Connect through Y cable
  • USBLoaderGX r1268
  • Internet is working in WiiU mode
Something similar happens when I try to update the language files through the loader. There a few languages are loaded before the same "freeze" happens.

I would be thankful for any advice.
 
Last edited by Taorn,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
that's strange, as it's usually a Flash drive problem. But seeing you said hard drive and you use Ycable means it's a real HDD.
maybe the loader has issue initializing the network ? go to the "homebrew launcher" mode (the earth icon at the bottom), it will display if network is connected or not, and you can click on it to re-init the network.
you can try to switch the auto-connect network at boot option in the settings>features menu.

Maybe the download function has an issue, or the website is not reachable ? (I hope it didn't go to SSL :P)
the website reloads to https, but seems to still serves covers on http if direct linked, so it's not the website problem.
 
Last edited by Cyan,

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,836
Country
United States
Hello Cyan,
yes the HDD is a real HDD. It was before connected to my real Wii.
A quick curl on an image on http://art.gametdb.com shows that the site indeed servers direct through http. No redirects or anything.

The Homebrew Launcher shows that it could establish a connection. (The icon for network next to the gecko is lit)
Is there maybe any way to set your application to create a verbose log? That could help me to analyse the issue further.
 
Last edited by Taorn,

PCBJK18

Member
Newcomer
Joined
Aug 16, 2018
Messages
6
Trophies
0
Age
46
XP
87
Country
United Kingdom
Hi,

Wondering if you guys and girls can help. My installation of USBLoader GX (r1268 latest version) has stopped working after several weeks of working fine.

I think I was updating either the WiiTDB file or cover art when it crashed, requiring a reset.

Now when I try to load the app from the Homebrew Channel, it runs through all it's startup processes, then it loads the background image for the app - and then nothing. No further progress.

I've tried deleting the apps/usbloadergx folder and reinstalling but that has no effect.

Is there another folder or file that USB Loader GX writes to, either on the SD Card or the USB drive (FAT32), that I can also delete to ensure a clean install and try to fix this issue?

Cheers
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
if you use SD card, it stores the config on it (sd has priority over usb), if not it then tries each USB partitions.
it can be at two different location, if you used a very old version (like 1.0 or 2.0) :
SD:/config/GXGlobal.cfg
or
SD:/apps/usbloader_gx/GXGlobal.cfg


you said you had to shutdown/reset while it was writing to the card. maybe the partition is corrupted? did you see any strange file or folder's name?
it could be a good idea to run chkdsk, even though it rarely can fix anything.

then it loads the background image for the app - and then nothing. No further progress.
looks like it can find the games? if they are on USB, maybe your usb has the file system problem?

Is there maybe any way to set your application to create a verbose log? That could help me to analyse the issue further.
there's no option to enable it without recompiling.
it thought adding a verbose option to launch argument could be useful, but it expands the functions and the dol a lot, and the dol reached his size limit. I know it can be bigger (WiiMC is 20MB while USBGX is only 4MB), I probably need to tweak the linker to make more .text and .ro area, but I have no idea how to do that.
I might add verbose option at least for network and hdd detection, these are the two most useful location.
 

PCBJK18

Member
Newcomer
Joined
Aug 16, 2018
Messages
6
Trophies
0
Age
46
XP
87
Country
United Kingdom
if you use SD card, it stores the config on it (sd has priority over usb), if not it then tries each USB partitions.
it can be at two different location, if you used a very old version (like 1.0 or 2.0) :
SD:/config/GXGlobal.cfg
or
SD:/apps/usbloader_gx/GXGlobal.cfg


you said you had to shutdown/reset while it was writing to the card. maybe the partition is corrupted? did you see any strange file or folder's name?
it could be a good idea to run chkdsk, even though it rarely can fix anything.


.......looks like it can find the games? if they are on USB, maybe your usb has the file system problem?

Thanks, I'll check the SD card for that cfg file. I'll also run chkdsk too, thanks again for your help. The USB drive works fine with WiiFlow and CFG Usb Loader though. I guess wiping and reformatting the disk might be an option as a final resort. I prefer USB Loader GX to the other two hence I'd rather get it working if possible.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
if it works fine with other loader then it's not a hdd or partition issue, it's probably just a loader's config error.
be sure you press "reset" in the loader's settings instead of manually deleting the file, this way it will reset the currently used config file (wherever it's located)
 

PCBJK18

Member
Newcomer
Joined
Aug 16, 2018
Messages
6
Trophies
0
Age
46
XP
87
Country
United Kingdom
if it works fine with other loader then it's not a hdd or partition issue, it's probably just a loader's config error.
be sure you press "reset" in the loader's settings instead of manually deleting the file, this way it will reset the currently used config file (wherever it's located)

OK thanks, unfortunately the only thing I can do is to delete the file, as the loader doesn't get to the point where I can enter the settings page. (it only loads the background image and no more)
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
@JacobM :
I don't remember what was the exact issue with nintendont.
something with argument booting not working, and needing to use config file (we tried disabling argument, and it worked fine, right?)

I just tested my latest version, and I could launch nintendont with arguments, so I'm not sure what was wrong. a specific setting?
Maybe it was just the problem with the wrong setting version (7 instead of 8) which prevented argument and autoboot. it's now fixed.

I'm trying to calibrate the WiiUgamepad and prevent going in reverse (I had to multiply the value, but it gets overflowed, I need to get proper values mask)

edit:
calibration and diagonals : fixed. nope yes, finally !
 
Last edited by Cyan,

JacobM

Well-Known Member
Member
Joined
Jun 16, 2017
Messages
242
Trophies
0
XP
600
Country
United States
I don't remember what was the exact issue with nintendont.
something with argument booting not working, and needing to use config file (we tried disabling argument, and it worked fine, right?)

Thanks for looking into it Cyan. Arg booting didn't work on the WiiU with the WiiU GameCube Adapter (or any HID device) plugged in. You are correct in that disabilig arg booting results in a successful launch of the GameCube game. You can hotplug HID devices once nintendont loads with arg boot. I'll try to fish out some quotes from our old discussion in a bit! I THINK you had a plan to disable HID connections before passing the arguments?? Memory is foggy.

EDIT: Just to be clear this is when running USB Loader GX as a Wii VC!
 
Last edited by JacobM,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
ahh, it was with HID. ok, that's why it worked when I tested launching nintendont, I forgot it was specifically with HID.
I'll have to find a controller to test (maybe PS3 or PS4 is fine) :)

edit:
hmmm, just wondering why users would take the time to do WiiVC inject to have Gamepad support and finally NOT use it and prefer HID ?
isn't it just easier to get a simple vWii forwarder channel to launch USBGX and have HID in nintendont, and even usb support?
or maybe I'm missing something.
but, ok, just for the fact that it "should" work, I'll try it and make the fix.

edit2:
or maybe you speak only about vWii, and not the WiiUVC inject? as USB is disabled in WiiVC it might not even see the HID, and doesn't have any reason to use another controller if specifically launched to use the gamepad.
ok, I'll test it on vWii :)
 
Last edited by Cyan,

JacobM

Well-Known Member
Member
Joined
Jun 16, 2017
Messages
242
Trophies
0
XP
600
Country
United States
ahh, it was with HID. ok
I'll have to find a controller (maybe PS3 or PS4 is fine) to test :)

I was able to replicated with a PS4 controller way back when. I just tested it with the GC Adapter (black screen), with PS3 controller (black screen), and without any HIDs connected (loaded gc game).

Here is my original post: https://gbatemp.net/threads/usb-loader-gx.149922/page-1227#post-7664935


EDIT: Additional Details
https://gbatemp.net/threads/usb-loader-gx.149922/page-1228#post-7667231
https://gbatemp.net/threads/usb-loader-gx.149922/page-1228#post-7669977

WiiFlow Lite was recently updated to support Gamepad. I'll test it out tonight to see if it has the same issue with passing args to Nintendont!
 
Last edited by JacobM,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I tested this :
vWii (no injected channel) > hbc > 1269
launched USBGX
plugged PS4 controller in front USB Port for WiiU
enabled "HID" option in loader settings (even if completely useless, just for fun :P)
Launched Luigi mansion for the first time.

It took a little time to boot, because it was generating the memory card, but while it did the PS4 controller was detected and lit on !
the game boot, and PS4 controller works fine :)


edit:
ahh, it's really WiiVC?
ok, I'll test it, I did vWii so now I can see if there are any differences.
you are right, it detects the PAD (ps4 pad lit up), but then stays on a black screen.
 
Last edited by Cyan,

JacobM

Well-Known Member
Member
Joined
Jun 16, 2017
Messages
242
Trophies
0
XP
600
Country
United States
Problem only exists in WiiVC mode :P. The intent is to use the Gamepad to play GameCube games (single player), but having any HID controllers plugged in at launch causes the lock up / black screen. Between my friends and I who have the GC adapter, none of us plug / unplug it on a daily basis since the system just ignores it in all other use cases. This is just a quality of life (lol) bug. Last we left off, you suggested to continue unplugging any HID controllers prior to booting for gamepad support which is what I have been doing. Thanks again Cyan!
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I understand now, thanks.
I tried to disable arguments, and force nincfg.bin file, it launched (no black screen freeze) but I don't have the HID available (probably normal if there's no USB Access ?), sooooo is it fixed?

sorry it took months to fix ;)
I eventually always come back to fix things, it just takes time.

1269 mod4
should have Wii Gamepad fixed (diagonals are working)
should have nintendont setting v8 set (fixes rumbler and ipl setting)
shouldn't crash if HID is plugged when launching nintendont
should loads faster (using ios58), no idea if it helps on hdd detection yet.

not fixed : crashes/freeze when exiting USBGX if using WiiVC inject. no idea how to properly exit WiiVC yet. nintendont is clearing the return stub (prevent freeze?), then using ES_launchTitle(system menu, $views) (heyy, what's this view? I didn't find where it's initialized), which reboot the console instead of really reloading system menu, or returning to loader. Not sure it's what I should do too.
too bad nintendont reboots the WiiU instead of returning to the loader. users have to repatch CFW (if not using cbhc) and relaunch usbgx to play another gamecube game. If I can launch nintendont from USBGX, why nintendont couldn't launch USBGX too ?

Currently, USBLoaderGX reloads the "return to wiiu" channel when in vWii.
It doesn't work when in WiiVC. I don't know how to reboot the console from WiiVC.
 
Last edited by Cyan,
  • Like
Reactions: cvskid

JacobM

Well-Known Member
Member
Joined
Jun 16, 2017
Messages
242
Trophies
0
XP
600
Country
United States
I understand now, thanks.
I tried to disable arguments, and force nincfg.bin file, it launched (no black screen freeze) but I don't have the HID available (probably normal if there's no USB Access ?), sooooo is it fixed?

sorry it took months to fix ;)
I eventually always come back to fix things, it just takes time.
Sweet! Thanks. I believe you are correct in that, when in WiiVC mode, all USB controllers are disabled. So does USB Loader GX automatically disable args mode when loaded as WiiVC? Do game specific nintendont settings still work without modifying the global settings?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
yes, it just forces creation of the nincfg.bin and disables arguments, all other settings are still used normally.
I didn't create the user option to disable argument, it's currently a quick fix and it's automatically disabled if detecting WiiVC.

I added the link above.
 
Last edited by Cyan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    S @ salazarcosplay: @BakerMan can one play cod from hen ps3?