Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,223,629
  • Replies 29,375
  • Likes 48

WiiFreasko

Well-Known Member
Member
Joined
Jan 8, 2013
Messages
100
Trophies
0
Age
34
XP
78
Country
Thailand
Cyan's dol works fine autobooting nintendont on my wii while airline's mod codedumps a lot

I noticed a considerable difference in dol size!
are you using different devkit revisions or different libogcs?

Cyan what devkit rev are you using to compile your dol?
thanks
Freasko
 

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
airline is using a new network library (one which is working with geckocodes), and it's a big one. additional 400-600Ko.
I would like to find another way to fix that issue, to understand what's different with current network and cURL network and apply it to libogc network.c (and fix all homebrew at once!)
We should sniff packets to see the differences.


I'm using devkitPPC_r26 and Libogc1.8.12
It currently doesn't compile with devkitPPC_r27, it needs a lot of fixes. (it can only work better after that!)
 
  • Like
Reactions: WiiFreasko

JordenNixNix

Well-Known Member
Member
Joined
Feb 11, 2012
Messages
233
Trophies
0
XP
275
Country
Belgium
Sorry but I have still problems with DIOS MIOS.

As you told me I have format my HDD to FAT32.
But NGC games won't load in the Disc Channel. I tried both Wii port.
When I hit Begin I got a black screen or somethimes the Wii even turns off.

I also have problems in USB loader GX. It shows the NGC games correctly but if you choose to start them, you got a message to copy it to an SD card?!
I'm very sure I'm using DM and NOT DML!
I trying to load from a HDD not from an SD card!


I now that I must set the paths correct and I know to tick show NGC games on, but still nothing.


Can you please tell me how I do this right?
Give me the link to download neaccesairy files if I need it, please help.


Sorry to bother you.
 

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,258
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,322
Country
United States
Try this:
Go to Settings->Loader Settings->Gamecube Source->Main Path,
then go to Settings->Custom Paths->Main Gamecube Path->usb1:/games/
For the games not loading from disc channel issue, try using ModMii to download BC v6 as well as MIOSv10. Install MIOSv10, then BC v6. Finally, reinstall DIOS MIOS. If that doesn't help, then I don't know what to do, as that always helped when I had DM issues.
 

Magnus87

Well-Known Member
Member
Joined
Apr 28, 2013
Messages
397
Trophies
1
XP
1,510
Country
Argentina
Thank you Cyan, it works great for me. USBLGX reads config file from my HDD with this mod, even if my SDCard is inserted.






ps : one question which has nothing to do with bugs

Is there a little chance that you add officially, one day, some kind of tab mod (I don't remember who made it the first time, but I used it and tweaked the sources to compile my own version of USBLoader GX, see below) ?

usbloadergxscreenshotma.png

Nice Mockup :D

Toolbar could be more like Wii U OS

Wii-U-Menu.jpg
 

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
The toolbar could be changed if needed.
it's easy to do transparency instead of the square icon. though, it might require a different way to mark active icons like a different visual effect.


JordenNixNix: update USBLoaderGX. you have an old version.
(Settings > Update > USBGX > Full)
That will allow you to launch games from USB.

Though, your issue might not be fixed.
DIOS MIOS has issue with a lot of HDD, yours could be incompatible too.
If the Wii shutdown, or it stays on a black screen when you launch DM, it's an incompatible HDD.

MarcusCarter:
He can't launch games from disc channel because he has DIOS MIOS installed.
DIOS MIOS require a compatible HDD with a compatible partition connected to USB before launching Disc based games.
His HDD seems to be incompatible with DIOS MIOS (black screen, console shutdown), so he only need another device to be able to launch disc with DM installed.
 

kimotori

Well-Known Member
Member
Joined
Nov 28, 2012
Messages
168
Trophies
0
Age
50
Location
Europa
XP
200
Country
Antarctica
Hello Cyan, forgive me if I do not read the whole post, but usbloadergx writes: Nintendont this version does not support games on USB ...
I'm using r1221 and nintendont 1.21 ..
why?

(wii 4.3, game on usb)
 

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 updated the loader, it (should) now support Geckocodes download again :)
it's available in the internal updater.
please, try it and let me know if it's still not working.


There were two things to do to fix the issue:
- If there's a "Referer:" in the request header, Cloudflare respond with 403 forbidden.
- Cloudflare sometime responds with 302 Found (a redirect command), so the loader needs to detects http error codes and reload the new provided url
Cloudflare also provide a cookie, but it's not required to reload the page.
libcURL is not required.
 

Bent

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
192
Trophies
2
Age
42
Website
Visit site
XP
2,632
Country
United States
I'm using devkitPPC_r26 and Libogc1.8.12
It currently doesn't compile with devkitPPC_r27, it needs a lot of fixes. (it can only work better after that!)

I discovered this after updating devkitpro and trying to compile. Would it be easier for me to downgrade so I can compile or to wait for these fixes?
 

Badablek

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
527
Trophies
1
Age
43
XP
2,955
Country
France
maybe because Cyan has its own way to do it (it's in his TO-DO list)...and fixing bugs is far more important than changing GUI which takes time may break alternatives themes ;-)



ps : As I already said, everybody is free to recompile it, use it, modify it or add it to the official SVN. BTW I'm not the original author of theses sources (thanks Garfunkiel), I just tweaked it to make it good for me (current toolbar was put down in the screen) and fixed it (there was a bug when not using the banner display). Finally, this tweak does not take care of 4/3 or 16/9 display, so it's not really polished.
 

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
yes, Badablek correctly answered.

Because the current modifications of the sources are incomplete.
It's only a mod of a single layout (banner channel), and has fixed/defined values (you can't list Wii+GC, or select only NAND or EmuNAND for example).
It's not correctly integrated into the loader's usability (maybe not the correct word?).

It needs to be done a way new users will understand without searching tutorials, or without breaking other options, etc.
I will probably use the same visual, but with a different way to use them.

Oh, and also based on the difficulty to do what I plan. If it's a long job to do, I don't like it while working on other things at the same time as I release a lot of mods until all features are working.

What could be done temporarily is an option into the loader for users to choose that mod or the official one?


There are also bug fixes I want to do, but I have my own list to add the the google's issue tab.
I work on them as I see fit.
And maybe I'll finally release v3.1 before working on tab layout.



About Geckocode/Ocarina, did you try it?

Could you report any video mode problem with DM/DML/Nintendont?
I merged video settings together, but I didn't test that very well.

I'm currently simplifying/merging/removing unused options.
I removed Error#002 setting (who set it to NO?), I'll remove EmuNAND Channel setting (Who set it to Partial? why?)
 
  • Like
Reactions: Magnus87

Magnus87

Well-Known Member
Member
Joined
Apr 28, 2013
Messages
397
Trophies
1
XP
1,510
Country
Argentina
I Like tabs idea but I prefer more reorganization for the option menu

8074822900_02b567b549_z.jpg
Three Big Groups (Loader-Wii-Gamecube) Maybe on the future we can have other group for WiiU​

Or Include Homebrew

7611848164_59216729f7_o.png

7611848338_ded583b77d_o.png
 

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
thanks for the report :)

Magnus87: both are already in my list ;)
The current menu with separated Loader options is not very good, I tried to do some sections in the settings to make it easier to find them, but it'll be better with full independent menus.

in settings > Loader Settings:
The only real "Loader setting" is the Loader's IOS.
All others options are game's launching related.

I'll probably rename GUI settings to Loader settings (if not too confusing?).
Or else, Loader settings will have only one option inside.

Channels could have their own settings too, even if very few are related.
EmuNAND and boot option.

Maybe I could place the paths there too?
EmuNAND path, Gamecube paths, etc. (duplicate of the "user paths" menu, but as it's part of the gamecube settings it's maybe the right place to have it).
and in that case, "Loader settings" will have all the paths settings related to the loader itself (and keeping GUI settings for the GUI only)
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,702
Trophies
1
XP
1,949
Country
Cyan I tested the new version and I can confirm Gecko codes work perfectly, Cyan, you're my hero <3 <3 <3

A couple of questions and suggestions:
-Is it possible to make Ocarina/Gecko to work with emunand channels?
-Is it possible to add an option to load dol file for GC games that have altered dol files?
-Is it possible to have an option to convert AR codes to Gecko format?
-What is the best option for We Dare?

Thanks again Cyan, you're a life saver!
 
  • Like
Reactions: kimotori

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Ok, so that GUI is working but still has some errors. It's been almost two years since Garfunkiel posted it and yet I saw it for the first time once it was posted by Badablek. But it's good to know Cyan has intentions to add it in the future.

Cyan, as regards the new names for options, if you rename GUI setting as Loader settigs, then Loader settings could be renamed to Global or Main settings and more "- -=XxXx=- -" sections could be added to quickly find any category.

Finally, 1226 tested, codes are being downloaded just fine.
 

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
Renaming to global might have more sense.


A couple of answers:
-Is it possible to make Ocarina/Gecko to work with emunand channels?
It should be possible. we (or I) need to check what's different with RealNAND and EmuNAND, if adresses always shifted to the same amount etc.
Maybe it would require a recompile of ocarina (I never looked how it's working)

-Is it possible to add an option to load dol file for GC games that have altered dol files?
Gamecube have multi-dol? Which games? Why do you need to load a different dol?

-Is it possible to have an option to convert AR codes to Gecko format?
use a converter

-What is the best option for We Dare?
I don't know.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: this one