Ctrtool help

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by thunderjackl, Oct 10, 2016.

  1. thunderjackl
    OP

    thunderjackl Advanced Member

    Newcomer
    73
    12
    Oct 5, 2016
    United States
    Can some one help me extract the exefs file with ctrtool?
     
  2. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,792
    4,978
    Mar 17, 2010
    Norway
    Alola
    3DSTool works better for this.
    Make sure the CIA is decrypted first. You can use Decrypt9 to decrypt it.
    Code:
    ctrtool.exe --content=Content Game.cia
    3dstool.exe -xvtf cxi Content.0000.* --header NCCH.Header --exh DecryptedExHeader.bin --exefs DecryptedExeFS.bin --romfs DecryptedRomFS.bin --logo Logo.bcma.LZ --plain PlainRGN.bin
    3dstool.exe -xvtf exefs DecryptedExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
    3dstool.exe -xvtf romfs DecryptedRomFS.bin --romfs-dir ExtractedRomFS
    That will extract all the contents of Game.cia including unpacking the ExeFS/RomFS.
     
    thunderjackl likes this.
  3. thunderjackl
    OP

    thunderjackl Advanced Member

    Newcomer
    73
    12
    Oct 5, 2016
    United States
    sry i did not word that right i meant to say that i already have the exefs form a braindump i just need to unpack it.
     
  4. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,792
    4,978
    Mar 17, 2010
    Norway
    Alola
    Then this line is all you need:
    3dstool.exe -xvtf exefs DecryptedExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
    Put 3dstool.exe and DecryptedExeFS.bin in a directory and run that command from the same directory.
     
    thunderjackl likes this.
  5. thunderjackl
    OP

    thunderjackl Advanced Member

    Newcomer
    73
    12
    Oct 5, 2016
    United States
    thanks for the help :yay3ds: