Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,154,221
  • Replies 29,352
  • Likes 47

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
did you try launching USBLoaderGX from HBC instead of priiloader?
priiloader could be the issue.
You should install the "forwarder.dol" in priiloader instead of the main USBLoaderGX boot.dol
the forwarder.dol is located in the "all in one package"/wad/dol/ folder
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
Can anyone confirm that
CTGP Revolution v1.02.0003 [RMCEG2]
Wiimms MKW-Fun 2016-07.v1.usa+ [RMCE32]
don't work with PAL50 576i video patching? it runs in 480p instead,
I'm using the USA version of Mario Kart Wii for the above applied mods.
 

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
isn't 480p better?
if you really want 576i, try enabling these options :
Video mode : Force PAL50 576i
dol video patch : force (or ALL). I don't remember the name I used for that option.

it will replace ALL the video information inside the game's executable with the PAL video mode information.
The game will not find any NTSC mode and will (should) keep the current video mode : PAL50 576i
Some games don't like forcing a difference video mode, and freeze on black screen, you get only sound and no video, etc.
 

tayumpee

Member
Newcomer
Joined
Jul 26, 2016
Messages
6
Trophies
0
Age
28
XP
56
Country
United States
Hello. I boot directly into USB Loader GX using priiloader and I'm trying to find a way to replace the USBLGX splash screen image since it acts as the splash screen for the whole system. From what I understand, it is a resource compiled into the .dol file.

Am I allowed to do this? If so, how should I go about doing it? I can't find a .dol decompiler or a source for r1260.
 

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
decompiling won't work.
you need to compile the sources by replacing the picture.
https://sourceforge.net/p/usbloadergx/code/HEAD/tree/trunk/
the picture is located in the data/images/ folder, it's called gxlogo.png
the picture is loaded from source/StartUpProcess.cpp line 33 and 35

set the background color {R, G, B, A} and replace the picture in the image folder (it's easier if you keep the same filename).

You are allowed to do it if it's for you.
If you release it, you need to make a patch and provide the file you use as background. But I guess it's only for you, so you are free to do whatever you want with the sources.
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
isn't 480p better?
if you really want 576i, try enabling these options :
Video mode : Force PAL50 576i
dol video patch : force (or ALL). I don't remember the name I used for that option.

it will replace ALL the video information inside the game's executable with the PAL video mode information.
The game will not find any NTSC mode and will (should) keep the current video mode : PAL50 576i
Some games don't like forcing a difference video mode, and freeze on black screen, you get only sound and no video, etc.

I don't know where people get that idea from the only advantage 480p has over 576i is less flickering and tbh
the Wii does a terrible job with progressive, it creates screen tearing in fifa, pes and lego games.
 

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
I never talked about flickering.
to me, progressive has higher definition, as it displays 480 lines per frame, instead of alternatively 288 lines.
so, yes, you have more pixels on screen, but less pixel per frame.
If games suffer from screen tearing, that's developer's fault, or the game's fault, not the console as it's only specific to some games, not all of them.
If you prefer interlace mode, try what I explained and most game should work. not all, unfortunately.
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
I never talked about flickering.
to me, progressive has higher definition, as it displays 480 lines per frame, instead of alternatively 288 lines.
so, yes, you have more pixels on screen, but less pixel per frame.
If games suffer from screen tearing, that's developer's fault, or the game's fault, not the console as it's only specific to some games, not all of them.
If you prefer interlace mode, try what I explained and most game should work. not all, unfortunately.

For me 3d games look better at 576i there less aliased.
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
Well it still doesn't for the two mods I mentioned, works on all my over games, 4:3 patching
doesn't work either.
Could video forcing be prevented by their anti cheat system?

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

The framebuffer is the same size for all console regions. It's just the scaling that's different.

Hmm if that's the case why does F1 2009 have black horizontal bars when forced to 576i?, it's the only game
i've seen do this though.
 
Last edited by ned,

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
Well it still doesn't for the two mods I mentioned, works on all my over games, 4:3 patching
doesn't work either.
Could video forcing be prevented by their anti cheat system?

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



Hmm if that's the case why does F1 2009 have black horizontal bars when forced to 576i?, it's the only game
i've seen do this though.

Probably to maintain aspect ratio. From what I remember GT4 for the PS2 did the same thing.
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
But then why when I set the video forcing as system default and system menu to 576i, it has no black bars?
 

tayumpee

Member
Newcomer
Joined
Jul 26, 2016
Messages
6
Trophies
0
Age
28
XP
56
Country
United States
decompiling won't work.
you need to compile the sources by replacing the picture.
https://sourceforge.net/p/usbloadergx/code/HEAD/tree/trunk/
the picture is located in the data/images/ folder, it's called gxlogo.png
the picture is loaded from source/StartUpProcess.cpp line 33 and 35

set the background color {R, G, B, A} and replace the picture in the image folder (it's easier if you keep the same filename).

You are allowed to do it if it's for you.
If you release it, you need to make a patch and provide the file you use as background. But I guess it's only for you, so you are free to do whatever you want with the sources.

Thanks for the links.

I've changed the asset and begun compiling the source, but I've run into an error:

e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp: In member function 'bool GCGames::CopyUSB2SD(const discHdr*)':
e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp:459: error: aggregate 'statvfs sd_vfs' has incomplete type and cannot be defined
e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp:460: error: invalid use of incomplete type 'struct statvfs'
e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp:459: error: forward declaration of 'struct statvfs'
e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp:498: error: invalid use of incomplete type 'struct statvfs'
e:/usbloader_gx_1261_source/source/GameCube/GCGames.cpp:459: error: forward declaration of 'struct statvfs'

I'm not quite sure what to make of this since all other builds appear to use the same line. Missing library perhaps?
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
Something else i've noticed is if Nintendont is launched with USB Loader GX it returns to the system menu when pressing Home instead of
the Homebrew Channel, my Wii games return to the Homebrew Channel no problem.
 
Last edited by ned,

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
Something else i've noticed is if Nintendont is launched with USB Loader GX it returns to the system menu when pressing Home instead of
the Homebrew Channel, my Wii games return to the Homebrew Channel no problem.

Nintendont is returning to the loader
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
It returns to the forwarder if ReturnTo is turned on. If the forwarder isn't installed it returns to the menu.

I'm pretty sure the ReturnTo "address" has to be an installed NAND title.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @salazarcosplay, I'm here.