Title Dumping and file extraction using GodMode9 1.0+

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by ih8ih8sn0w, Mar 23, 2017.

  1. ih8ih8sn0w
    OP

    ih8ih8sn0w Koreaboo

    Member
    1,655
    715
    Aug 22, 2015
    United States
    Hell
    Dumping and converting a cartridge game to CIA
    1. Select [C:]GAMECART
    2. Select The [TitleID].trim.3ds file
    3. Select NCSD image options... > Build CIA from file
    4. The CIA will be in /gm9out/titleid.cia

    Dumping an installed SD title as a CIA
    Note: You will need the TitleID of the game, a list of official titles can be found here
    1. Select [A:] SYSNAND SD
    2. Select title > 00040000 if you are dumping a full title or 0004000e for an update > the last 8 digits of the TitleID (tidlow) > content > the .tmd in the folder
    3. Select TMD file options... > Build CIA (standard)
    4. The CIA will be in /gm9out/titleid.cia

    Dumping a system title as a CIA
    Note: You will need the TitleID of the System App, a list of these can be found here
    1. Select [1:] SYSNAND CTRNAND
    2. Go to title > TitleID High (found in the header of the tables on the Title List page) > TIDLow (based on region typically, in the tables on the Title List page) > content > the .tmd in the folder
    3. Select TMD file options... > Build CIA (legit)
    4. The CIA will be in /gm9out/titleid.cia

    Dumping other files from CIAs (for ROM Hacking purposes)
    1. Navigate to the .cia you wish to extract files from
    2. Select it and select CIA image options... > Mount image to drive
    3. Select the first folder, it should be called something like 0000.00000002 (names vary depending on the title)
      1. Make sure that the ROMFS is about the size of the installed title. If it is not, then the actual game content may be in another folder.
    4. Select the files that you wish to extract.
      1. I.e. if you need a full romfs.bin, select that. .code (code.bin) is stored in the exefs folder.
      2. If you need specific game files, you can navigate through the romfs folder to find specific files
    5. Once you have either marked the files you want with L, and/or copied them with Y, hold R and press right on the d-pad to go to a new pane.
    6. Navigate to a folder in which you wish to extract files to, and press Y to paste the files.

    Dumping other files from system or SD titles
    1. Navigate and mount the title (refer to dumping a system or SD title for the location, select the largest .app > NCCH Options... > mount image to drive)
    2. Select the files that you wish to extract.
      1. I.e. if you need a full romfs.bin, select that. .code (code.bin) is stored in the exefs folder.
      2. If you need specific game files, you can navigate through the romfs folder to find specific files
    3. Once you have either marked the files you want with L, and/or copied them with Y, hold R and press right on the d-pad to go to a new pane.
    4. Navigate to a folder in which you wish to extract files to, and press Y to paste the files.

    Dumping other files from a gamecart
    1. Go to GAMECART > Titleid.3ds > NCSD image options... > mount image to drive
    2. Select content0.game (0 may be a different number)
    3. Select the files that you wish to extract.
      1. I.e. if you need a full romfs.bin, select that. .code (code.bin) is stored in the exefs folder.
      2. If you need specific game files, you can navigate through the romfs folder to find specific files
    4. Once you have either marked the files you want with L, and/or copied them with Y, hold R and press right on the d-pad to go to a new pane.
    5. Navigate to a folder in which you wish to extract files to, and press Y to paste the files.
     
    ossay78 and RustInPeace like this.


  2. MsMidnight

    MsMidnight part time fe modder

    Member
    1,753
    1,308
    Oct 12, 2015
    kys
    Why not stick to d9
     
  3. ih8ih8sn0w
    OP

    ih8ih8sn0w Koreaboo

    Member
    1,655
    715
    Aug 22, 2015
    United States
    Hell
    A combination of our glorious guide and the lack of people being able to do the simple task of adding a new payload.
     
  4. MsMidnight

    MsMidnight part time fe modder

    Member
    1,753
    1,308
    Oct 12, 2015
    kys
    I see
     
  5. SimplyFedorable

    SimplyFedorable netplay addict

    Member
    560
    225
    Apr 7, 2016
    United States
    melee hell
    Wait holy shit we can dump installed title to CIA? This is really fucking helpful.
     
  6. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,524
    2,922
    Mar 16, 2012
    United States
    You could do that with Decrypt9. This isn't new. Unless you mean a system title, then I'm not sure if that was in D9 or not.
     
  7. ih8ih8sn0w
    OP

    ih8ih8sn0w Koreaboo

    Member
    1,655
    715
    Aug 22, 2015
    United States
    Hell
    System title extraction is kinda new, but you could always use something like 3dnus. It was mostly included for things like preserving home menu edits in the event that you lose your source files, or don't want to use 3dnus.
     
    KunoichiZ likes this.
  8. gcunit

    gcunit Member

    Newcomer
    44
    2
    Nov 11, 2008
    United States
    Totes noob at 3DS hacking, just installed Soundhax yesterday. Wanting to dump my game carts on to system.

    I already had Godmode9 in my payloads folder, so when I put Hourglass9 in there too, Godmode9 loaded. Can I only have one payload in there at once, or is there a way of cycling through different payloads when booting to choose which one loads?

    Anyway, is there any significant difference between dumping with Godmode and Hourglass? A 675mb trimmed dump using Godmode is taking about 5-7 minutes.
     
  9. ih8ih8sn0w
    OP

    ih8ih8sn0w Koreaboo

    Member
    1,655
    715
    Aug 22, 2015
    United States
    Hell
    Did you actually finish the entire guide? It tells you how to setup payloads and you just need to use a similar naming convention. They should be about the same speed unless one is more optimized than the other for some reason.
     
    gcunit likes this.
  10. gcunit

    gcunit Member

    Newcomer
    44
    2
    Nov 11, 2008
    United States
    Guess I'll stick with Godmode for now then, seemed to work fine and be fairly self-explanatory.

    I still don't see anything about setting up payloads in the guide, but I'll google it.

    Thanks.
     
  11. Most-Wanted

    Most-Wanted 3D OLED TV'S /o/

    Member
    158
    20
    Apr 2, 2017
    Once i've extracted my cartridge to CIA , what do i do to Run it? can you tell me via adding it to this guide?

    edit: extract via godmode9/gamecart then pick the Trim option after all that get the CIA file and inject/install with FBI .. However this didnt transfer my save game.. how do i keep my save game?

    so how can i use my save games?
     
    Last edited by Most-Wanted, Apr 15, 2017
  12. ih8ih8sn0w
    OP

    ih8ih8sn0w Koreaboo

    Member
    1,655
    715
    Aug 22, 2015
    United States
    Hell
    Use one of the many save dumping/injecting tools. CIAs do not contain save data.
     
  13. Most-Wanted

    Most-Wanted 3D OLED TV'S /o/

    Member
    158
    20
    Apr 2, 2017
    Ohh ok thanks, can i have a link to what you would recommend ?
     
  14. Chopsuey

    Chopsuey Member

    Newcomer
    39
    21
    Feb 18, 2017
    Gambia, The
    somewhere over the rainbow
    use this to transfer saves
    https://gbatemp.net/threads/release-jks-savemanager-homebrew-cia-save-manager.413143/
     
  15. Most-Wanted

    Most-Wanted 3D OLED TV'S /o/

    Member
    158
    20
    Apr 2, 2017
    Thank you my good sir
     
  16. jmhannz

    jmhannz GBAtemp Fan

    Member
    383
    86
    Apr 4, 2017
    United States
    How long does it take on average to dump a installed freeshop game to cia lets say I have a Sandisk Ultra Plus 128GB, and it does or doesn't pull saves with it for console installed freeshop games?
     
  17. Most-Wanted

    Most-Wanted 3D OLED TV'S /o/

    Member
    158
    20
    Apr 2, 2017
    IDK since i mass download .3ds files and convert them to CIA , i have yet to try freeshop since it seems complex with the "keys" , also I'm sure you have to extract the save files yourself, they don't come with the .CIA
    I'm sure someone can answer the rest.
     
  18. Starboy

    Starboy GBAtemp Regular

    Member
    155
    15
    Apr 26, 2017
    India
    Can you convert the 3ds file from sky3ds plus and make it to cia
     
  19. greenDarkness555

    greenDarkness555 Advanced Member

    Newcomer
    96
    18
    Feb 27, 2016
    United States
    Very informative write up. Thank you!
     
  20. ossay78

    ossay78 Member

    Newcomer
    45
    6
    Jan 18, 2016
    Indonesia
    very usefull information.

    I have a question about romfs editing:
    let's say that I have copied and edited some files from romfs folder, can I put those edited files back to the 3ds easily as easy as dumping them to the sdcard?