Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,162,440
  • Replies 29,357
  • Likes 47

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
Right... I misread your post...

Does Nintendont return to HBC when launched from there?

No, when I use USB Loader GX, Nintendont returns to the system menu.
When Nintendont is launched from the HBC, it returns to the HBC.
Wii games return to the HBC.
 
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
No, when I use USB Loader GX, Nintendont returns to the system menu.
When Nintendont is launched from the HBC, it returns to the HBC.

Right. GX loads Nintendont and tells the IOS to return to UNEO. When you launch it from the HBC it tells the IOS to return to HAXX.

From BootHomebrew.cpp:
u64 currentStub = getStubDest();
loadStub();

if (Set_Stub_Split(0x00010001, "UNEO") < 0) // <---- forwarder title
{
if (Set_Stub_Split(0x00010001, "ULNR") < 0) // <----- old channel title
{
if (!currentStub) currentStub = 0x100000002ULL; // <----- System menu

Set_Stub(currentStub);
}
}
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I will have to rework this returnTo for homebrew launching, I don't know why "currentStub" is not set to HBC. maybe it still has the old HBC titleID.
The best way to fix nintendont (and other homebrew launching) is to install the USBLoaderGX forwarder. it will fix all your returning issues and Wii/GC/Homebrew will properly return to the loader.
 

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
@Cyan is there anything that can be done about the non-OEM nunchucks causing erratic wiimote behavior in GX? I know the easiest "fix" is to just disconnect it when I am returning to the loader. Is that even something that can be accounted for on the software side?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I don't know.
that's probably not the answer you expected, but I really don't know if there's a way to fix it.
I know there's a way to fix third party Classic Controllers (there's a patch somewhere buried in nintendont thread, or maybe on fix94 website) but I don't know if it would fix the non official wiimote or nunchuck too.

I'm not quite sure what to make of this since all other builds appear to use the same line. Missing library perhaps?
I never had this error, I thought you had another one (missing WUP library).
Maybe this is due to DevkitPPC r28 ?
try compiling with r27 (I still haven't updated my PPC revision, I don't know if it works and compile fine)

rename your "devkitpro/devkiptPPC", for example as "_r28" to the folder name.
Then download and extract r27 to your devkitpro folder.

another solution is to keep "devkitPPC" as latest revision and download/extract r27 as "devkitPPC_r27"
then before compiling, run this in your command line window :
set DEVKITPPC=/c/devkitpro/devkitppc_r27/
(or any other path you use)
it will temporarily set your devkitppc environment variable to the correct path. it will be set only for that command line window until you close it.


If installing r27 doesn't fix the error, be sure you used the portlib and libogc provided with the loader on sourceforge. you will have to run "make install" inside libs/wupc/ first.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
I'm able to compile it fine with r27. r28 is only a development branch and is not available via the installer and shouldn't be used.

I don't think nunchuks have any kind of device ID that you could add. The 3rd-party ones are probably just not calibrated to match the Nintendo ones. The recent Nintendont changes were for 3rd party remotes.
 
Last edited by GreyWolf,

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
ah ok, the forwarder just launches sd:/apps/usbloader_gx/boot.dol ?

Yep. I think it looks in "usbloader_gx" or "usbloadergx" before it gives up.

ReturnTo for games looks like it's patched once the disc/image is mounted instead of using a stub.
 

ned

Well-Known Member
Member
Joined
Dec 21, 2014
Messages
591
Trophies
0
Age
38
XP
221
Country
Yep. I think it looks in "usbloader_gx" or "usbloadergx" before it gives up.

ReturnTo for games looks like it's patched once the disc/image is mounted instead of using a stub.

Can the HBC be dumped as a WAD? then extract the HBC dol with ShowMiiWads?

nvm: The extracted 00000001.app dol get's stuck at the http://hbc.hackmii.com/scam
screen. You have to wait a few minutes before pressing 1, then it runs as normal, kinda pointless.
 
Last edited by ned,

retKHAAAN

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
3,840
Trophies
1
XP
1,597
Country
United States
Installed Mario Kart Wii via GX and I get a black screen every time I try and load DK Summit. Is this a known thing or something on my end? All other tracks seem to work.
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
Installed Mario Kart Wii via GX and I get a black screen every time I try and load DK Summit. Is this a known thing or something on my end? All other tracks seem to work.

No, MKWii works fine. Check your disc image. You can use Dolphin to do it by right-clicking on the game in its browser, then go to Properties>Filesystem and right-click on the game partition.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Can somebody help me? My wii games don't show up anymore, but they are still on the drive, and I didn't touch the drive at all.
maybe the "wii" origin is disabled in the 4th icon on the top menu.
maybe you clicked on the favorite icon on the top menu (the star) while you don't have any favorite wii games
maybe you used a wrong category setting

Hey I have a problem when I quit a gamecube game the wii freezes. I use Nintendont to load the games and I'm using R1260.
You need to install the USBLoaderGX forwarder to exit back into the loader.
https://sourceforge.net/projects/usbloadergx/files/Releases/Forwarders/
get the latest v5.1 for your console (wii or vWii, don't mix them) and install with a wad manager
 

Justinde75

Well-Known Member
Member
Joined
Feb 14, 2016
Messages
2,529
Trophies
1
Age
23
XP
4,551
Country
Germany
maybe the "wii" origin is disabled in the 4th icon on the top menu.
maybe you clicked on the favorite icon on the top menu (the star) while you don't have any favorite wii games
maybe you used a wrong category setting


You need to install the USBLoaderGX forwarder to exit back into the loader.
https://sourceforge.net/projects/usbloadergx/files/Releases/Forwarders/
get the latest v5.1 for your console (wii or vWii, don't mix them) and install with a wad manager
Well, after a reset to the original settings it went back to normal haha. Maybe it had a problem with the paths
 

janangelogbatemp

Active Member
Newcomer
Joined
Aug 4, 2016
Messages
37
Trophies
0
Age
27
XP
81
Country
Greetings everyone! I'm new here in gbatemp.net. Just recently, I successfully soft modded my Wii RVL-001 4.3J with the latest Hackmii launch method. For it to run USB games, I installed USBLoaderGX v3.0 (r1180) with d2x and IOS. First game I tested was Zero4 and it working great! The 2nd game I tested is R.E. Dark Chronicles menu language & subtitles is in Japanese so I changed the game language into Eng in Loader Settings.
Then I tested this games and got the result:
JUST DANCE (2009) black screen on start up
Wii SPORTS RESORT bounce back to Wii menu on start up
Punch Out! black screen on start up
CALL OF DUTY BLACK OPS black screen on start up
JUST DANCE 4 does not return to Wii menu but works
What should I do to get this games working? Pls help...:(:(:(
Also, does anyone know where I can get a detailed explanation of USBLoaderGX's Game Loader Settings?

Thank you much
 

Site & Scene News

Popular threads in this forum

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