Views: 8,823,336 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
10-20-18 07:12 PM
Guest:

0 users reading Magikoopa -- Code patcher for 3ds games | 1 bot

Main - NSMB2 hacking - Magikoopa -- Code patcher for 3ds games New reply


RicBent
Posted on 10-23-17 07:01 PM (rev. 2 of 10-23-17 07:11 PM) Link | #90792

Magikoopa
Code patcher for 3ds games

[thumbnail]

Magikoopa is a tool that compiles custom code for 3ds games and inserts it into code.bin files and also allows to insert hooks into the original code to the inserted code allowing for example replacing functions.

Because of memory segmentation it is not easy to add as much code to code.bin files as we want. To allow that we insert a small loader into the padding between the executable and data section that reprotects memory to our needs to mark perviously read-write only memory as executable.

Magikoopa features a nice UI that displays anthing that can go wrong during the compiling and inserting steps. It even allows you to jump directly to issues in code/hooks my clicking on the issues displayed in the UI.

Source Code: https://github.com/RicBent/Magikoopa

I will add better explaination how to use the tool and add builds when I make a bit more progress on it.

You can also find examples working with NSMB2 here: https://github.com/RicBent/Magikoopa-NSMB2-Examples
(The memory offsets in the example are based on the US Gold Edition)

____________________
GitHub - YouTube - NSMBHD


Main - NSMB2 hacking - Magikoopa -- Code patcher for 3ds games New reply

Page rendered in 0.016 seconds. (2048KB of memory used)
MySQL - queries: 25, rows: 100/100, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.