Guide_3DS/docs/et_EE/godmode9-usage.md
2024-09-27 08:38:24 -07:00

11 KiB

title
GodMode9 Usage

{% include toc title="Table of Contents" %}

For support (in English) with GodMode9, as well as help with scripting and to get updates and info, join GodMode9 on Discord. {: .notice--primary}

Required Reading

GodMode9 is a full access file browser for the Nintendo 3DS console, giving you access to your SD card, the FAT partitions inside your SysNAND and EmuNAND, and basically anything else. Among other functionality, you can copy, delete, rename files, and create folders.

Note that if you have any payload files other than GodMode9.firm in the /luma/payloads/ folder on your SD card, holding (Start) on boot will display a "chainloader menu" where you will have to use the D-Pad and the (A) button to select "GodMode9" for these instructions.

GodMode9 is powerful software that has the capability to modify essentially anything on your console. Though many of these modifications are locked behind a permissions system, and it is impossible to accidentally perform dangerous actions without deliberately unlocking permissions, you should still follow instructions carefully and keep backups just in case.

Updating GodMode9

Some of the instructions below are only applicable to the latest version of GodMode9, and as such you should follow this section to update your copy before continuing. Overwrite any existing files. {: .notice--info}

What You Need

Instructions

  1. Power off your device
  2. Insert your SD card into your computer
  3. Copy GodMode9.firm from the GodMode9 .zip to the /luma/payloads/ folder on your SD card
  4. Copy the gm9 folder from the GodMode9 .zip to the root of your SD card
  5. Reinsert your SD card into your device

Creating a NAND Backup

  1. Launch GodMode9 by holding (Start) during boot
  2. Press (Home) to bring up the action menu
  3. Select "Scripts..."
  4. Select "GM9Megascript"
  5. Select "Backup Options"
  6. Select "SysNAND Backup"
  7. Press (A) to confirm
  • This process will take some time
  • If you get an error, make sure that you have at least 1.3GB of free space on your SD card
  1. Press (A) to continue
  2. Press (B) to return to the main menu
  3. Select "Exit"
  4. Press (A) to relock write permissions if prompted
  5. Hold (R) and press (B) at the same time to eject your SD card
  6. Insert your SD card into your computer
  7. Copy <date>_<serialnumber>_sysnand_###.bin and essential.exefs from the /gm9/out/ folder on your SD card to a safe location on your computer
  • Make backups in multiple locations (such as online file storage)
  • These backups will save you from a brick and/or help you recover files from the NAND image if anything goes wrong in the future
  1. Delete <date>_<serialnumber>_sysnand_###.bin and <date>_<serialnumber>_sysnand_###.bin.sha from the /gm9/out/ folder on your SD card after copying it
  2. Reinsert your SD card into your device
  • If your SD card was not detected, hold (R) and press (B) at the same time to remount it

Restoring a NAND Backup

  1. Launch GodMode9 by holding (Start) during boot
  2. Hold (R) and press (B) at the same time to eject your SD card
  3. Insert your SD card into your computer
  4. Copy <date>_<serialnumber>_sysnand_###.bin from your computer to the /gm9/out/ folder on your SD card
  5. Reinsert your SD card into your device
  6. Press (Home) to bring up the action menu
  7. Select "Scripts..."
  8. Select "GM9Megascript"
  9. Select "Restore Options"
  10. Select "SysNAND Restore (safe)"
  11. Select your NAND backup
  12. Press (A) to unlock SysNAND (lvl3) writing, then input the key combo given
  • This will not overwrite your boot9strap installation
  • This process will take some time
  1. Press (A) to continue
  2. Press (B) to return to the main menu
  3. Select "Exit"
  4. Press (A) to relock write permissions if prompted

Injecting any .CIA app into Health & Safety

For organizational purposes, copy the .cia file you wish to inject to the /cias/ folder on your SD card {: .notice--info}

Note that it is not possible to inject files into Health & Safety that are larger than it (including games and other large applications) {: .notice--info}

  1. Launch GodMode9 by holding (Start) during boot
  2. Navigate to [0:] SDCARD -> cias
  3. Press (A) on your .cia to select it, then select "CIA image options...", then select "Mount image to drive"
  4. Press (A) on the .app file, then select "NCCH image options", then select "Inject to H&S"
  5. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given
  6. Press (A) to continue
  7. Press (A) to relock write permissions if prompted

Restoring Health & Safety after injecting a .CIA app

This will only work if the Health & Safety injection was performed by GodMode9 (not Decrypt9 or Hourglass9). {: .notice--info}

  1. Launch GodMode9 by holding (Start) during boot
  2. Press (Home) to bring up the action menu
  3. Select "More..."
  4. Select "Restore H&S"
  5. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given
  6. Press (A) to relock write permissions if prompted

Dumping a Game Cartridge

{% capture notice %} Insert the game cartridge you intend to dump into your device

  • 3DS game cartridges will be dumped to an installable .cia format
  • NDS game cartridges will be dumped to a non-installable .nds format compatible with flashcarts and emulators {% endcapture %}
{{ notice | markdownify }}
  1. Launch GodMode9 by holding (Start) during boot
  2. Navigate to [C:] GAMECART
  3. Follow the steps applicable to your game cartridge:
  • 3DS Game Cartridge: Press (A) on [TitleID].trim.3ds to select it, then select "NCSD image options...", then select "Build CIA from file"
  • NDS Game Cartridge: Press (A) on [TitleID].trim.nds to select it, then select "Copy to 0:/gm9/out"
  1. Your installable .cia or non-installable .nds formatted file will be outputted to the /gm9/out/ folder on your SD card

Dumping a Title

  1. Launch GodMode9 by holding (Start) during boot
  2. Hover over the drive applicable to the type of title you wish to dump:
  • User Installed Title: [A:] SYSNAND SD
  • System Title: [1:] SYSNAND CTRNAND
  1. Hold (R) and press (A) at the same time to open the drive options
  2. Select "Search for titles"
  3. Press (A) to continue
  4. Press (A) on the .tmd file to select it, then select "TMD file options...", then select "Build CIA (standard)"
  5. Your installable .cia formatted file will be outputted to the /gm9/out/ folder on your SD card

Converting a .3DS to .CIA

{% capture notice %}

  • For organizational purposes, copy each .3ds file you wish to convert to the /cias/ folder on your SD card
    • Note that if you wish to convert a .3ds file that is already on a flashcart, you should follow Dumping a Game Cartridge {% endcapture %}
{{ notice | markdownify }}
  1. Launch GodMode9 by holding (Start) during boot
  2. Navigate to [0:] SDCARD -> cias
  3. Press (A) on your .3ds file to select it, then select "NCSD image options...", then select "Build CIA from file"
  4. Your installable .cia formatted file will be outputted to the /gm9/out/ folder on your SD card

Backup GBA VC Saves

The game will be outputted to the /gm9/out/ folder on your SD card with the name <TitleID>.gbavc.sav. {: .notice--info}

To identify a <TitleID>.gbavc.sav file's Title ID, you can get a listing of all games on the system and their corresponding Title IDs by hovering over [A:] SYSNAND SD, holding (R) and pressing (A) at the same time, then selecting "Search for titles". {: .notice--info}

  1. Do the following process for each GBA VC game that you want to backup the save for:
  • Launch the GBA VC game
  • Exit the GBA VC game
  • Boot your device while holding (Start) to launch the Luma3DS chainloader menu
  • Launch GodMode9 by pressing (A)
  • Navigate to [S:] SYSNAND VIRTUAL
  • Press (A) on agbsave.bin to select it
  • Select "AGBSAVE options..."
  • Select "Dump GBA VC save"
  • Press (A) to continue
  • Press (Start) to reboot your device

Restore GBA VC Saves

To identify a <TitleID>.gbavc.sav file's Title ID, you can get a listing of all games on the system and their corresponding Title IDs by hovering over [A:] SYSNAND SD, holding (R) and pressing (A) at the same time, then selecting "Search for titles". {: .notice--info}

  1. Do the following process for each GBA VC game that you want to restore the save for:
  • Launch the GBA VC game
  • Exit the GBA VC game
  • Boot your device while holding (Start) to launch the Luma3DS chainloader menu
  • Launch GodMode9 by pressing (A)
  • Navigate to [0:] SDCARD -> gm9
  • Press (Y) on the <TitleID>.gbavc.sav file you wish to restore to copy it
  • Press (B) to return to the main menu
  • Navigate to [S:] SYSNAND VIRTUAL
  • Press (A) on agbsave.bin to select it
  • Select "AGBSAVE options..."
  • Select "Inject GBA VC save"
  • Press (A) to continue
  • Press (Start) to reboot your device
  • Launch the GBA VC game
  • Exit the GBA VC game

Format an SD card

Note that this will erase the contents of your SD card! {: .notice--danger}

  1. Launch GodMode9 by holding (Start) during boot
  2. Press (Home) to bring up the action menu
  3. Select "More..."
  4. Select "SD format menu"
  5. Select any EmuNAND options you wish to use
  • Most users will want to select "No EmuNAND"
  1. Select "Auto"
  2. Press (A) to accept the label GM9SD
  • Optionally, you may input a custom name for the SD card
  1. When prompted, input the key combo given to confirm

Encrypting / Decrypting a .CIA file

For organizational purposes, copy each .cia file you wish to encrypt / decrypt to the /cias/ folder on your SD card {: .notice--info}

  1. Launch GodMode9 by holding (Start) during boot
  2. Navigate to [0:] SDCARD -> cias
  3. Press (A) on the .cia file to select it, then select "CIA image options..."
  4. Select the option to perform the desired function:
    • Encrypt to 0:/gm9/out: Create an encrypted copy of the selected .cia file in the /gm9/out/ folder on your SD card
    • Decrypt to 0:/gm9/out: Create a decrypted copy of the selected .cia file in the /gm9/out/ folder on your SD card
    • Encrypt inplace: Replace the selected .cia file with an encrypted version
    • Decrypt inplace: Replace the selected .cia file with a decrypted version
  5. Your encrypted / decrypted .cia will be outputted to the desired location

Removing an NNID without formatting your device

  1. Launch GodMode9 by holding (Start) during boot
  2. Press (Home) to bring up the action menu
  3. Select "Scripts..."
  4. Select "GM9Megascript"
  5. Select "Scripts from Plailect's Guide"
  6. Select "Remove NNID"
  7. Press (A) to continue
  8. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given
  9. Press (A) to continue
  10. Press (B) to return to the main menu
  11. Select "Exit"
  12. Press (A) to relock write permissions if prompted
  13. Press (Start) to reboot your device