Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,189,627
  • Replies 29,369
  • Likes 48

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
which version of the loader are you using ? (look in the settings>credit page)
don't tell "latest", there are latest release and latest beta (you could think it's the latest while it's not)

You told only about the channel view, but I guess it doesn't work in other layout mode either.

I don't know why it can't read the data/launch the game. The only thing I'm thinking is
- bad dump/corrupted data: did you try the same file on another device?
- impossible to read the device: I don't know why 5 other games worked, but maybe try another IOS (verify the settings of the games, there are global and individual settings).
- try another loader to see if it's your device/iso or the settings/loader
 

Uzumaki Naruto Jr.

Member
Newcomer
Joined
Jun 9, 2013
Messages
6
Trophies
0
Age
26
Location
木ノ葉隠れの里
Website
forums.parukia.net
XP
43
Country
United States
which version of the loader are you using ? Lol! USB Loader v3.0 r1215. Most recent is r1217? Should I update or no?
did you try the same file on another device? My device is compatible and no because I do not own any other USB big enough to support it.
I have tweaked the IOSes, but no luck at the moment.
try another loader to see if it's your device/iso or the settings/loader Yes, I have tested with Configurable USB Loader, going to test again, but I have WiiFlow, I will try it too.
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,775
Country
United States
I asked to report here for video modes problem (as it's easier to talk about it without sending a mail to issue followers for each reply).
But it seems users don't have problem (or didn't test enough games/are not aware of the new revision).


1. The first one you already posted it in the issue thread. I'll remap the row's size to up/down only. done
2. Thanks, I'll add the arrow's clicking feature for GC/CC.
3. You are wrong, it's doing the same thing with left/right on Wiimote's D-PAD. so all D-pad only move the cover to 1 position. I'll see too add continuous move with GC/CC too. (maybe C-stick/right Stick)


I'd say L/R is better, since they don't do anything at the moment.
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
uLoader, at least in its last version v5.1E, uses EmuNAND. It is possible to store savegames in SD/USB with uLoader and it automatically installs WiiWare/VC wads in an EmuNAND if those wads are in usb:/nand/install or sd:/nand/install .
uLoader doesn't use the same format and file structure for it's emuNAND. I kinda get the impression looking at it that it just extracted all the contents of the WAD files and dumped them into a folder. It's more organized than that, I know, but it's not quite the same as the folders on the NAND itself which is what other cIOS use.
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Sorry, I don't know how Herme's cIOS is working.
All right, no problem. It was just an idea, let's wait then until cIOS D2X's developer/s improve its emuNAND compatibility.

uLoader doesn't use the same format and file structure for it's emuNAND. I kinda get the impression looking at it that it just extracted all the contents of the WAD files and dumped them into a folder. It's more organized than that, I know, but it's not quite the same as the folders on the NAND itself which is what other cIOS use.
Yeah, I read somewhere that uLoader and its cIOS were working in a "special" (meaning different, I suppose) way as regards emuNAND operations. I also read about something called "mload", but I didn't get much of it due to my little knowledge on this matter.
 

JordenNixNix

Well-Known Member
Member
Joined
Feb 11, 2012
Messages
233
Trophies
0
XP
275
Country
Belgium
I always was so happy with the USB Loader GX but now I have a problem.
My Kirby's adventure Wii PAL disc broke yesterday, but I made a backup in the past (with USB Loader GX).
But I can't play it. When I hit 2 on the startscreen/title screen in the game it freeze. I ran the game with IOS 222 and don't use any ocarina/gecko codes!

I already tried to launch the game with IOS 223, 249 and IOS 248 but when you hit the begin button in USB loader GX the game even't won't launch and take my back to the Wii system Menu.
I already tried IOS 222 with IOS stop on auto but when the game launch I only see a white screen.

Al other games even Donkey Kong Country Return and Zelda Skyward Sword work fine.

Please help. I want to play my game again.


Here is a syschech of my WII:
sysCheck v2.1.0b18 by Double_A and R2-D2199
...runs on IOS58 (rev 6176).

Region: PAL
System Menu 4.3E (v514)

Drive date: 2006.09.07
Homebrew Channel 1.1.0 running on IOS58
Hollywood v0x11
Console ID: 44547793
Boot2 v4
Found 133 titles.
Found 48 IOS on this console. 13 of them are stub.

IOS4 (rev 65280): Stub
IOS9 (rev 1034): No Patches
IOS10 (rev 768): Stub
IOS11 (rev 256): Stub
IOS12 (rev 526): No Patches
IOS13 (rev 1032): No Patches
IOS14 (rev 1032): No Patches
IOS15 (rev 1032): No Patches
IOS16 (rev 512): Stub
IOS17 (rev 1032): No Patches
IOS20 (rev 256): Stub
IOS21 (rev 1039): No Patches
IOS22 (rev 1294): No Patches
IOS28 (rev 1807): No Patches
IOS30 (rev 2816): Stub
IOS31 (rev 3608): No Patches
IOS33 (rev 3608): No Patches
IOS34 (rev 3608): No Patches
IOS35 (rev 3608): No Patches
IOS36 (rev 3608): No Patches
IOS37 (rev 5663): No Patches
IOS38 (rev 4124): No Patches
IOS40 (rev 3072): Stub
IOS41 (rev 3607): No Patches
IOS43 (rev 3607): No Patches
IOS45 (rev 3607): No Patches
IOS46 (rev 3607): No Patches
IOS48 (rev 4124): No Patches
IOS50 (rev 5120): Stub
IOS51 (rev 4864): Stub
IOS52 (rev 5888): Stub
IOS53 (rev 5663): No Patches
IOS55 (rev 5663): No Patches
IOS56 (rev 5662): No Patches
IOS57 (rev 5919): No Patches
IOS58 (rev 6176): USB 2.0
IOS60 (rev 6400): Stub
IOS61 (rev 5662): No Patches
IOS62 (rev 6430): No Patches
IOS70 (rev 6912): Stub
IOS80 (rev 6944 Info: rev 6944): Trucha Bug
IOS222[38] (rev 65535 Info: hermes-v5.1): Trucha Bug ES Identify NAND Access USB 2.0
IOS223[57] (rev 65535 Info: hermes-v5.1): Trucha Bug NAND Access USB 2.0
IOS236[36] (rev 65535 Info: rev 3351): Trucha Bug ES Identify NAND Access
IOS248 (rev 65535): Trucha Bug NAND Access USB 2.0
IOS249[57] (rev 21007 Info: d2x-v7final): Trucha Bug NAND Access USB 2.0
IOS250 (rev 65280): Stub
IOS254 (rev 65281): BootMii
BC v6
MIOS v10

Report generated on 2013/08/25.
 

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 have Hermes v5, d2x v7
You play all your games with IOS222 by default?
Hermes is practically not used anymore (it was used for music games, usb instruments, etc.), but now d2x can do the same.
Most users are using cIOS with a "base 56" for all their games, and you don't have any.

Try installing d2x v8 final (or v10 beta52) with these settings:
Slot 249 : base 56, version 21008 (or 210xx)
Slot 250 : base 57, version 21008 (or 210xx)
where xx = version of the installed IOS, 21008 for version 8 final, 21010 for version 10, etc.
Don't use version 65535, it's confusing.

Then set your loader and all games to use Slot249 by default.

There are also a possibility that your dump is bad, but try updating your cIOS first.




r1218 progression:
Done
  • Fixed missing games in "GameCube Delete menu" if the "GameCube Source" setting has USB priority.
  • Updated/reordered GameCube settings position and names
  • Updated some menu ergonomy with controllers:
    • Prevent GC/CC X and Y buttons to change row number in Wall layout (use d-pad up/down only)
    • Added GC/CC support to caroussel's arrow button
    • Added GC/CC support to Wall/Caroussel continuous scroll (+/- on CC, L/R on GC)
    • Added GC support L/R and Start buttons in the settings/homebrew browser.
    • Added D-pad support in listing windows. The cursor moves with the selection (not very good with high Overscan value) (issue 2093)
  • Added Nintendont support
  • Added AHBPROT support to read config files (speed up launch process)
  • Added IOS58 support for launching the loader without cIOS (Disc, NAND channels and GC mode only)
  • Added a Loader's IOS setting (now Loader and Games use two separate settings: loader can use 58 and games 249)
  • Forced IOS58 (if available) for all homebrew launching
  • Added LibruntimeIOSPatch to patch IOS58 and Hermes v4 to get ISFS access and enable Banner mode, Channel's title and System font with these IOSes (still require AHB access)
  • Added a delete prompt when cheat file is empty
  • Display only GameCube settings related to Selected GameCube mode
  • Rename some setting names and prompt texts (sorry translators, more work for you. another batch in next releases. If you have requests, let me know)

To do before release:
* Autodetects Real NAND channel's requested IOS <-- probably in later release. Maybe useful for disc based games too.
* few random things I find here and there.
 
  • Like
Reactions: Magnus87

JordenNixNix

Well-Known Member
Member
Joined
Feb 11, 2012
Messages
233
Trophies
0
XP
275
Country
Belgium
You have Hermes v5, d2x v7
You play all your games with IOS222 by default?
Hermes is practically not used anymore (it was used for music games, usb instruments, etc.), but now d2x can do the same.
Most users are using cIOS with a "base 56" for all their games, and you don't have any.

Try installing d2x v8 final (or v10 beta52) with these settings:
Slot 249 : base 56, version 21008 (or 210xx)
Slot 250 : base 57, version 21008 (or 210xx)
where xx = version of the installed IOS, 21008 for version 8 final, 21010 for version 10, etc.
Don't use version 65535, it's confusing.

Then set your loader and all games to use Slot249 by default.

There are also a possibility that your dump is bad, but try updating your cIOS first.




Progression note for next revision:
* Fixed missing games in "GameCube Delete menu" if the "GameCube Source" setting has USB priority.
* Updated some menu ergonomy with controllers:
- Prevent GC/CC X and Y buttons to change row number in Wall layout (use d-pad up/down only)
- Added GC/CC support to caroussel's arrow button
- Added GC/CC support to Wall/Caroussel continuous scroll (+/- on CC, L/R on GC)
- Added GC support L/R and Start buttons in the settings/homebrew browser.
- Added D-pad support in listing windows. The cursor moves with the selection (not very good with high Overscan value) (issue 2093)
* Added IOS58 and AHBPROT support for launching the loader without cIOS (Retail disc, NAND channels and GC mode only). Useful for users with vWii without cIOS who only want GameCube with Devolution.
* Added a Loader's IOS setting (now Loader and Games use two different settings: loader can use 58 and games 249, or loader 249 and games 250 if you find it useful)
* Forced IOS58 (if available) for all homebrew launching.

To do before release:
* add HDD support when loader use IOS58 (My hdd is never detected. I thought it was easy to add AHBPROT support to homebrew, but it seems USB support is not easy)
* Autodetects Real NAND channel's requested IOS


Thanks. By updating my CIOS the game finaly run. Thanks a lot!

But the problem isn't sloved. With the usb loader GX on IOS 249 , USB Loader GX show only 1 USB stick (but Kirby's adventure works)

When I used IOS 222 in the past USB Loader GX shown me both usb sticks.


I has tried to set the loader on IOS 222 and Kirby's adventure on ios 249.
The loader show then both devices but Kirby's adventure won't work.


I have updated my IOS with D2x v10 beta52 and have follow your guidelines.


Is there a setting to let the USB Loader GX shown both USB stick and let me play Kirby's adventure at once?
 

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
To get access to both USB port, you need either :
- Hermes IOS (what you were using)
- D2x v9
- D2x V10-alt (beta53)
(v8 or v10beta52 support only USBport0)

Then in the loader you can enable HDD Settings > Port > Both
 
  • Like
Reactions: JordenNixNix

JordenNixNix

Well-Known Member
Member
Joined
Feb 11, 2012
Messages
233
Trophies
0
XP
275
Country
Belgium
To get access to both USB port, you need either :
- Hermes IOS (what you were using)
- D2x v9
- D2x V10-alt (beta53)
(v8 or v10beta52 support only USBport0)

Then in the loader you can enable HDD Settings > Port > Both


Evrything is just perfect now.

Realy,

:yaywii: Thanks a lot! :yaywii:
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,775
Country
United States
Thanks. By updating my CIOS the game finaly run. Thanks a lot!

But the problem isn't sloved. With the usb loader GX on IOS 249 , USB Loader GX show only 1 USB stick (but Kirby's adventure works)

When I used IOS 222 in the past USB Loader GX shown me both usb sticks.


I has tried to set the loader on IOS 222 and Kirby's adventure on ios 249.
The loader show then both devices but Kirby's adventure won't work.


I have updated my IOS with D2x v10 beta52 and have follow your guidelines.


Is there a setting to let the USB Loader GX shown both USB stick and let me play Kirby's adventure at once?


You actually didn't need to upgrade your cIOS to play Kirby's Return to Dream Land.
Kirby's Adventure Wii has a special AP in it called Metafortress protection. All you have to do is put this file on your SD Card Root to disable the AP.
Cyan, is there anything special that he needs to do for gameconfig.txt files to work in USB Loader GX? Maybe enable Ocarina or something?

I actually never use d2x v10. It doesn't work with my EmuNAND for some reason. It just creates an EmuNAND on the root of my device when I try to use it, and then kicks me back to the loader or locks up.
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Ok, I tried r1217 and now "DBZ Budokai Tenkaichi 3" and "ShinChan The New Adventures for Wii" are displayed in 480p (previously displayed in 576i). My settings:

Wii Settings:
- PAL console
- Official component cable
- HDTV 480p

USB Loader GX Global Settings:
- Video Mode: Disc default
- Dol Video Patch: Off

DBZ Budokai Tenkaichi 3 (PAL) Individual Settings:
- Video Mode: Use global
- Dol Video Patch: All
- Game displayed in 480p!

ShinChan The New Adventures for Wii (PAL) Individual Settings:
- Video Mode: Use global
- Dol Video Patch: All
- Game displayed in 480p!
 

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
It's in progressive without dol patching? that's interesting.
maybe something to do with the changes I did on "autodetection". (PAL really use PAL now)


CheatFreak47: yes, I think you need to enable hooktype (set to default VI), and if it's not enough enable Ocarina (even without creating a gct file).

But he said all is working now.
The patch is for meta fortress? not for Classic Controller support?
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,775
Country
United States
@Cyan
It is indeed. Crediar wrote the patch for the NTSC version, but I dunno who wrote the PAL version. All I know is I have both backed up on my mediafire in case they ever go down, I think the links are one the Gecko Code database pages for the games, though.

The Classic Controller Code does require the MF patch though, and if you enable most hooks, the game will flatout crash without the patch file for your version.
 

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've checked quickly the sources, and it seems you need at least one ocarina code.
The gameconfig.txt can either be on SD or USB root, or in the cheatcode folder.

I will need to change that to allow gameconfig.txt without ocarina code. (and allow GameID in the filename too, to store multiple gameconfig.txt at the same time).
I think SSBB use gameconfig.txt so I could test with this game.
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,775
Country
United States
I've checked quickly the sources, and it seems you need at least one ocarina code.
The gameconfig.txt can either be on SD or USB root, or in the cheatcode folder.

I will need to change that to allow gameconfig.txt without ocarina code. (and allow GameID in the filename too, to store multiple gameconfig.txt at the same time).
I think SSBB use gameconfig.txt so I could test with this game.

If you look at how gameconfig.txt files are set up, you can actually just put multiple patches into one file, and separate the different games by game ID and a line break.
I haven't tried myself because Kirby is the only game I have that does this, so I can't be sure if this works, but it should.
Something like this maybe?

Code:
SUKP01:
poke(80176000, 48000084)
poke(80176730, 60000000)
poke(80176B6C, 60000000)
poke(80176E88, 48000090)
poke(80177160, 60000000)
poke(8017733C, 4800008C)
poke(8017752C, 60000000)
poke(80177C2C, 48000088)
poke(80177DF4, 48000090)
poke(80178128, 48000090)
<rest of patch>
 
SUKE01:
poke( 80175D3C, 48000084 )
poke( 80176464, 60000000 )
poke( 8017682C, 60000000 )
poke( 80176B48, 48000090 )
poke( 80176E20, 60000000 )
poke( 80176FFC, 4800008C )
poke( 801771EC, 60000000 )
poke( 801778E4, 48000088 )
poke( 80177AAC, 48000090 )
poke( 80177DE0, 48000090 )
poke( 80178138, 4800008C )
<rest of patch>
 
RSBE01:
<Some misc. brawl patch>

As for when to apply it, maybe make the loader only check for it if a hook is applied (I think a hook has to be applied for these to work anyway like ocarina, right?)
From there, it checks for the ID of the game in the file. If it finds nothing then nothing happens obviously.
 

OriginalHamster

UStealthy
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
Not sure if I will ask something stupid, but would it be possible create a base 58+56 merged? This to take advantage of 58´s device access (for me at least 58 is the most reliable IOS for external devices, and console resources), and 56 high game compatibility.
 

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
It's a cIOS feature, not the loader. I don't know if the game compatibility is only based on the function inside base56 without taking the device driver in account.
You'll have to ask davebaol if it's even possible to only merge the ehci from 58 in other IOS.

What do you mean with "without"? Dol Video Patch option was set to "All" for both games.
Oh, I looked only at the global setting saying "OFF" :P
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power