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:
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!
N00b Level Threads
The Basics of Wii Cheat Codes & the Gecko Code Handler
https://mkwii.com/showthread.php?tid=434
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
https://mkwii.com/showthread.php?tid=29
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
https://mkwii.com/showthread.php?tid=68
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
https://mkwii.com/showthread.php?tid=113
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
https://mkwii.com/showthread.php?tid=830
Summary: Yep, this is it. How to make your own real codes from scratch!
Video - https://www.youtube.com/watch?v=8mFyLqdT3hQ
Assembly Tutorial
https://mkwii.com/showthread.php?tid=940
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
https://mkwii.com/showthread.php?tid=873
Summary: Proper safety etiquette for ASM Codes
Video - https://www.youtube.com/watch?v=h-f7DCwnWy4
Basic Debugging/Analysis of ASM Codes
https://mkwii.com/showthread.php?tid=1383
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
https://mkwii.com/showthread.php?tid=1962
Summary: Teaches you how to add better features to simple ASM Codes
Video - None
Intermediate Level Threads
ASM Tips n Trix
https://mkwii.com/showthread.php?tid=974
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
https://mkwii.com/showthread.php?tid=1106
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
https://mkwii.com/showthread.php?tid=1743
Summary: Clearing the confusion on compare and branch instructions for Beginner Coders
Video - None
Creating Loops
https://mkwii.com/showthread.php?tid=975
Summary: How to create a list of repeating instructions in ASM
Video - https://www.youtube.com/watch?v=49YY9U0StKU
Expert Level Threads
Logical Operations
https://mkwii.com/showthread.php?tid=1824
Summary: Explains binary values within Hexadecimal, and about using PPC instructions to modify binary values
Video - None
Working with Floats
https://mkwii.com/showthread.php?tid=1744
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
https://mkwii.com/showthread.php?tid=1385
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
https://mkwii.com/showthread.php?tid=1052
Summary: Call basic static functions within the game using ASM
Video - https://www.youtube.com/watch?v=43QGQHaSYa4
C0 Codetypes
https://mkwii.com/showthread.php?tid=1156
Summary: In depth overview of the C0 (Execute ASM) Codetype.
Video - https://www.youtube.com/watch?v=vrUUYe79zL0
All about Cache
https://mkwii.com/showthread.php?tid=1958
Summary: Attempts to simplfy the complexity of the Cache
Video - None
Pr0 Level Threads
Branch Link (BL) Trick
https://mkwii.com/showthread.php?tid=977
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
https://mkwii.com/showthread.php?tid=1108
Summary: Create Stack Frames to store registers/data to for backup
Video - https://www.youtube.com/watch?v=hWds-FUB6MY
Using Assembler Directives
https://mkwii.com/showthread.php?tid=1083
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
https://mkwii.com/showthread.php?tid=1262
Summary: Teaches you the ins & outs of Bit Shifting, Clearing, Rotating, etc.
Video - https://www.youtube.com/watch?v=EbWiS7fjHqY
Utilizing the Condition Register
https://mkwii.com/showthread.php?tid=1959
Summary: A full deep dive into the Condition Register and all of its tricks
Video - None
Paired Singles
https://mkwii.com/showthread.php?tid=1870
Summary: The hardest aspect of PowerPC Assembly to learn in my opinion. Have fun!
Video - None
Conclusion
Welp, there you go. Not many people in this community have the patience to learn all of this.
Best of luck! Thanks for reading!
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...
- https://mkwii.com/showthread.php?tid=625 - Install Dolphin Emulator
- https://mkwii.com/showthread.php?tid=1138 - How to play with Cheat Codes on Dolphin
- https://mkwii.com/showthread.php?tid=626 - Install Aldelaro5's Dolphin-memory-engine
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!
N00b Level Threads
The Basics of Wii Cheat Codes & the Gecko Code Handler
https://mkwii.com/showthread.php?tid=434
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
https://mkwii.com/showthread.php?tid=29
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
https://mkwii.com/showthread.php?tid=68
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
https://mkwii.com/showthread.php?tid=113
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
https://mkwii.com/showthread.php?tid=830
Summary: Yep, this is it. How to make your own real codes from scratch!
Video - https://www.youtube.com/watch?v=8mFyLqdT3hQ
Assembly Tutorial
https://mkwii.com/showthread.php?tid=940
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
https://mkwii.com/showthread.php?tid=873
Summary: Proper safety etiquette for ASM Codes
Video - https://www.youtube.com/watch?v=h-f7DCwnWy4
Basic Debugging/Analysis of ASM Codes
https://mkwii.com/showthread.php?tid=1383
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
https://mkwii.com/showthread.php?tid=1962
Summary: Teaches you how to add better features to simple ASM Codes
Video - None
Intermediate Level Threads
ASM Tips n Trix
https://mkwii.com/showthread.php?tid=974
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
https://mkwii.com/showthread.php?tid=1106
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
https://mkwii.com/showthread.php?tid=1743
Summary: Clearing the confusion on compare and branch instructions for Beginner Coders
Video - None
Creating Loops
https://mkwii.com/showthread.php?tid=975
Summary: How to create a list of repeating instructions in ASM
Video - https://www.youtube.com/watch?v=49YY9U0StKU
Expert Level Threads
Logical Operations
https://mkwii.com/showthread.php?tid=1824
Summary: Explains binary values within Hexadecimal, and about using PPC instructions to modify binary values
Video - None
Working with Floats
https://mkwii.com/showthread.php?tid=1744
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
https://mkwii.com/showthread.php?tid=1385
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
https://mkwii.com/showthread.php?tid=1052
Summary: Call basic static functions within the game using ASM
Video - https://www.youtube.com/watch?v=43QGQHaSYa4
C0 Codetypes
https://mkwii.com/showthread.php?tid=1156
Summary: In depth overview of the C0 (Execute ASM) Codetype.
Video - https://www.youtube.com/watch?v=vrUUYe79zL0
All about Cache
https://mkwii.com/showthread.php?tid=1958
Summary: Attempts to simplfy the complexity of the Cache
Video - None
Pr0 Level Threads
Branch Link (BL) Trick
https://mkwii.com/showthread.php?tid=977
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
https://mkwii.com/showthread.php?tid=1108
Summary: Create Stack Frames to store registers/data to for backup
Video - https://www.youtube.com/watch?v=hWds-FUB6MY
Using Assembler Directives
https://mkwii.com/showthread.php?tid=1083
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
https://mkwii.com/showthread.php?tid=1262
Summary: Teaches you the ins & outs of Bit Shifting, Clearing, Rotating, etc.
Video - https://www.youtube.com/watch?v=EbWiS7fjHqY
Utilizing the Condition Register
https://mkwii.com/showthread.php?tid=1959
Summary: A full deep dive into the Condition Register and all of its tricks
Video - None
Paired Singles
https://mkwii.com/showthread.php?tid=1870
Summary: The hardest aspect of PowerPC Assembly to learn in my opinion. Have fun!
Video - None
Conclusion
Welp, there you go. Not many people in this community have the patience to learn all of this.
Best of luck! Thanks for reading!