Hacking Homebrew GCN Gecko codes not working with modified game ID on Nintendont/Wii USB Loaders

AKC12

New Member
OP
Newbie
Joined
Apr 15, 2022
Messages
3
Trophies
0
Age
33
Location
Mass
XP
42
Country
United States
I am trying to play a modded version of F-Zero GX with cheats enabled where its game ID has been modified to either XFZE01 or UFZE01. I used Orcaina code manager to create the GCT file, named it by the modified game ID. Every time I launch it on Nintendont, I'd just get an indefinite black screen.
On a modded F-Zero GX (mainly stat changes and visual changes) with the ORIGINAL game ID, the game loads and the cheat works as intended.
The cheats works on Dolphin even with a modified Game ID. It worked on my very first attempt too.
So why would it work on Dolphin but not on Wii?
I attempted to try it with USB Loader GX but it keeps on giving errors when trying select the cheats. There was one time I managed to get the gct file to load but it didn't even list out the available cheats.
 

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,973
Trophies
3
Location
Austria
XP
2,512
Country
Austria
Hello.:)

So why would it work on Dolphin but not on Wii?
Dolphin is an Emulator
Nintendont / Wii is the real Hardware,there is the Difference.
We also had this on Custom Games / .wad Files too.

Nintendont is not an Emulator,it is simply said,a Bridge - it converts the Calls to GameCube Functions into Calls to the corresponding Wii functions.

The changed ID´s are also not in the official Database...
https://www.gametdb.com/Main/Results?q=UFZE01

So I think Nintendont always tries to loads the Game with the regular ID....and fails...

But maybe one of our GBAtemp Nintendont Pro´s like @pedro702 know more for sure.:)
 

AKC12

New Member
OP
Newbie
Joined
Apr 15, 2022
Messages
3
Trophies
0
Age
33
Location
Mass
XP
42
Country
United States
There is typically no problem with launching games with adjusted IDs if cheats are turned off in my experience.
Perhaps there's a way to add the IDs to the list in my copy?

Update: Was made aware of the titles.txt and the .txt file within the zip folder of Nintendont. I added in the ID and game on both of them, but still no good.
 
Last edited by AKC12,
  • Sad
Reactions: Alexander1970

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,323
Country
Puerto Rico
There is typically no problem with launching games with adjusted IDs if cheats are turned off in my experience.
This is the patch you're skipping: https://github.com/FIX94/Nintendont/blob/master/kernel/Patch.c#L1528
It's a fix to prevent cheat codes from crashing the game.

You could add the list to nintendont... or you could apply the patch to F-Zero permanently and not have to worry about future updates.

You could try opening the iso in a hex editor, and go to address 0x021234, if the value is 0x90831000 start overwriting it with 0x60000000 up to 16 times, a total of 64 bytes.

This does what the nintendont patch describes, but breaks the game in Dolphin, with this code below you can get compatibility back.
Code:
Remove nintendont patch
28005634 00006000
06005634 00000040
90831000 90831100
90831200 90831300
900D82F4 48000019
480002D1 80010014
7C0803A6 38210010
4E800020 9421FFF0
7C0802A6 90010014
48004D45 480120FD
e0000000 80008000
 
  • Like
Reactions: Alexander1970

AKC12

New Member
OP
Newbie
Joined
Apr 15, 2022
Messages
3
Trophies
0
Age
33
Location
Mass
XP
42
Country
United States
You could try opening the iso in a hex editor, and go to address 0x021234, if the value is 0x90831000 start overwriting it with 0x60000000 up to 16 times, a total of 64 bytes.
I think this is the right spot. Let me know if I need to adjust how this is displayed.
Edit: Had the offset in decimal before.

Update 2: Was able to find the value in question, the modifications to the game shifted it down.
Update 3: It got to this part but is stuck at it. I will try a different mod. This particular mod has the AV logo replaced with the modder's own logo
Update 4: Same result with a different mod of GX. Is there a different way to apply the patch or was modifying the ISO the only way?
1650122564085.png


Update: Got it to work! CosmoCortney assisted with updating Nintendont itself to add XFZ to the title check. Thank you everyone for the responses!
 
Last edited by AKC12,
  • Like
Reactions: Alexander1970

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    a_username_that_isnt_cool @ a_username_that_isnt_cool: @Xdqwerty, about to