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: 455
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,545
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,180
Trophies
1
XP
3,401
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,545
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,545
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,545
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,545
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,180
Trophies
1
XP
3,401
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.
    ZeroT21 @ ZeroT21: :lol: