Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DS:Game modification: Difference between revisions

From Hacks Guide Wiki
(a few words)
(cheat codes)
Line 1: Line 1:
==Luma3DS game patching==
==Luma3DS game patching==
{{Main|3DS:Luma3DS/Configuration}}
{{Main|3DS:Luma3DS/Configuration}}
Luma3DS allows for the modification of a game or application without having to patch the original files. This is done by redirecting the reading of files to a separate location containing the modified files. Because no original game files are actually being modified, this feature works with physical game cartridges. To use this feature, files must be placed in a <code>/luma/titles/<Title ID>/</code> folder. You can get the game's title ID from [http://3dsdb.com/ here] (cartridges), [https://hax0kartik.github.io/3dsdb/ here] (digital games), or from the <code>FBI -> Titles</code> menu. For example the Title ID for Pokémon X is <code>0004000000055D00</code>, so modified Pokémon X files would be placed at <code>/luma/titles/0004000000055D00/</code>.
Luma3DS allows for the modification of a game or application without having to patch the original files. This is done by redirecting the reading of files to a separate location containing the modified files. Because no original game files are actually being modified, this feature works with physical game cartridges. To use this feature, files must be placed in a <code>/luma/titles/<Title&nbsp;ID>/</code> folder. You can get the game's title ID from [http://3dsdb.com/ here] (cartridges), [https://hax0kartik.github.io/3dsdb/ here] (digital games), or from the <code>FBI&nbsp;->&nbsp;Titles</code> menu. For example the Title ID for Pokémon X is <code>0004000000055D00</code>, so modified Pokémon X files would be placed at <code>/luma/titles/0004000000055D00/</code>. Luma3DS's game patching supports the following files:


===External code.bin and exheader.bin loading===
* <h3>External code.bin and exheader.bin loading</h3>
Patched <code>code.bin</code> and <code>exheader.bin</code> files can be loaded. Compressed <code>.code</code> files will not work with this feature, it must be uncompressed into a <code>code.bin</code>.
:: Patched <code>code.bin</code> and <code>exheader.bin</code> files can be loaded. Compressed <code>.code</code> files will not work with this feature, it must be uncompressed into a <code>code.bin</code>.
===IPS patching===
 
IPS patches for <code>code.bin</code> are also supported, which contain only the changes to the original code rather than the entire <code>code.bin</code>. Patches should be named <code>code.ips</code> and placed instead of a patched <code>code.bin</code>.
* <h3>IPS patching</h3>
===LayeredFS===
:: IPS patches for <code>code.bin</code> are also supported, which contain only the changes to the original code rather than the entire <code>code.bin</code>. Patches should be named <code>code.ips</code> and placed instead of a patched <code>code.bin</code>.
Files within a game or applications <code>romfs</code> folder can redirected by placing modified files within <code>/luma/titles/<Title ID>/romfs</code>.
 
===Locale Emulation===
* <h3>LayeredFS</h3>
{{Main|3DS:Setting game locales}}
:: Files within a game or applications <code>romfs</code> folder can redirected by placing modified files within <code>/luma/titles/<Title&nbsp;ID>/romfs</code>.
 
* <h3>Locale Emulation</h3>
:: {{Main|3DS:Setting game locales}}
:: Locale Emulation can be used to launch a title with different region settings than the system. Although Luma3DS allows for any region game to be launched, some games may crash if the system region settings are not supported. Luma3DS can use alternate locale information from a <code>locale.txt</code> file placed in the <code>/<Title&nbsp;ID>/</code> folder for a title. Follow [[3DS:Setting game locales]] for more detailed instructions.




==Plugins==
==Plugins==
{{Main|3DS:Plugins}}
{{Main|3DS:Plugins}}
[https://github.com/PabloMK7/CTRPluginFramework-BlankTemplate CTRPluginFramework 3GX - Blank Template]<br>
Plugins are add-ons that run with a game. Plugins generaly come in two types, 3GX or PLG. [[3DS:Game plugins/PLG|PLG plugins]] can be run using bootNTR, while [[3DS:Game plugins/3GX|3GX plugins]] run using Luma3DS's built in plugin loader. 3GX plugins are generaly newer and should usually be used if given a choice. A large collection of PLG plugins can be found in the [https://github.com/ItsDeidara/MegaNTR MegaNTR collection here] or you can browse for [https://www.gamebrew.org/wiki/List_of_all_3DS_Rom_Hacks#Plugins-0 Plugins on gamebrew]
[https://github.com/ItsDeidara/MegaNTR MegaNTR PLG plugin collection]<br>
 
[https://www.gamebrew.org/wiki/List_of_all_3DS_Rom_Hacks#Plugins-0 Plugins list from gamebrew]
==Cheat codes==
Cheat codes, or Action Replay codes, are are instructions to edit values in memory that allow for games behavior and values to be edited. These can be used in a variety of ways, from invincibility, max currency, unlocking items, and more. The two main ways to use cheats are from Luma3DS's Rosalina menu, or CTRPluginFramework's Action Replay. Using cheats with CTRPluginFramework, or a dedicated cheat plugin for the game you want to play will usually be more compatible.
 
===Rosalina menu cheats===
To use cheats with Rosalina menu:
# Place cheat files in plain text at either <code>/cheats/<Title&nbsp;ID>.txt</code> or <code>/luma/titles/<Title&nbsp;ID>/cheats.txt</code>
#* Cheat files can be generated using [[Checkpoint]], or downloaded from [https://github.com/FlagBrew/Sharkive/tree/master/3ds the Sharkive repository].
# Open the Rosalina menu ({{B|L|D-Pad down|SELECT}} by default)
# Select <code>cheats...</code>
# Press {{B|A}} on any cheats you want activated
# Press {{B|B}} until you exit the Rosalina menu


==Cheats==
===CTRPluginFramework Action Replay===
[https://github.com/iSharingan/CTRPF-AR-CHEAT-CODES CTRPluginFramework Action Replay cheat codes]
To use cheats with CTRPluginFramework:
# Install the latest version of [https://github.com/PabloMK7/CTRPluginFramework-BlankTemplate/releases/latest CTRPluginFramework-BlankTemplate] (the <code>.3gx</code> file) using the instructions [[3DS:Game plugins/3GX|here]]
# Place cheat files in plain text at either <code>/cheats/<Title&nbsp;ID>.txt</code> or in the same folder as the <code>.3gx</code> plugin as <code>cheats.txt</code>
#* A repository of compiled cheat codes can be found [https://github.com/iSharingan/CTRPF-AR-CHEAT-CODES here]
#* Or create your own cheats; a list of all code types supported by Action Replay can be found [https://gist.github.com/Nanquitas/d6c920a59c757cf7917c2bffa76de860 here]
# Open the Rosalina menu ({{B|L|D-Pad down|SELECT}} by default)
# Press {{B|A}} on <code>Plugin Loader:</code> to enable it
# Press {{B|B}} until you exit the Rosalina menu
# launch your game of choice
#* The screen should flash another color to indicate that the plugin has successfully loaded
#* it will say <code>Plugin ready!</code> on the top screen when it is loaded
# Press {{B|SELECT}} to open the plugin menu
# Tap on <code>Action Replay</code>
# Select the Action Replay codes you want to use
# Press {{B|SELECT}} to exit the plugin menu


==Save editors==
==Save editors==