Go From Noob to Veteran ASM Coder
#1
Go From Noob to Veteran ASM Coder

There are plenty of threads throughout these forums aimed to teach every day Wii-game users how to become a Code Creator. However some of these new-comers may be overwhelmed or not know where to begin. This thread is an index of threads that will you show you the path of how to become a Code Creator.

If you are really interested, then follow this index. All the threads you need to read are listed in 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 outdated over time.

Requirements before you start:
Have a quality computer (i5 processor or better, 8gb of RAM or higher, running in good condition)**
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 codes for other Wii games.

**NOTE: I personally use Linux as my computer operating system. I do not own a Windows Machine. All guides provided will work on Windows. There are also Linux-alternatives provided (using Debian or Ubuntu)

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 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 Live RAM Viewer (Dolphin-memory-engine)

After you have completed those 3 threads and you can run Dolphin at 60fps 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



N00b Level Threads

Introduction Video - https://www.youtube.com/watch?v=VHmO-7hkBLM

Glossary
https://mkwii.com/showthread.php?tid=298
Summary: This thread contain a list of terms with definitions that are used around the coding/hacking community. You DON'T need to read this thread entirely, but use it as a index for help if there are terms in any tutorial that you don't understand.

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

Simple ASM Reference (use this as a reference page, no need to read the entire thread)
https://mkwii.com/showthread.php?tid=863
Summary: This thread is linked within the ASM Tutorial thread. Once you have learned ASM, view this as a reference for ASM assistance.

ASM & Register Safety
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.
Video - https://www.youtube.com/watch?v=voLRpFTw0Ys



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

Using Mem81 to Auto-Clear Data in ASM Codes
https://mkwii.com/showthread.php?tid=1107
Summary: Gives you some insight on the usage of Mem81 for ASM
Video - https://www.youtube.com/watch?v=QzhgkoQ5Uws

Pointer Trick
https://mkwii.com/showthread.php?tid=1011
Summary: A workaround for certain ASM troubles in regards to breakpoints
Video - https://www.youtube.com/watch?v=y3dE2VTS96Y

More info about Comparisons and Branches
https://mkwii.com/showthread.php?tid=1743
Summary: A more in depth discussion of what comparisons actually do, and more details regarding branches.
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

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

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

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



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

Utilizing Macros
https://mkwii.com/showthread.php?tid=1083
Summary: Teaches you the ins & outs of Macros 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

Paired Singles
https://mkwii.com/showthread.php?tid=1870
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


Forum Jump:


Users browsing this thread: 1 Guest(s)