Homebrew USB Loader GX 480p fix

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
I added the 480p fix to USB Loader GX r1271:
480p issues explained (original website is not in English): https://translate.google.com/translate?hl=en&sl=de&tl=en&u=https://wiidatabase.de/wii-fehler-mit-dem-480p-videomodus-entdeckt/

For those who want to compile it themselves, the updated tools can be found here:
https://sourceforge.net/p/usbloader...libogc_portlibs_2017-11-01_devkitPPC_R29-1.7z

You will also need devkitPPC r29:
https://sourceforge.net/projects/usbloadergx/files/Libraries/devkitPPC_r29-1.7z/download

Enjoy!
 

Attachments

  • USBLoaderGX r1271_480p_Fix.zip
    2.7 MB · Views: 459
Last edited by Bladeoner,

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
What I did is I backported your fix in Libogc 1.8.16 because USB Loader GX is build with that and not updated for a while...
After that I compiled it USB Loader GX with the fix you provided.
 
  • Like
Reactions: rogerioronin

baco81

Active Member
Newcomer
Joined
Jan 19, 2017
Messages
38
Trophies
0
Age
43
XP
607
Country
Hello.

I have taken a couple of screenshots (my TV has this feature) to Mario Kart Wii loaded by:
  • the standard USB Loader GX version:
SMK_nofix_1.pngSMK_nofix_2.png
  • the USB loader GX version published on this thread by Bladeoner:
SMK_usbloader_fix_1.pngSMK_usbloader_fix_2.png
  • the USB loader GX published on this thread by Bladeoner + the cheat code published here by Leseratte10:
SMK_usbloader_and_cheat_fix_1.pngSMK_usbloader_and_cheat_fix_2.png

(Note: All of them are in 480p with 4:3 aspect ratio)
 
Last edited by baco81,

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
Okay, so I replaced the boot.dol and booted up my Wii and everything was fine. But after doing a full shutdown and starting it up again it now constantly wipes the loaders config file after a reboot.

If I restore the official version of USB Loader GX, adjust my settings and then reboot it'll correctly remember everything.
 
Last edited by blackb0x,

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
Hello.

I have taken a couple of screenshots (my TV has this feature) to Mario Kart Wii loaded by:
  • the standard USB Loader GX version:
View attachment 164456View attachment 164457
  • the USB loader GX version published on this thread by Bladeoner:
View attachment 164460View attachment 164461
  • the USB loader GX published on this thread by Bladeoner + the cheat code published here by Leseratte10:
View attachment 164462View attachment 164463

(Note: All of them are in 480p with 4:3 aspect ratio)

Like you said in the Snes9x GX thread I don't see any difference.

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

Okay, so I replaced the boot.dol and booted up my Wii and everything was fine. But after doing a full shutdown and starting it up again it now constantly wipes the loaders config file after a reboot.

If I restore the official version of USB Loader GX, adjust my settings and then reboot it'll correctly remember everything.

That is strange, I didn't test that, thanks for the feedback.
 

Maeson

Well-Known Member
Member
Joined
Apr 3, 2013
Messages
1,186
Trophies
1
XP
3,422
Country
Spain
I'm *not* experienced in this subject at all, but I want to share that maybe we really need to modify the games themselves, as Extrems said in the USB Loader GX thread, more than applying a cheat or change "on the fly", if the cheatcodes don't make a difference.

When I discovered Ralph's "Force 60Hz" codes for PAL gamecube games on the GC-Forever forums, they didn't work on real hardware. I needed to rewrite the isos themselves for the change to make an effect. I can't exactly remember why, but it had to do with the differences between emulating games vs playing them on hardware, and how the RAM had data stored in different ways and such.
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
That is strange, I didn't test that, thanks for the feedback.
It looks like I'm not alone too.

sourceforge.net/p/usbloadergx/issues/2370/#2dde/2eaf

I can only assume the updated tools are to blame? A quick comparison shows that libwiidrc.a didn't originally exist and libogc.a in libogc\lib\cube & libogc\lib\wii is different.
 
Last edited by blackb0x,

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
It looks like I'm not alone too.

sourceforge.net/p/usbloadergx/issues/2370/#2dde/2eaf

I can only assume the updated tools are to blame? A quick comparison shows that libwiidrc.a didn't originally exist and libogc.a in libogc\lib\cube & libogc\lib\wii is different.

I saw that, libogc.a in both cube and wii contain the change Extrems provided and libwiidrc.a is necessary to complete the build process:
https://sourceforge.net/p/usbloadergx/issues/2362/

Maybe its the wrong libwiidrc.a version.
 
Last edited by Bladeoner,

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
I mean technically only libogc.a has changed and that handles a lot more than just video. And by extracting the file I can also tell that you compiled it differently, so maybe that's whats up? :unsure:

To confirm if libogc.a is the issue could you compile the loader again with the original libogc.a? If you're unable to reproduce the issue yourself I'd test it for you and let you know if it works.

I've deleted the patched version that I uploaded since I was able to compile the loader myself and determine that libogc.a isn't what's at fault.

@Cyan mentions how to compile it at gbatemp.net/posts/8461108

He's using an old version of devkitPro with old libraries.
 
Last edited by blackb0x,

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
No matter what I did I couldn't get a compiled version of the loader to work correctly, so I patched the official boot.dol file instead :)

I've attached a patched version of the loader, a patched version of the original lib and a patched version of Nintendont.

To manually patch the files search for 38 80 00 01 38 60 00 65 and replace it with 38 80 00 03 38 60 00 65

The patch can be applied to other applications too e.g. mGBA, Genesis Plus GX, Wii64 or WiiMC. All you need is a simple hex editor like HxD.



EDIT - An official update has been released.

https://gbatemp.net/posts/8677339
 
Last edited by blackb0x,

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
I mean technically only libogc.a has changed and that handles a lot more than just video. And by extracting the file I can also tell that you compiled it differently, so maybe that's whats up? :unsure:

To confirm if libogc.a is the issue could you compile the loader again with the original libogc.a? If you're unable to reproduce the issue yourself I'd test it for you and let you know if it works.

I've deleted the patched version that I uploaded since I was able to compile the loader myself and determine that libogc.a isn't what's at fault.

@Cyan mentions how to compile it at gbatemp.net/posts/8461108

He's using an old version of devkitPro with old libraries.

I just use the tools provided on the official website of USB Loader GX because they should match with the application:
https://sourceforge.net/projects/usbloadergx/files/Libraries/

I think Cyan is using the same.
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,546
Country
United Kingdom
I just use the tools provided on the official website of USB Loader GX because they should match with the application:

I think Cyan is using the same.
I did get it to compile, but the loader still loses it's settings even when using the original unpatched tools. So we can only assume that his dependencies must be different.

I've come up with an almost universal patch that only requires a hex editor though, so that's a win :) Now if only the same could be done for games.
 
Last edited by blackb0x,
  • Like
Reactions: Bladeoner

Maeson

Well-Known Member
Member
Joined
Apr 3, 2013
Messages
1,186
Trophies
1
XP
3,422
Country
Spain
...Oh wait, so you're saying that the RVL-60 (and some RVL-40) "improved image quality" could actually be the very same thing as this discovery?

Jesus, the world is small.
 
Last edited by Maeson,

baco81

Active Member
Newcomer
Joined
Jan 19, 2017
Messages
38
Trophies
0
Age
43
XP
607
Country
@baco81 @Bladeoner The bug is apparently only present on older Wiis; when you use a WiiU or a newer Wii you don't see a difference
Hello @leseratte
I own two Wii. I am not sure about the second, but the one that I have attached to the TV is still from those which you can install bootmii as boot2, so is probably one of the older ones.
I am looking forward to this patch of yours ^_^
 
Last edited by baco81,

Bladeoner

Well-Known Member
OP
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
Can be done for games, the patch just isn't that simple. I will try to add that kind of auto-patch to the USB-Loader GX in the near future.

@baco81 @Bladeoner The bug is apparently only present on older Wiis; when you use a WiiU or a newer Wii you don't see a difference

I'm also looking forward for the patch.

To see the difference I tested Snes9x GX with Libogc patch and without. And what I saw is that especially the text in the emulator is sharper in the game selection screen.
 
Last edited by Bladeoner,

Draxikor

Well-Known Member
Member
Joined
Apr 24, 2019
Messages
342
Trophies
0
XP
1,260
Country
Mexico
No matter what I did I couldn't get a compiled version of the loader to work correctly, so I patched the official boot.dol file instead :)

I've attached a patched version of the loader, a patched version of the original lib and a patched version of Nintendont.

To manually patch the files search for 38 80 00 01 38 60 00 65 and replace it with 38 80 00 03 38 60 00 65

The patch can be applied to other applications too e.g. mGBA, Genesis Plus GX, Wii64 or WiiMC. All you need is a simple hex editor like HxD.
There´s a guide to do this patch? im new on this stuff, i try to learn this things
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...