From 7480f7b9e644e2450d99be092d2257a2cd1e774f Mon Sep 17 00:00:00 2001 From: MasterF0x Date: Fri, 2 Sep 2016 18:11:53 -0500 Subject: [PATCH] And poof, it was gone --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bb12ba6..d8a7acf 100644 --- a/README.md +++ b/README.md @@ -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!