CTRPluginFramework
CTRPluginFramework (CTRPF) is a framework for programmatically modding 3DS games. While it is mainly intended to be used as a template for developers to make mod menus and such, it has some very useful memory hacking features on its own. CTRPF can run on both real hardware and through emulation.
-
Make sure you have the latest Luma3DS
-
Download the
.3gxfile from the CTRPF releases. -
Rename the file to
default.3gx, and move it toSD:/luma/plugins/default.3gx.
-
Make sure you have the latest version of Citra.
-
Download the
.3gxfile from the CTRPF releases. -
Rename the file to
default.3gx, and move it to/sdmc/luma/plugins/default.3gxinside Citra’s User Directory. -
Open Citra’s settings and check
System > Enable 3GX plugin loader.
Launch a game, you should see the top screen flash blue for a second, followed shortly by a message saying Plugin Ready!. You should now be able to press Select to open CTRPF’s main menu. There are six buttons on the bottom screen, but there’s only really two that will be useful to us.
This is the Action Replay cheats menu. Similar to what Luma3DS has built in, but with greater code support, folders, and a full cheats editor. CTRPF also uses the same cheats directory as Luma, so if you already have cheats for a game, they should show up automatically. Since CTRPF has support for some code types that Luma does not, it’s generally advisable to use CTRPF if you’re not sure.
Code editing will not be covered in this guide as it is fairly complex, but will be put into its own guide later.
This is CTRPF’s most powerful feature, a memory searcher similar to Cheat Engine or the various old ‘game trainer’ cheat devices. The basic idea is:
-
You have some value you want to change, for example, your money.
-
You input the value into the search field, and get every match found.
-
You modify the value slightly, then search again.
-
Repeat until there is only one/a few memory addresses to try.
-
Modify to desired value.
This is obviously a simplification, especially for values that are not directly shown to the player, but even this method is enough to modify some parts of the Yo-kai Watch games, like currency value or item quantity.
Very useful for both understanding other codes and writing your own. - Action Replay Code Types Supported by CTRPluginFramework