Extracting DecryptedRomFS File?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by XBzombieMan1337, Dec 2, 2017.

  1. XBzombieMan1337
    OP

    XBzombieMan1337 GBAtemp Regular

    Member
    172
    16
    Mar 22, 2017
    United States
    Yeah, this may sound somewhat like a simple task. I've not done this in awhile but, how do I extract the Decrypted RomFS and Exe files? I've been doing this in the command prompt and have just gotten the response "could not open input file!":

    ctrtool -t romfs --romfsdir=romfs romfs.bin

    Am I doing something wrong?
     
  2. Ryccardo

    Ryccardo WiiUaboo

    Member
    4,150
    1,954
    Feb 13, 2015
    Italy
    Imola
    Well, is the file actually called romfs.bin and in the active folder?

    If it doesn't work try with 3dstool:

    3dstool -xvtf romfs romfs.bin --romfs-dir romfs
    3dstool -xvtf exefs exefs.bin --header exefsheader.bin --exefs-dir exefs

    The green parts, of course, must be changed to the actual paths and names; the red parts are your choice of output names
     
    Last edited by Ryccardo, Dec 2, 2017
  3. Natural

    Natural GBAtemp Regular

    Member
    198
    18
    Jul 25, 2014
    United States
    You can use Decrypt9wip. I extracted the RomFS from Ultra Moon hours ago with it.
     
  4. XBzombieMan1337
    OP

    XBzombieMan1337 GBAtemp Regular

    Member
    172
    16
    Mar 22, 2017
    United States
    How do you use Decrypt9wip to extract the RomFS?
     
  5. Natural

    Natural GBAtemp Regular

    Member
    198
    18
    Jul 25, 2014
    United States
    You'll need the Title ID of the game you're trying to dump before doing this. Hold Start while turning the 3DS on, select Decrypt9wip, go to Content Decrypter Options, then SD File Options, and SD CXI Dumper. Now you'll use the control pad's left/right and up/down keys to choose the Title ID of the game you wish to dump from. When you're done the .cix should be under the files9 folder on your SD card. The .cxi will begin with the Title ID of the game dumped from. After all of this you'll need to download PackHack from Github. Follow the rest of the instructions here and you can also download PackHack from that thread. Step 3 and onwards but instead of using Foobas2000 use Every File Explorer from gbatemp.net.
     
    Last edited by Natural, Dec 2, 2017
  6. XBzombieMan1337
    OP

    XBzombieMan1337 GBAtemp Regular

    Member
    172
    16
    Mar 22, 2017
    United States
    I keep getting an error, that states "the file type is a mismatch".
     
  7. Ryccardo

    Ryccardo WiiUaboo

    Member
    4,150
    1,954
    Feb 13, 2015
    Italy
    Imola
    Are you sure the files I wrote in green are decrypted?
     
  8. XBzombieMan1337
    OP

    XBzombieMan1337 GBAtemp Regular

    Member
    172
    16
    Mar 22, 2017
    United States
    SOLVED I just used GodMode9 to extract the files.
     
    Natural likes this.
Loading...