Difference between revisions of "Modified LE-CODE Loader"

From Custom Mario Kart
Jump to navigation Jump to search
(Cleanup.)
(fix source code link)
Line 287: Line 287:
 
</pre></spoiler>
 
</pre></spoiler>
  
[https://dl.dropboxusercontent.com/scl/fi/yxaextzvdfeg1cym2mkp0?rlkey=aqs3vj0tsnpvfyk4sn9vu0xci Source code]
+
[https://dl.dropboxusercontent.com/scl/fi/yxaextzvdfeg1cym2mkp0/modified_lecode_loader.s?rlkey=aqs3vj0tsnpvfyk4sn9vu0xci Source code]
  
 
{{User-Kazuki-Link}}
 
{{User-Kazuki-Link}}
 
[[Category:Cheat Codes]]
 
[[Category:Cheat Codes]]

Revision as of 01:14, 24 December 2023

Overview

Modified LE-CODE Loader is a cheat code modified by Kazuki from LE-CODE Loader by Leseratte. LE-CODE Loader loads LE-CODE binaries to patch the game. However, it is not intended to dynamically link RELs more than once. The LE-CODE binary will be executed as many times as the REL is linked.

Kazuki confirmed that Worldwide is destroyed when LE-CODE build 38 is executed twice. For this reason, custom RELs cannot be used with LE-CODE. To solve this, he modified LE-CODE Loader to execute the LE-CODE binary only once even if a REL is dynamically linked multiple times.

Do not use the --add-lecode option in Wiimms StaticR Tool when using this code.

Credits

  • Leseratte, for the original code.

Cheat Codes

Modified LE-CODE Loader, PAL

Modified LE-CODE Loader, NTSC-U

Modified LE-CODE Loader, NTSC-J

Modified LE-CODE Loader, NTSC-K


Source code