Learn PowerPC for Wii Cheat Codes Index
#1
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 Dolphin 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
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!
Reply
#2
I realized I should probably make a video series on Wiimm's Tools
Reply
#3
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.
Reply
#4
Just started the series. Intro vid uploaded. Was working on the next video, but have to refilm it.

https://www.youtube.com/watch?v=VHmO-7hkBLM
Reply
#5
Added two new needed threads

More info on Comparions & Branches
https://mkwii.com/showthread.php?tid=1743

Working with Floats
https://mkwii.com/showthread.php?tid=1744

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
Reply
#6
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
Reply
#7
Added the following threads~

Basic GVR Usage in ASM Codes (beginner level)
https://mkwii.com/showthread.php?tid=1962

Cache Basics (expert level)
https://mkwii.com/showthread.php?tid=1958

Utilizing the Condition Register (advanced level)
https://mkwii.com/showthread.php?tid=1959

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
https://mariokartwii.com/showthread.php?tid=1107
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)