Learn PowerPC for Wii Cheat Codes Index
Learn PowerPC for Wii Cheat Codes Index

This is a gigantic index of threads that will take any absolute beginner and teach them much of the PowerPC Assembly Language for the purpose of creating Wii Cheat Codes. This is NOT a "general" PowerPC tutorial. There are certain concepts that are taught in a different manner that is suited specifically for Wii Codes. However, you can use this to learn PowerPC regardless.

All threads must be read in listed order. This will NOT be something you learn in just a day or two. It will take some time. Be patient and read thoroughly. For most of the threads provided, there are also video links as well. However, some of the video links have become extremely outdated and you should only watch the video(s) if absolutely necessary.

Requirements before you start:
  • Have a modern computer
  • An ISO/WBFS file(s) of whatever games you want to make codes with, on your computer

Even though this is a Mario Kart Wii based site, you can use these tutorials to help you make cheat codes for other Wii games.

You will need what is called the 'Dolphin Emulator' installed on your computer before you begin. You will also need to know a few things about running/playing Dolphin plus installing a program called 'Dolphin-memory-engine'. Here are 3 threads you need to read and complte first...
After you have completed those 3 threads and you can run MKWii (or your desired Wii game) at 60 fps with the Dolphin-memory-engine working, then proceed.

If you have unresolved issues with Dolphin Emulator, it's best to ask on the Dolphin Emu forums - https://forums.dolphin-emu.org If you have unresolved issues with Dolphin-memory-engine, post an issue at this link - https://github.com/aldelaro5/Dolphin-mem...ine/issues

Now let's begin!  Smile

N00b Level Threads

The Basics of Wii Cheat Codes & the Gecko Code Handler
Summary: An introduction to cheat codes , the code handler, memory, and various basic cheat code formats
Video - https://www.youtube.com/watch?v=mwuth4rSaTs

Fill in XYZ Values
Summary: This is required for codes that require you to 'activate' them or 'deactivate' them
Video - https://www.youtube.com/watch?v=nQHsUEnziHs

Create Activators and Deactivators
Summary: Teaches you how to make your own activators and deactivators on a code that doesn't have them
Video - https://youtu.be/VOl8nOHmFyE

Port Codes
Summary: Teaches you how to make basic cheat codes work in any 'version'/'region' of Mario Kart Wii
Video - https://www.youtube.com/watch?v=-mHTJtTmtAc

Beginner Level Threads

How to Make your own Cheat Codes
Summary: Yep, this is it. How to make your own real codes from scratch!
Video - https://www.youtube.com/watch?v=8mFyLqdT3hQ

Assembly Tutorial
Summary: This thread is linked within the 'How to Make Your own Cheat Codes' thread. Scared to learn ASM? Fear not! This thread by far is the best guide anywhere on the web to teach you basic PowerPC Assembly Code for MKWii Coding.
Video - https://www.youtube.com/watch?v=eadIKQltU1I

2nd part of 'How to make your own Cheat Codes' Video - https://www.youtube.com/watch?v=v1Eg2j5iWwc

Register Safety for the Beginner
Summary: Proper safety etiquette for ASM Codes
Video - https://www.youtube.com/watch?v=h-f7DCwnWy4

Basic Debugging/Analysis of ASM Codes
Summary: Teaches you how to set certain Dolphin Debug features/shortcuts and how to step-by-step codes. Also includes an introduction to Exceptions (crashes).
Video - https://www.youtube.com/watch?v=voLRpFTw0Ys

Basic GVR Usage in ASM Codes
Summary: Teaches you how to add better features to simple ASM Codes
Video - None

Intermediate Level Threads

ASM Tips n Trix
Summary: Still having some trouble writing ASM after learning it? Fear not! Here are some tips to make things easier
Video - https://www.youtube.com/watch?v=aeEUsqrdOWg

Using the Exception Vector Area
Summary: Once your ASM codes get a bit less basic, you may need to store data/values at a unused spot in Memory. This thread will teach you how.
Video - https://www.youtube.com/watch?v=-S6NTN10GbE

More info about Comparisons and Branches
Summary: Clearing the confusion on compare and branch instructions for Beginner Coders
Video - None

Creating Loops
Summary: How to create a list of repeating instructions in ASM
Video - https://www.youtube.com/watch?v=49YY9U0StKU

Expert Level Threads

Logical Operations
Summary: Explains binary values within Hexadecimal, and about using PPC instructions to modify binary values
Video - None

Working with Floats
Summary: I hate them, but maybe you will like them. All about floating points and how to use them in codes.
Video (only on Chapter 5) - https://www.youtube.com/watch?v=mlNyQ_gKZQ8

Make Codes Execute on Set Intervals
Summary: Want to modify a code to go off/on automatically per a set timed interval, this thread will teach you how
Video - https://www.youtube.com/watch?v=5Rv0zpwa1I4

Calling Functions
Summary: Call basic static functions within the game using ASM
Video - https://www.youtube.com/watch?v=43QGQHaSYa4

C0 Codetypes
Summary: In depth overview of the C0 (Execute ASM) Codetype.
Video - https://www.youtube.com/watch?v=vrUUYe79zL0

All about Cache
Summary: Attempts to simplfy the complexity of the Cache
Video - None

Pr0 Level Threads

Branch Link (BL) Trick
Summary: An optimized way to copy over large amounts of data in Power PC ASM
Video - https://www.youtube.com/watch?v=lnGBQo0UZ34

About Creating Stack Frames
Summary: Create Stack Frames to store registers/data to for backup
Video - https://www.youtube.com/watch?v=hWds-FUB6MY

Using Assembler Directives
Summary: Teaches you the in's & out's of Symbols, Macros, and Statements in an ASM Code's source
Video - https://www.youtube.com/watch?v=m_GusHn7CWI

All About Bit Rotation
Summary: Teaches you the ins & outs of Bit Shifting, Clearing, Rotating, etc.
Video - https://www.youtube.com/watch?v=EbWiS7fjHqY

Utilizing the Condition Register
Summary: A full deep dive into the Condition Register and all of its tricks
Video - None

Paired Singles
Summary: The hardest aspect of PowerPC Assembly to learn in my opinion. Have fun!
Video - None


Welp, there you go. Not many people in this community have the patience to learn all of this.

Best of luck! Thanks for reading!
I realized I should probably make a video series on Wiimm's Tools
I can definitely help with the Wiimm's Tools tuts. For goodness sakes I even know how to create an LE-CODE distribution with it. The only issue is that I generally don't get a chance to record stuff....

Maybe keep it on hold for me for a few weeks and if I still can't put some videos out by then, then you could do it? Trying to lighten your load some lol Tongue
Super Mario Eclipse, what Super Mario Sunshine could've been.
Just started the series. Intro vid uploaded. Was working on the next video, but have to refilm it.

Added two new needed threads

More info on Comparions & Branches

Working with Floats

I highly doubt I'll do videos for these, who knows

Also, I'll probably end up merging the new Float thread with the thread about Converting Floats to Integers. Kinda silly to have those two things in separate threads.
Read post below
The thread that had just the mini guide of converting floats to integers is now added into the Working w/ Floats thread. Forgot to mention awhile ago I added in the Logical Operations tut to the list.

EDIT: Added the Paired Singles tutorial
Added the following threads~

Basic GVR Usage in ASM Codes (beginner level)

Cache Basics (expert level)

Utilizing the Condition Register (advanced level)

Removed the following thread since it literally only applies to MKW, this 'Index of Threads' for teaching PPC ASM is meant to help anybody on any Wii game~

Using Mem81 to Autoclear ASM Codes in MKWii

Forum Jump:

Users browsing this thread: 1 Guest(s)