WiiRd forum

Wii & Gamecube Hacking => Gamecube Cheat codes (For WiiRD / GeckoOS) => Topic started by: darkeye14 on May 18, 2012, 08:48:03 AM

Title: [Request] F-Zero GX (NTSC-U) [GFZE01]
Post by: darkeye14 on May 18, 2012, 08:48:03 AM
Sorry if this has already been answered, but I scoured this board and the internet in general and came up short. I'm trying to convert an AR code into WiiRD using GCNcrypt v1.5 and ARtoWiiRD v0.9. It's the "Beta All Cup" code, which allows you to, among other things, play the Story Mode missions in Time Trials.
Access Beta All Cup (wParam)
M2G2-E0UX-TT345
P2TH-UYT7-B2WH1
UM2E-5UR2-JV6PV
VRUN-1ETN-YTZUG
MBV1-4VJE-BBMKU
E9FZ-A3QA-YCERP


After running it through GCNcrypt, I get this:
Access Beta All Cup -- Decrypted (wParam)
03C82AFA 08000000
9C0030C8 00120000
840030C8 00239100
420030C8 61B60000
840030C8 FFDC6F00
00000000 40000000


Lastly, I run it through ARtoWiiRD (with "Each code has a verifier line" checked) to end with this:
Access Beta All Cup -- Attempt at WiiRD conversion (wParam)
260030C8 00120000
No WiiRD CodeType for GCN AR CodeType- Increment.
48000000 800030C8
DE000000 80008180
1200C36C 00000000
E2000001 80008000
No WiiRD CodeType for GCN AR CodeType- Increment.
E0000000 80008000


Obviously, you can't plug that into Gecko OS Mod and get it working. I read in this thread (http://wiird.l0nk.org/forum/index.php/topic,6839.0.html) that Gecko doesn't have an increment, but you can implement it with registers. To that end, I've been looking into this documentation (http://geckocodes.org/index.php?arsenal=1), but I'm having trouble understanding it. I'm pretty sure the first line means "If the 32 bits at [ba + 0x30C8] < 0x120000, then execute the codes", and I think that the code after the first "No WiiRD CodeType..." line means "load the contents stored at 0x800030C8 into the pointer address", but I get lost after that part. I can't seem to find information about the instructions that start with DE and 12, and I'm having a hard time grasping what E2 ("Endif (+else)") and E0 ("Full Terminator") do. And even if I figured all that out, I'm still unsure on how I would implement an increment.

If someone could help me learn the basics of Gecko code-making/programming, that would be great. If someone really wants to be kind, they could translate it by hand themselves. Either way, I would be very happy.
Title: Re: [Request] F-Zero GX (NTSC-U) [GFZE01]
Post by: CosmoCortney on May 19, 2012, 04:12:50 PM
the first line is ONLY in use for the AR on your cube (03C82AFA 08000000 (it has the game id and stuff))
also not usable and unnecessary for wiird codes.
the others seem to be inconvertible or unnecessary aswell
the only required code seems to be:
420030C8 61B60000

as gecko code it is:
48000000 800030C8
DE000000 80008180
1200C36C 00000000
E2000001 80008000

Title: Re: [Request] F-Zero GX (NTSC-U) [GFZE01]
Post by: darkeye14 on May 26, 2012, 10:13:36 AM
Hello, CosmoCortney. Thanks for the quick response. Unfortunately, I tried to get this code to work, and I simply could not. No matter how I created the gct file (either through AccioHacks or through the Online GCT Creator (http://geckocodes.org/index.php?gct=)), I could not get "ALL CUP" to appear in my game at all, no matter which mode I picked. Perhaps I'm just doing it wrong, though; I assumed that the All Cup exists to the right of the AX Cup or to the left of Ruby Cup, but I couldn't get it to show up.

Just to be sure that the problem wasn't with my Wii or with Gecko OS Mod, I loaded up another code at the same time as the All Cup code (your crazy spin attack code, to be precise). While I still couldn't get the All Cup to show up, your spin attack code worked perfectly, so the problem is either with the All Cup code or with my understanding of how it works (do you need to enter a button combo to get it to work?). Do you have any idea what's going on?
Title: Re: [Request] F-Zero GX (NTSC-U) [GFZE01]
Post by: darkeye14 on August 12, 2012, 10:55:05 PM
Sorry if this bump is against forum policy, but I've figured out the code. The correct code is:

Access All Cup Mode (wParam)
48000000 800030C8
DE000000 80008180
1224546C 00000000
E2000001 80008000


There are some weird side-effects to this code, though. If you hit "Replay" in the main menu while there's a memory card in Slot B, the game crashes. If, on the vehicle select screen, you try to load the Garage Data from Slot B, the game says the data is corrupt and then crashes (note that the data is not actually corrupt). If you finish a Time Attack, and then select either "Save Ghost" or "Save Replay" while there's a memory card in Slot B, the game crashes. There may be more crashes, but these are the ones I've found. The original AR code by wParam did not have any of these crashes. As long as you play with only one memory card in Slot A, though, you should be fine with this code.