Hello, I wasn't here now for over a month and what the hell! A new forum about SM64 Hacking! I never expected that and thought this forum is way more active than the SM64 Hacking Forum in Jul.rustedlogic.net
The point of this thread is following:
Some people, which just started with SM64 Hacking wanted to directly begin with complicated stuff like MIPS ASM coding. When a rumor was around, that I were "the father of SM64 Hacking" (Which isn't true, the real father is VL-Tone) a lot of people asked me where they can learn ASM. About some people I didn't thought about any longer and gaved them some PDF's, but at others I watched their videos and just saw, they just started with SM64 Hacking! I then wrote to some guy I forgot about, that he should first start with basic stuff like knowing what a hex address is, etc. Then he should start with basic Hex editing. But people wanted so badly to do this stuff, like giving mario more speed, when he hits a ! Box. (Yes, that must be because of Skelux's video) All this is very complicated in ASM hacking and is even harder than learning 658C16 ASM, which SNES has used. Then I remembered, that Messiaen released on the Jul forums a pair of header files, which are including all main functions, which SM64 use. The functions inside of the headers are then getting linked inside of the mario64.x. The linker does link the (yet not functional) functions to the addresses where the actual functions are really stored! This allows C coding in SM64. When I posted a link on how to do it, people were confused. Because of this, I made a long video where I explain how to code stuff in C for Mario 64. It starts with explaining all tools we need and then we're downloading all that stuff we need. Later we're setting it up. At the end, I showed some example codes, I compiled and used in Nemu64.
Where can I watch the video?
The Download links
(Short thing about this) - This is the MinGW compiler you will need. When starting, press "Create" and follow the steps. Also, disable the "check for updated files", since I never got any problems with this older version. Optional: You can try if newer versions also work, if they work without errors, then I correct this here. (But only for those, which had a successful compile in MSYS)
SM64 Header files:
(Credit for gbi.h goes to Silicon Graphics, explode.h to messiaen, animations.h to messiaen and levels.h also to messiaen.)
If you have problems with compiling, then post it here. And please use pictures or video tapes. I have a better view of this, when I actually see what's happening.
The stuff provided here are mostly taken out of messiaen's website:
Same goes to Jul. Without that great forum, I never would be able to write this tutorial, even if it has some mistakes at the end:
Tarek701 is dead.