1
0
Fork 0

And poof, it was gone

This commit is contained in:
MasterF0x 2016-09-02 18:11:53 -05:00 committed by GitHub
parent ce42d0c745
commit 7480f7b9e6

View file

@ -4,21 +4,21 @@ A WIP C library for everyone's favorite game: Super Mario Sunshine.
TODO: Add more examples.. (Please)
TODO: Actually fix the code listed in the main example.
What can this do?
#What can this do?
You can make Gecko code modifications in C for Super Mario Sunshine, and Super Mario Sunshine only, for now. (I'll probably make another kit for some other games in the future, though only me working on them; I don't want to involve Miluaces into the pain. ^ ^' )
Neato!... Well, how do I set this up?
#Neato!... Well, how do I set this up?
First, you need to install devkitPro in order for your code to compile, and don't forget to set up the environment for devkitPPC. (Ex., C:\devkitPro\devkitPPC\bin) You can install the lib anywhere on your computer, as long as a folder in the file path doesn't contain any spaces. To compile your code, simply drag your C code file into build.bat.
Alright. Do you have any examples to show?
#Alright. Do you have any examples to show?
Yes, actually. Here's an item spawning example from Miluaces:
#include "sms.h"
include "sms.h"
static int laststate __attribute__((section(".sdata"))); //Last state
@ -63,10 +63,7 @@ int OnUpdate(MarDirector* director) {
return GameUpdate(director);
}
You can find other examples on the GitHub page. (Thanks MrRean for making a repo for us. :) )
My code compiled! What do I do now?
#My code compiled! What do I do now?
That's good! The Gecko code should have automatically been copied to your clipboard. (Thanks Miluaces :D ) With that, you should now be able to paste that into your cheat code list in Dolphin and play your modification!