Hacking USB Loader GX

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

Badablek

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
515
Trophies
1
Age
43
XP
2,908
Country
France
Were you successful??

yes sir ! And it's working beautifully...

First I thought I had to make some changes because of the new devkitppc/libogc, but it compiled at first attempt.
Only one little problem concerns the versioning. The script that changes version.c doesn't seem to work as it should. With official USBLGX sources, it works great, but with GreyWolf fork, it always forces version to "1" instead of "1269"
I put a read-only flag on version.c to avoid this little "bug"

If anybody wants to try, first, please, keep in mind this is an unofficial build of an unofficial version of USBLoader GX :teach:
so don't bother GreyWolf or Cyan or any official dev if it crashes or doesn't work as you want.

binary : https://mega.nz/#!3cciGRSZ!vGiOJgsgzMdR1J8bv0kuoHkAlnTW0f3JtBldm5a0oeQ
sources : https://mega.nz/#!zUNS0RBK!XJgx_AzPdpK4x7J3EHGNSKg0xJP3PUobK_cl__hS8BQ

First impression : GreyWolf's fork seems lighter and more stable than the official one (official 1263 + tabmod seems a little bit picky and can crash easily), but I didn't make intensive tests.

ps : I don't want to hijack this thread, which talks only about the official builds.

thanks GreyWolf, Cyan and all great developers of 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
First impression : GreyWolf's fork seems lighter and more stable than the official one (official 1263 + tabmod seems a little bit picky and can crash easily), but I didn't make intensive tests.
that's a good thing if he managed to make it more stable.
I didn't check all his changes, that might be too much to merge in one revision. but thank you Greywolf for still updating it.
what is libtremor for?
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
libtremor is the Ogg Vorbis audio module. They haven't updated the portlibs repository in a while and that one needed to be recompiled for r27 to get it to link still.

@Badablek The major/minor version numbers are in gitrev.sh. You can just change it back to 3.0 if you like. The revision is the Git commit count so it's possible that it may end up skipping numbers in releases but it will always be higher than the previous revision.

I reset the version to 1.0 since it's a new project. Now I just need to define an API. At some point most of the UI will be XML-driven so modifying it won't require a new binary.
 
Last edited by GreyWolf,
  • Like
Reactions: Cyan

Dogbert8

Active Member
Newcomer
Joined
Sep 23, 2010
Messages
32
Trophies
1
XP
750
Country
United States
It doesn't appear as though an additional report of this problem is needed, but just in case...

I also recently acquired a new portable hard drive (WD 1TB) and am encountering freezing when USB Loader GX tries to initialize the drive. An identical hard drive works fine as the Wii U's main drive, so it's getting power just fine. An older hard drive (USB 2.0, if that matters) works fine with USB Loader GX using the same USB ports. I tried editing the meta file to load via IOS 58 to see if that makes a difference, but had no luck in getting it to not freeze. I am loading it via a forwarder, which I note in case that affects which IOS/cIOS is used. I've just gone back to using my old drive for now, but look forward to switching at some point so that I can use the same cable for both hard drives instead of swapping out USB 2.0/3.0 cables when switching drives. Is there anything else I could try/report to help nail down the problem?
 

CGarces

Member
Newcomer
Joined
Jan 1, 2010
Messages
7
Trophies
0
XP
159
Country
I'm trying to load my backups from a EXT4 usb2 drive.

The HDD looks fine, has a single ext4 partition and is working fine connected to my laptop.

But I can't acess to the drive using USB Loader GX

The error is "Failed to initialise the USB storage."

The version used is 3.0 r1262

There is any debug option to see what is going on?

Is Ext4 supported?
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
I'm trying to load my backups from a EXT4 usb2 drive.

The HDD looks fine, has a single ext4 partition and is working fine connected to my laptop.

But I can't acess to the drive using USB Loader GX

The error is "Failed to initialise the USB storage."

The version used is 3.0 r1262

There is any debug option to see what is going on?

Is Ext4 supported?

I've never used it. There is ext2 support but I have no idea if they're compatible. FAT32 is your best bet. Works with any OS or homebrew.
 

JasonH

Well-Known Member
Member
Joined
May 28, 2016
Messages
102
Trophies
0
XP
338
Country
United States
yes sir ! And it's working beautifully...

First I thought I had to make some changes because of the new devkitppc/libogc, but it compiled at first attempt.
Only one little problem concerns the versioning. The script that changes version.c doesn't seem to work as it should. With official USBLGX sources, it works great, but with GreyWolf fork, it always forces version to "1" instead of "1269"
I put a read-only flag on version.c to avoid this little "bug"

If anybody wants to try, first, please, keep in mind this is an unofficial build of an unofficial version of USBLoader GX :teach:
so don't bother GreyWolf or Cyan or any official dev if it crashes or doesn't work as you want.

binary : https://mega.nz/#!3cciGRSZ!vGiOJgsgzMdR1J8bv0kuoHkAlnTW0f3JtBldm5a0oeQ
sources : https://mega.nz/#!zUNS0RBK!XJgx_AzPdpK4x7J3EHGNSKg0xJP3PUobK_cl__hS8BQ

First impression : GreyWolf's fork seems lighter and more stable than the official one (official 1263 + tabmod seems a little bit picky and can crash easily), but I didn't make intensive tests.

ps : I don't want to hijack this thread, which talks only about the official builds.

thanks GreyWolf, Cyan and all great developers of USBLoader GX !
Badablek, Can you create a tab mod with the latest Usbloadergx with Plugin support?
Even if the two could not possibly be intertwined it would still be awesome to have them both in the same package.
USBLoader GX r1262 plugin mod v2
download - https://www.mediafire.com/?x8anxwhp6umauzn

 
Last edited by JasonH,
  • Like
Reactions: superkrups20056

stevedidWHAT

Member
Newcomer
Joined
Mar 30, 2017
Messages
13
Trophies
0
Age
27
XP
51
Country
United States
Hey guys,

So I recently installed ios236 and D2x as I was having some issues with nintendont (appeared to be the usb, somehow was corrupted :( ) So I went out and bought a usb 3.0 32gb flash drive to use with usbloadergx paired with nintendont for gc games. Now I've gotten pretty much everything to work, everything is updated from nintendont to usbloadergx, HOWEVER, whenever I try to load a GC game from usbloadergx, I get stuck hanging on a black screen. Wiimote light is still on, but it never loads. I tried changing memory emulation to multi and off, all with the same results except for multi or single emulation make it to nintendont and hang on the virtual memory blocks creation once it finishes the last block. I tried loading all the games from nintendont, and all work fine which leads me to believe it's something with usbloadergx. I tried looking for any logs on the SD and wasn't able to find anything. Any and all help would be much appreciated!
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
Hey guys,

So I recently installed ios236 and D2x as I was having some issues with nintendont (appeared to be the usb, somehow was corrupted :( ) So I went out and bought a usb 3.0 32gb flash drive to use with usbloadergx paired with nintendont for gc games. Now I've gotten pretty much everything to work, everything is updated from nintendont to usbloadergx, HOWEVER, whenever I try to load a GC game from usbloadergx, I get stuck hanging on a black screen. Wiimote light is still on, but it never loads. I tried changing memory emulation to multi and off, all with the same results except for multi or single emulation make it to nintendont and hang on the virtual memory blocks creation once it finishes the last block. I tried loading all the games from nintendont, and all work fine which leads me to believe it's something with usbloadergx. I tried looking for any logs on the SD and wasn't able to find anything. Any and all help would be much appreciated!

Turn on OS Report for Nintendont in the settings on USB Loader GX (but don't leave it on indefinitely - it can slow the application down.) It will generate a log that may tell you what's wrong. It's likely the drive isn't partitioned properly or something isn't working with the flash drive. They're notoriously flaky on Wii homebrew and aren't recommended.

You will get a black screen when loading from GX as newer versions Nintendont don't display anything unless there's an error or there is no memory card file yet but it should start the game withing about 10-30 seconds.
 

stevedidWHAT

Member
Newcomer
Joined
Mar 30, 2017
Messages
13
Trophies
0
Age
27
XP
51
Country
United States
Turn on OS Report for Nintendont in the settings on USB Loader GX (but don't leave it on indefinitely - it can slow the application down.) It will generate a log that may tell you what's wrong. It's likely the drive isn't partitioned properly or something isn't working with the flash drive. They're notoriously flaky on Wii homebrew and aren't recommended.

You will get a black screen when loading from GX as newer versions Nintendont don't display anything unless there's an error or there is no memory card file yet but it should start the game withing about 10-30 seconds.
I've got that enabled, but can't seem to find the log. Where would that be located? (Also I let it sit on black screen for 15 minutes and nothing happened.)
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
If it's not in the root of your drive with your apps folder or in the Nintendont folder then it's probably not making it to Nintendont. How is your drive partitioned and formatted?
 

stevedidWHAT

Member
Newcomer
Joined
Mar 30, 2017
Messages
13
Trophies
0
Age
27
XP
51
Country
United States
If it's not in the root of your drive with your apps folder or in the Nintendont folder then it's probably not making it to Nintendont. How is your drive partitioned and formatted?

So Everything is on the SD, except for the games, which are on a usb drive which was formated to fat32 as soon as I pulled it out of the packaging. No partitioning outside of the formatting.

In addition, I searched in the root of the SD card, apps folder, usbloadergx, nintendont, and the games folder in the USB drive, I don't seem to see anything that would be a log file. Is there a generic name that it uses?
 
Last edited by stevedidWHAT,

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,769
Country
United States
Hey @GrayWolf, out of curiousity, does Nintendont exit to the homebrew channel instead of the loader for you too on your fork?
I was planning on updating to your fork with the new nintendont but I kept getting kicked to the HBC when I quit out of games, which I find kind of annoying personally. I figured this could have something to do with the fork of the loader- but I guess it could also be a Nintendont change that's causing it. ¯\_(ツ)_/¯
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
USB Loader GX (and my fork) sets the ReturnTo when calling homebrew dols to the UNEO forwarder so they should both return to it when the homebrew exits. All of that is done via reserved memory so it shouldn't be affected by partitioning, etc.

The latest version of GX from Sourceforge does not include updates to work with the last few versions of Nintendont so it's possible it's not returning because Nintendont rejected the arguments sent via GX. The current Streamline master should be compatible with Nintendont after the CC rumble and option to skip the GC BIOS were added.

Be advised that my fork currently has updates disabled, too, since GX's networking module doesn't work properly with https addresses. I should have a fix for that in the next week and I can enable automatic updates again.
 
Last edited by GreyWolf,
  • Like
Reactions: CheatFreak47

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,769
Country
United States
USB Loader GX (and my fork) sets the ReturnTo when calling homebrew dols to the UNEO forwarder so they should both return to it when the homebrew exits. All of that is done via reserved memory so it shouldn't be affected by partitioning, etc.

The latest version of GX from Sourceforge does not include updates to work with the last few versions of Nintendont so it's possible it's not returning because Nintendont rejected the arguments sent via GX. The current Streamline master should be compatible with Nintendont after the CC rumble and option to skip the GC BIOS were added.

Oh well that's probably why, that assumes I have the UNEO forwarder installed when I don't, but I've never had it installed and Nintendont used to return to the loader just fine. :unsure:

Did any change to Nintendont maybe cause this?

If you're curious, I boot USB Loader GX with priiloader through an installed forwarder dol- and I never use my Wii Menu or Homebrew Channel- ever, so this is kind of an annoyance.

I suppose I could just install the UNEO forwarder, but even that isn't ideal really.

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

@GreyWolf .
Edit: Never mind I'm an idiot, and also, problem resolved. It was something I screwed up on my end. Thanks for the explanation, though. :D

Basically, I somehow forgot that I, years ago, created my own forwarder WAD that reboots the Wii when it's loaded instead of opening the USB Loader and gave it the UNEO titleID- and somehow that got removed from my Wii by mistake. So, my bad, your fork is working perfectly fine.
 
Last edited by CheatFreak47,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol