Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 6,514,008
  • Replies 28,079
  • Likes 42

ukigh4ie

Well-Known Member
Member
Joined
Aug 27, 2020
Messages
131
Trophies
0
Age
23
XP
414
Country
Germany
How do I pair the main/first WiiMote when the game has been launched with full EmuNAND emulation via USB Loader?

I have to copy the entire NAND to the EmuNAND every time. Is there an easier way? In which path/file of the NAND is the information about the paired WiiMotes?
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
469
Trophies
1
XP
2,271
Country
United Kingdom
Does this mean you are able to force games that normally render in 480ProgSoft or 480ProgAa to render in 480Prog?
Like I said before...
It could be done, but I don't know how reliable it'd be since video mode patching isn't exactly flawless either. I might eventually look into it though, but not for my next release.
The codes basically there, but to only disable the filter it needs some changes and it obviously needs to be optional.

Have you ever tried using "Force NTSC480p" either with or without dol patching also set to ALL?
 

NoobletCheese

Well-Known Member
Member
Joined
Aug 12, 2018
Messages
479
Trophies
0
Age
23
XP
850
Country
United States
Have you ever tried using "Force NTSC480p" either with or without dol patching also set to ALL?

Yeah, in fact I tried all the video patching options in all combinations.

Question: when USB Loader forces NTSC480p, is that referring to...

https://github.com/cyan06/usbloadergx/blob/master/source/patches/gamepatches.c said:
static GXRModeObj* vmodes[] = {
&TVNtsc480Prog, <--- this one?
&TVNtsc480ProgSoft,
&TVNtsc480ProgAa,




edit: it seems USB Loader's video mode patching is somewhat unreliable as I haven't been able to successfully force a video mode change for Mario Kart Wii NTSC to any other mode.

So it probably wouldn't work anyway and we'd need to do offline patching of the game's main.dol file using a hex editor.

edit2: I tried patching Mario Kart's main.dol according to these instructions by Draxikor, and USB Loader successfully loads the patched dol (since blanking the file causes system to hang on launch) but I observe no difference in image clarity.

edit3: I patched Metroid: Other M and SSB: Brawl, and it is definitely working -- graphics are much clearer in both game and system menu overlay, and Brawl's deflicker on/off menu setting no longer does anything (it is always off regardless of what I set it to).

Therefore it appears Mario Kart Wii does not use Ntsc480ProgSoft. I suspect it may use Ntsc480ProgAa, and perhaps it is possible to patch it to Ntsc480Prog as well. I have no idea how to discover the relevant hex values -- using Dolphin's debugger maybe? Paging @Extrems ... :)

edit: probably best to continue this discussion in the relevant thread: https://gbatemp.net/threads/possible-to-disable-the-wiis-de-flicker-filter.477163/#post-9431042
 
Last edited by NoobletCheese,

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,611
Trophies
3
Age
52
Location
Austria
XP
928
Country
Austria
Hello.:)

Well, last night I was playing Adventures of Tintin and still freezes after a while... Need any specific adjustment?
Oh,that is sad to hear......:(

Exactly on the Same Time/Position/Scene ?

I will have look on it.:)


Well, last night I was playing Adventures of Tintin and still freezes after a while... Need any specific adjustment?

Do you use an ORIGINAL Nintendo Wii Motion / Wii Motion Plus / Motion Plus Adapter / Nunchuck ? :unsure:
 

totakeke95

Well-Known Member
Newcomer
Joined
Dec 25, 2020
Messages
88
Trophies
0
Age
26
XP
646
Country
Spain
Hello.:)


Oh,that is sad to hear......:(

Exactly on the Same Time/Position/Scene ?

I will have look on it.:)




Do you use an ORIGINAL Nintendo Wii Motion / Wii Motion Plus / Motion Plus Adapter / Nunchuck ? :unsure:

It happens at the end of chapter or when I go to the 2D phases. I think the AP of this game is very fucked up :P

And of course, my controls are originals purchased 14 years ago. I use wii mote and nunchuk.
 

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,611
Trophies
3
Age
52
Location
Austria
XP
928
Country
Austria
It happens at the end of chapter or when I go to the 2D phases. I think the AP of this game is very fucked up :P

And of course, my controls are originals purchased 14 years ago. I use wii mote and nunchuk.


Ok,it freezes randomly.....
(.....I am sorry,I did not played the Game before,I only tested the Boot Up and the first Level Flight)

First: Right after the Plane Crash
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Second: After Tim bought the Ship and then he go to the old Man and read in the Book about the Ship.
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Third: After he founds the secret Pergament in the Model Ship
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Forth: After the Ending from Chapter 1 and in the Loading Screen
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

@blackb0x

Seems maybe a (Real) Save Issue.After the Game freezes and Reseting/Re-Booting the Game,it exactly continues on the Point were it has freezed.

emuNANDSave is disabled.

EDIT: It is not really a Wii FREEZE,because you can return to the Loader by Short Pressing Power on the Wii.

Thank you.:)
 
Last edited by Alexander1970,

jeannotte

Well-Known Member
Member
Joined
Jun 15, 2016
Messages
3,773
Trophies
1
Age
51
XP
3,499
Country
France
Ok,it freezes randomly.....
(.....I am sorry,I did not played the Game before,I only tested the Boot Up an the first Level Flight)

First: Right after the Plane Crash
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Second: After Tim bought the Ship and then he go to the old Man and read in the Book about the Ship.
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Third: After he founds the secret Pergament in the Model Ship
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

Forth: After the Ending from Chapter 1 and in the Loading Screen
Re-Boot - reloaded Savegame - continues on exact the Point were it crashes

@blackb0x

Seems maybe a (Real) Save Issue.After the Game freezes and Reseting/Re-Booting the Game,it exactly continues on the Point were it has freezed.

emuNANDSave is disabled.

EDIT: It is not really a Wii FREEZE,because you can return to the Loader by Short Pressing Power on the Wii.

Thank you.:)
Hello,

I tested it, and it often freezes in several places as @alexander1970 notes.

I had to relaunch the game several times, and it ended up saving, so I was able to continue playing.
I think there is a problem in the game or others ??
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
469
Trophies
1
XP
2,271
Country
United Kingdom
Last edited by blackb0x,

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,611
Trophies
3
Age
52
Location
Austria
XP
928
Country
Austria

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
469
Trophies
1
XP
2,271
Country
United Kingdom
Driver San Francisco
they have protections and they lock
only with Sneek do they start
https://gbatemp.net/posts/8841134

I've personally played Driver without Sneek. And alexander1970 confirmed that it works now too. You just need to use the default settings with no video patches or cheats (Ocarina off).
 
Last edited by blackb0x,

SubElement

Member
Newcomer
Joined
Aug 20, 2006
Messages
15
Trophies
0
XP
217
Country
Wondering if anyone can help me out.

I’m having a weird bug where USB Loader GX thinks it’s the completely wrong date and time. Currently it thinks the date is 05/20/2157. I have no idea where it’s getting this date from.

The date and time are correct in the system menu and other homebrew such as WiiXplorer pulls the right time.

Any ideas anyone?
 

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
469
Trophies
1
XP
2,271
Country
United Kingdom
Currently it thinks the date is 05/20/2157. I have no idea where it’s getting this date from.
As far as I'm aware only the Wii menu displays both the date and the time and you'd adjust them from the calendar settings. The loader should only ever display the time, as shown in Google images.
 
Last edited by blackb0x,
  • Like
Reactions: cvskid

SubElement

Member
Newcomer
Joined
Aug 20, 2006
Messages
15
Trophies
0
XP
217
Country
s far as I'm aware only the Wii menu displays both the date and the time and you'd adjust them from the calendar settings. The loader should only ever display the time, as shown in Google images.

Apologies, I should clarify.

You are correct, the menu does just show time. But when I go to save a game, let’s say in Super Mario Galaxy, that’s where it has the date. Save files are time stamped far in to the future.

Edit: I should also state that the time in the USB Loader GX is also incorrect and matches the time win the game save time stamps.
 
Last edited by SubElement,
  • Like
Reactions: Alexander1970

Shawshank

Well-Known Member
Newcomer
Joined
Dec 2, 2011
Messages
48
Trophies
0
XP
119
Country
Belgium
Hi everybody,

I have bought a Samsung Fit 256GB flashdrive because it seems to be a good choice (also practical and esthetically, not only technical) for my Wii and it worked well during some weeks, then stopped to work with USB Loader GX v1272 only (still working with Cfg USB and Wiiflow Lite). it is stuck on 'Initializing USB device'. I re-format/re-parititon several times with different tools/OS and tried with different cIOS. it is changing nothing and I am completely lost :-(

So, I am kindly asking some advices to the community : if you have an idea...


Note that I tried USB loader GX with all these cIOS, and only 58 and 249 (very slow for this one as USB 1.1) are listing backups. But with 58, I can't run any backup.
Cfg loader and Wiiflow are working well and fast with IOS 251 and USB loader GX is aborting 'initializing USB device' step with this one.
Nintendont does not have any issue with this flashdrive. neither Windows, Linux, Blu-Ray player or any other device.
I also tried others versions of USB loader GX (1271, 1248, 1269 mod4 by Cyan) : same results
I also tried 1272 mod6 by blackb0x, but it is worst as I have a crash before 'Initializing USB device' step.

I am usually using only 1 FAT32 partition of 256GB with 32K, MBR and aligned with Mib, but I also tried with 2 primary partitions (2 FAT32 and 1 FAT32 + 1 NTFS) : same result unfortunately. I tried this in case there is a partition size limit of 128GB hard coded somewhere.

I am maybe used some weird slots (like 247) which is usually unused. is there hard coded controls in source code to force using slots between 249 and 251 only for example ?

Please, don't ask me to install some weird tools like 'Pimp my Wii', I will NOT. I would like to really understand what is the reason and what I did wrong.

Regards,
Shawshank
 
Last edited by Shawshank,
  • Like
Reactions: Alexander1970

SubElement

Member
Newcomer
Joined
Aug 20, 2006
Messages
15
Trophies
0
XP
217
Country
Okay, weird. I just loaded back in to my Wii to do some more troubleshooting and the issue is no longer present...

I truly have no idea what happened yesterday. I changed nothing...

Thank you everyone who helped out!
 
  • Like
Reactions: Alexander1970
General chit-chat
Help Users
  • No one is chatting at the moment.
  • KenniesNewName @ KenniesNewName:
    It's weird people in their mid 50s-20s seems to like social media more than TikTok and YouTube
    Gift
  • KenniesNewName @ KenniesNewName:
    Unless they get paid to upload videos
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I used TikTok a couple of days and got tired
    Gift
  • Dark_Phoras @ Dark_Phoras:
    But it's still better than Facebook
    Gift
  • KenniesNewName @ KenniesNewName:
    One dude here swore I was trolling him on twitch and I never even used it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    But that's a thing with social media; it creates an illusion of proximity, when in truth everyone is overwhelmed with all the information and all the social demands in the platforms
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And a lot of people are addicted to the phone, checking social media or talking with someone. Some exercise in the gym while being glued to the phone, not even activity takes them away from it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And I was like that too, until I left social media. Now sometimes I'm grabbing my phone, opening the browser and thinking: I've seen everything I wanted to see, I don't have a reason to use the phone. And I put it down
    Gift
  • KenniesNewName @ KenniesNewName:
    I'd rather look at my phone than sit at a computer 24/7
    Gift
  • KenniesNewName @ KenniesNewName:
    Funnily when I'm out I hardly use my phone other than checking a message here and there
    Gift
  • KenniesNewName @ KenniesNewName:
    I'm mostly too busy making sure my neighbor doesn't get himself arrested
    Gift
  • Dark_Phoras @ Dark_Phoras:
    This evening two guys were speeding head first into my car in these:
    bolt-announces-a-custom-built-scooter-model-2-1024x536.jpg
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I didn't make case, I made my manoeuver to park the car. But I caught them off-guard, the one ahead hit the brakes and had to jump from the scooter. For a second I thought he would go against the car. They were trying to race through a gap they perceived, thinking I was going to always drive forward
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I guess they learned a valuable lesson, don't assume that real roads are a playground
    Gift
  • KenniesNewName @ KenniesNewName:
    I had a woman walk in the middle of the intersection once I was debating on flooring it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    In those cases I honk
    Gift
  • KenniesNewName @ KenniesNewName:
    I need to get my uncle to install a cow horn
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Those scooters go 40km/h, and the kids were riding them with no helmets
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And trying to make for the gap like they're Millennium Falcon
    Gift
  • KenniesNewName @ KenniesNewName:
    Annoying can't find any type c to usb adapters in my place at least they're like $3
    Gift
  • KenniesNewName @ KenniesNewName:
    Sweet found one installing emudeck
    Gift
  • KenniesNewName @ KenniesNewName:
    Lol stupid ips is blocking rom sites time for a vpn
    Gift
  • Gift
  • sley @ sley:
    hrth
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Hello
    Gift
    Dark_Phoras @ Dark_Phoras: Hello