Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,163,290
  • Replies 29,357
  • 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,649
Country
France
When do you have vacations?
In august, but I'll release neek support before! (hey, I hope lol)

I was alone at home for past two weeks, so I had even less time than before due to housework.
I'll try to work on it a little tomorrow.


Troythezombie is a homebrew?
you said it's a forwarder, so it's supposed to forward to SD or USB.
But you also said that you are launching it from your "emunand", which means that launching this channels this is what happen :
- usbgx reloads to 249 (or cIOS you selected)
- usbgx tells cIOS to use emuNAND (redirects nands to sd path)
- the channel is launched, and if it's really a forwarder it tries to load a boot.dol located on SD or usb too. No NAND access is ever done, so no redirection is done either.
if the dol is not found, it reboots.

If it's not a homebrew, and it's a real game, you named it "forwarder" instead of "channel"?
if it's a full channel installed on your EmuNAND and it reboots, it's maybe because that game reloads IOS and emuNAND redirection is lost.
sorry, will need more info to help you.
 
  • Like
Reactions: Magnus87

wiigame

Member
Newcomer
Joined
Nov 4, 2007
Messages
13
Trophies
0
XP
164
Country
United States
Hello :) I recently installed USB Loader GX version 3.0 using the tutorials and everything seems to be working fine, except that when the wii tries to located the USB in port 0, it just counts down. I end up getting this message "Waiting for your slow USB device and brings me back to the Wii menu." I made sure that it was port 0 and even tried it in both ports. I tried one drive that was WBFS formatted, and another that was FAT32 formatted with the wbfs files in the wbfs folder on the root of the HDD. Please help with this error, it will be greatly appreciated! :)
 

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
Wii or WiiU?
if it's WiiU you probably are missing power. You need a Y-cable if your drive doesn't have an external power source.

if it's Wii, or if you already have additional power source, then it's strange.
- Try plugging the drive when you see the countdown.
- try setting the IOS to 58 (you need an updated version of the loader, not 3.0) : settings>loader settings>Loader's IOS : 58, and reboot.
- to update the loader : (don't use the full channel ! if you want a channel, then install the forwarder.) go to settings>update>loader>all.



Edit:
I worked on the loader a little (1 hour).
Trying to boot n2o vwii r13 from the loader but couldn't. It's a pain to need to unplug every time.
it worked with nswitch 4.2, but I couldn't find the sources...
There's probably something to change in booting function, but I don't know what.

r96 b9.6 can be launched from the loader though, so it's something which happened since then.

in both r13 (with nswitch) and 9.6 (with the loader) : no installed channels are displayed. I tried installing with the loader and with ShowMiiWads.
something is maybe wrong with the tickets? tmd? the dump? another user has the same issue.
I tried the "rebuild cache" option, but it doesn't fix missing channels on system menu. I tried auto-cache, didn't help either.
but they are listed in the hidden menu>autoboot>installed title.
If I select one of the installed channel as autoboot, rebooting freeze.

neek2o for vWii is really instable :(
I can't make it properly working, even with nswitch, so it's not a loader issue. I don't know if I'm doing something wrong or not.
 

chazman14

Active Member
Newcomer
Joined
Aug 16, 2010
Messages
30
Trophies
1
XP
217
Country
United States
Troythezombie is a homebrew?
you said it's a forwarder, so it's supposed to forward to SD or USB.
But you also said that you are launching it from your "emunand", which means that launching this channels this is what happen :
- usbgx reloads to 249 (or cIOS you selected)
- usbgx tells cIOS to use emuNAND (redirects nands to sd path)
- the channel is launched, and if it's really a forwarder it tries to load a boot.dol located on SD or usb too. No NAND access is ever done, so no redirection is done either.
if the dol is not found, it reboots.

If it's not a homebrew, and it's a real game, you named it "forwarder" instead of "channel"?
if it's a full channel installed on your EmuNAND and it reboots, it's maybe because that game reloads IOS and emuNAND redirection is lost.
sorry, will need more info to help you.

Thanks Cyan. I have all of the proper paths, so I don't know what is wrong. They are forwarders from here (http://gbatemp.net/threads/troythezombies-forwarders-mastershoes-updated-edition.320165/). The SNES forwarder works, however the US versions of GenPlusGX and VbaGX go to black screen, then reboot to USBLoaderGX. Why does the one forwarder work and not the others? I have copies of the apps/ folder on SD card and on both partitions of my HDD (ntfs and FAT32).
 

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
Did you try launching the forwarders from real NAND? (installed on your Wii and launched from system menu, then launched from USBGX with the option to list channels on sysnand)
maybe the path is wrong (did you check the uppercase/lowercase?)
or you are not displaying known file extensions and your file could be named boot.dol.dol ?
(just trying to find a cause)
 

chazman14

Active Member
Newcomer
Joined
Aug 16, 2010
Messages
30
Trophies
1
XP
217
Country
United States
Did you try launching the forwarders from real NAND? (installed on your Wii and launched from system menu, then launched from USBGX with the option to list channels on sysnand)
maybe the path is wrong (did you check the uppercase/lowercase?)
or you are not displaying known file extensions and your file could be named boot.dol.dol ?
(just trying to find a cause)

Thanks for the quick reply. Yes, I have used them in the real NAND and they work correctly. I have checked all the paths and they are all correct, including cases and proper file extensions. I am going to try some other forwarders and see if there is any difference. Thank you again.
 

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
You mean it works on realNAND when launched from the loader? or did you try only launching them from system menu?

If it works from the loader in realNAND, why don't you just display both real and emu channels?
delete the duplicated (and not working) channels from emuNAND to display only the one on realNAND.

Maybe it's not the forwarder which doesn't work, but the program you are booting.
Like I said, when you boot a channel from emuNAND it reloads to cIOS and enable NAND redirection. so it needs to be in cIOS249.
Maybe the homebrew you are launching (emulator?) expects the user to be on IOS58 and instead of reloading that IOS it reboots if it doesn't see the correct IOS.

You can check if the issue is the forwarder or the program you want to boot :
Place the Snes (which work) boot.dol in your /apps/fceux/ folder
boot fceux forwarder.
if it reboots, the forwarder is the issue. If snes launches, the fceux boot.dol is the issue.



I still need to add an option to use the channel's "requested IOS" when booting a channel from realNAND, but it will need to be a cIOS when using emuNAND so there's nothing I can do if you launch it with emuNAND.



edit:
I release 1247 with pre-neek2o features.
1248 is almost ready, I could do more tests today.
n2o works on Wii and vWii. some games seems to not autoboot (but that's probably my NAND dump which is bad, because they don't work from neek's system menu either).
 
  • Like
Reactions: Magnus87

wiigame

Member
Newcomer
Joined
Nov 4, 2007
Messages
13
Trophies
0
XP
164
Country
United States
You mean it works on realNAND when launched from the loader? or did you try only launching them from system menu?

If it works from the loader in realNAND, why don't you just display both real and emu channels?
delete the duplicated (and not working) channels from emuNAND to display only the one on realNAND.

Maybe it's not the forwarder which doesn't work, but the program you are booting.
Like I said, when you boot a channel from emuNAND it reloads to cIOS and enable NAND redirection. so it needs to be in cIOS249.
Maybe the homebrew you are launching (emulator?) expects the user to be on IOS58 and instead of reloading that IOS it reboots if it doesn't see the correct IOS.

You can check if the issue is the forwarder or the program you want to boot :
Place the Snes (which work) boot.dol in your /apps/fceux/ folder
boot fceux forwarder.
if it reboots, the forwarder is the issue. If snes launches, the fceux boot.dol is the issue.



I still need to add an option to use the channel's "requested IOS" when booting a channel from realNAND, but it will need to be a cIOS when using emuNAND so there's nothing I can do if you launch it with emuNAND.



edit:
I release 1247 with pre-neek2o features.
1248 is almost ready, I could do more tests today.
n2o works on Wii and vWii. some games seems to not autoboot (but that's probably my NAND dump which is bad, because they don't work from neek's system menu either).

Cyan, first off let me start by saying that you are amazing for still being active in the wii community. Please send me a link where I can use to donate!
My problem is that one day after not using my wii for a while, the wii wouldn't read any USB's any more. I had one FAT32 formatted with the WBFS folder, and the other WBFS formatted using WBFS manager. During the countdown when it tried to find the USB, it just counts down to zero and goes back to the home page. It worked perfectly a week ago but all of a sudden stopped. I also tried updating the channel along with the wads in the allinone package, but the same problem still persisted. I am on version 4.0, and I didn't change anything since using the hard drives successfully. I also checked the hard drives and they were both wokring without any errors. Please help, it would be greatly appreciated. Thanks! :)
 

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
thank you.
But I don't get any donation, I feel like I'm not deserving anything special, it's not a job but a hobby. I just try to help and maintain what I can. I wish I could do more.
I don't need money, but more free time to do all I want ;)
to thank me, I would prefer users helping each others! if you got help from me, help someone else in return. or help in our wikitemp pages (anything is fine).


Random issues and the one which happen without changing anything are the hardest to debug :(
I'm sorry, I don't know what could be the problem.
Did you try to connect the drive while you see the count down instead of connecting it before booting the console?
You tried two drives, so I will guess it's not a hdd issue. I hope it's not your USB plug which has an issue.
Are the drives working with other homebrew? (emulators, wiixplorer, wiimc etc.)
you could try using IOS58 instead of cIOS, or try hermes cIOS/d2x v10-alt with port1 instead of port0
 

CaptainHIT

Well-Known Member
Member
Joined
Mar 2, 2011
Messages
384
Trophies
1
Age
47
Location
Frankfurt
XP
1,454
Country
Germany
I release 1247 with pre-neek2o features.
1248 is almost ready, I could do more tests today.
n2o works on Wii and vWii. some games seems to not autoboot (but that's probably my NAND dump which is bad, because they don't work from neek's system menu either).

Yay! I've been waiting long for this! Anything else in this new version? Thanks alot Cyan!
 

DyCerBR

Active Member
Newcomer
Joined
Sep 29, 2013
Messages
43
Trophies
1
Age
30
XP
250
Country
Brazil
Thanks a lot for the support, Cyan!

I've been wondering: would it be possible to set a temporary setting on priiloader for it to load USB Loader GX after you leave the emunand channel if you have the "Return to" option enabled?
 

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
Sorry, maybe I don't understand because I don't use priiloader, but I think you don't need any "setting" in priiloader.

What do you want to achieve?
"Return to" is used to reload a channel (you pick the one you want, but users usually select UNEO, the forwarder, to "return to" the loader when exiting a game).
If you have the forwarder installed, set it as "return to" option to reload the loader.

If you don't have the forwarder, how are you launching the loader?
If you launch the loader from priiloader, be sure to use priiloader beta, or you will miss AHB access.
If you use priiloader beta, and installed the loader's boot.dol inside priiloader, then don't enable "return to" in the loader and it will reload priiloader when you exit a game. Priiloader will then auto-return to the loader.

the first method is a lot easier.
install the forwarder, set it as "return to" option. it will also help with other homebrew launched from the loader (nintendont, etc.)
 

DyCerBR

Active Member
Newcomer
Joined
Sep 29, 2013
Messages
43
Trophies
1
Age
30
XP
250
Country
Brazil
Sorry, maybe I don't understand because I don't use priiloader, but I think you don't need any "setting" in priiloader.

What do you want to achieve?
"Return to" is used to reload a channel (you pick the one you want, but users usually select UNEO, the forwarder, to "return to" the loader when exiting a game).
If you have the forwarder installed, set it as "return to" option to reload the loader.

If you don't have the forwarder, how are you launching the loader?
If you launch the loader from priiloader, be sure to use priiloader beta, or you will miss AHB access.
If you use priiloader beta, and installed the loader's boot.dol inside priiloader, then don't enable "return to" in the loader and it will reload priiloader when you exit a game. Priiloader will then auto-return to the loader.

the first method is a lot easier.
install the forwarder, set it as "return to" option. it will also help with other homebrew launched from the loader (nintendont, etc.)


Sorry i didn't make myself clear.

What I wanted to say was: When we get n2o support, I know the "return to" feature will load the NK2O channel on the Emunand that, if I understood correctly, simply reboots the console.

I've been wondering if it would be possible for USB Loader Gx, when loading a channel on emunand configured to use Neek2O and the "return to" option enabled, to set a temp setting for Priiloader so that, when the console reboots, it loads USB loader 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,649
Country
France
Ah, you want priiloader to not boot the loader in "normal" time, but that it does when exiting neek2o only?
It would require installing the loader's dol inside priiloader and editing priiloader setting file before booting neek, and after reloading the loader to re-set the initial setting.
if it hang/freeze/crash/shutdown while you are in priiloader without exiting neek, then the next time you boot the console it will autoboot the loader too as the setting are not really temporary but permanent. it's just written/reset by USBGX instead of priiloader's user interface.

I don't like the idea to mess with another homebrew setting, even less when priiloader is what's booted first on your console and what should prevent bricks. If I mess with its settings and make it crash/freeze on boot, that would be bad.

Theoretically, it's possible. But I won't do it.
I recommend installing the loader forwarder's dol inside priiloader to always autoboot USBGX.
There's a setting in the loader (in parental control menu) to patch priiloader when selecting "return to system menu" to prevent autoboot and correctly "return to system menu" instead of priiloader's installed dol.
 

atlanx

Well-Known Member
Newcomer
Joined
Mar 15, 2009
Messages
55
Trophies
0
Age
44
Location
Bavaria
Website
Visit site
XP
330
Country
Gambia, The
I just updatet to rev2147.

When i update now the WiiTDB.xml it downloads the file.
But when it counts up the downloaded Bytes it cant show the Number 3.
Always when Number '3' appears somewhere in the Numbers it writes 'r'.

The same when i update the language files.

In the field of still to go seconds the number 3 appears as 'r'.

Settings:
Wii-Systemfont is set to: ON

Hint:

If i set using Wii-Systemfont to OFF the failure is not appearing.

-- UPDATE --
Funny - after setting Wii-Systemfont back from OFF to ON the failure ist gone.
 
Last edited by atlanx,

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
corrupted text means there's memory corruption somewhere else (not necessarily with font, just that the font might be located at the same place than some other variable).
It's hard to understand where it happens and how to fix it.

But usually, if you see corrupted text, it's best not to use that version.
or like you did, fix it first (I'm not sure it's enough to do a OFF/ON cycle)

Thanks for reporting.
 

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
do you have the same issue with the font?
if you do, it means something is wrong, and I can't know what could be affected (maybe just the display, maybe launching games, maybe writing data to disk like 1235)
if you don't have corrupted effect, it's fine to use.
or you can recompile it yourself, sometime just a recompile fix it.
 
  • Like
Reactions: Troopage

marchrius

Well-Known Member
Member
Joined
Jan 12, 2015
Messages
298
Trophies
0
Age
30
XP
465
Country
Italy
For everyone with their pen drive/hdd not detected (stuck at 'initialize USB device' with a usb drive that used to work fine) I had this problem myself, I solved it with a tool called Bootice. You basically have to format your drive as usb-hdd with this tool and align the file system partition table with the first flash block. https://m.reddit.com/r/WiiHacks/comments/2z1ei5/usb_loader_gx_freezes_or_hangs_at_initialize_usb/

Hope this helps, I struggled with this problem a lot...
 
  • Like
Reactions: sieroi and Cyan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: