Mario Kart Wii Gecko Codes, Cheats, & Hacks
New Gecko Codehandler for Wii - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Hacks/Modding (https://mariokartwii.com/forumdisplay.php?fid=14)
+--- Forum: Coding & Hacking General Discussion (https://mariokartwii.com/forumdisplay.php?fid=23)
+--- Thread: New Gecko Codehandler for Wii (/showthread.php?tid=1480)

Pages: 1 2


New Gecko Codehandler for Wii - JoshuaMK - 03-16-2020

The new codehandler! Use this for your gecko modding needs from now on, as it properly handles the cache unlike almost all other codehandlers, and also allows a lot more lines of code than every other codehandler out there!

Download
Source code

UPDATE: @Vega It needs testing, but I made a change that I hope fixes the C0 function call crashes you were having. I need you to test it as I have no memory of which codes caused this issue Tongue


RE: New Gecko Codehandler for Wii - Vega - 03-16-2020

Sweet. Are you on Linux or Windows? I can help with Github commands if you are on Linux. Have you found out why C0 codetype doesn't like certain function calls (like ISFS_Open)?

Also you can try to recompile GX with the bin file. The problem is, my noob-self doesn't know which file to exactly replace in the source.

https://sourceforge.net/p/usbloadergx/code/HEAD/tree/trunk/source/patches/

I'm assuming it's the codehandleronly.h header file. The codehandler.h includes USB Gecko crap.


RE: New Gecko Codehandler for Wii - salmon01 - 03-16-2020

Well done! FYI, you can use raw2c from devKitPro to conveniently generate the header file for the codehandler. Looks like that was already used for those in this repo.


RE: New Gecko Codehandler for Wii - Vega - 03-16-2020

Oh ye I forgot about that. Ye Joshua, raw2c is in the binutils of devkit.


RE: New Gecko Codehandler for Wii - JoshuaMK - 03-16-2020

Idk anything about these things (I dont use devkitpro) So i need help setting these things up


RE: New Gecko Codehandler for Wii - Vega - 03-16-2020

You're windows right?

https://wiibrew.org/wiki/Devkitppc_setup_(Windows)


RE: New Gecko Codehandler for Wii - FancyWheelies - 03-16-2020

IMO y'all should use this version of GX for the codehandler.
https://github.com/wiidev/usbloadergx/tree/enhanced


RE: How to Play on ALTWFC - FancyWheelies - 03-23-2020

Does Joshua's Codehandler allow for 1k lines? It could replace the need for main.dol patching.


RE: New Gecko Codehandler for Wii - Vega - 03-23-2020

I moved ur post Fancy to the appropriate thread.


RE: New Gecko Codehandler for Wii - JoshuaMK - 03-23-2020

Currently Im creating a codetype for linked lists of codes, which will be useful for outside modwork