How to Fill in X,Y,Z Values for Cheat Codes
#1
How to Fill in X,Y,Z Values for Cheat Codes

This page will teach you how to fill in X,Y, and Z values of a code. For demonstration, we will be using the NTSC-U Remove Tagname code. You can find many many cheat codes in the Codes Forum HERE

A list of X,Y, and Z values can be found in this thread HERE

NTSC U Remove Tagname Code:
2834XXXX YYYYZZZZ
048A4414 2EDBE6FF
E0000000 00000000
2834XXXX YYYYZZZZ
048A4414 3F800000
E0000000 80008000

XXXX = Your Controller address, all XXXX values will differ depending on Player/Port 1,2 3, etc and what region your MKWii game is (NTSC-U, PAL, etc) For demo purposes, we will be using the GCN controller via port 1 for this code. Since the code is for NTSC-U, we will need the NTSC-U XXXX value for GCN port 1. That value is 3E80. Let's go plug in our XXXX values now.

28343E80 YYYYZZZZ
048A4414 2EDBE6FF
E0000000 00000000
28343E80 YYYYZZZZ
048A4414 3F800000
E0000000 80008000

The next step is to fill in the Z values. We will do the Y values last since there are two different methods for applying Y values. ZZZZ = Your Button values. These are region-free, but they differ depending on what controller you are using. Wii Wheel and Wii Chuck are the only controllers that share the same Z values. We want our Start button to activate the code and our L button to deactivate. ZZZZ value for Start button is 1080, and for L button is 00C0. Let's now plug in our ZZZZ values.

28343E80 YYYY1080
048A4414 2EDBE6FF
E0000000 00000000
28343E80 YYYY00C0
048A4414 3F800000
E0000000 80008000

It's time for the YYYY values. There are two methods to achieve the YYYY values depending on how you want to turn on/off your code(s).
Method #1 - Turning on/off your code while no other buttons are being pressed.
Method #2 - Turning on/off your code while other buttons are being pressed.
Method #1 is the easiest. You simply plug in 0000 for YYYY and you're done. Your completed code with method #1 looks like this...

28343E80 00001080
048A4414 2EDBE6FF
E0000000 00000000
28343E80 000000C0
048A4414 3F800000
E0000000 80008000

Method #2 requires a hex equation. That equation is YYYY = FFFF - ZZZZ. For assistance, you can use a Hex Calculator. Here's a good one - https://www.calculator.net/hex-calculator.html

For Start button, our equation is FFFF - 1080 = YYYY. YYYY thus equals EF7F.

Do the same equation for the L button and your result for YYYY is FF3F. Plug in the Y values and you will have finished your code via Method #2.

28343E80 EF7F1080
048A4414 2EDBE6FF
E0000000 00000000
28343E80 FF3F00C0
048A4414 3F800000
E0000000 80008000

Congratz!
Reply
#2
One thing that I will note here, I dont think controller activators work on dolphin emulator. At least in my testing, I can't seem to really get them to work with the controller.
~MarioKartWii.com #1~
Reply
#3
What version of Dolphin are you using?
Reply
#4
5.0-11608
~MarioKartWii.com #1~
Reply
#5
Try this:
1. Launch Dolphin
2. Find the Icon Picture at the top that says 'Graphics'. Click on it to open Graphics settings.
3. Go to the Hacks Tab.
4. Underneath External Frame Buffer settings, be sure the box for "Store XFB Copies to Texture Only" is unchecked.
5. Save settings. Reboot Dolphin

Also, are you using a custom codehandler in place of what comes standard w/ Dolphin?
Reply
#6
(08-27-2020, 12:23 AM)Vega Wrote: Try this:
1. Launch Dolphin
2. Find the Icon Picture at the top that says 'Graphics'. Click on it to open Graphics settings.
3. Go to the Hacks Tab.
4. Underneath External Frame Buffer settings, be sure the box for "Store XFB Copies to Texture Only" is unchecked.
5. Save settings. Reboot Dolphin

Also, are you using a custom codehandler in place of what comes standard w/ Dolphin?
I should be using the standard one
~MarioKartWii.com #1~
Reply
#7
I may be wrong but iirc the standard codehandler does pretty much nothing to update the cache. I used to have trouble with controller activators not working until I made my own codehandler.

I can verify this later but for now try Vega's advice and replace the standard codehandler as a last resort
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply
#8
I use 10886 and I have no issues with Dolphin's default code handler regarding gecko type controller activators.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)