[Tutorial] Decrypt & Unpack / Rebuild 3DS and CIA Files

Discussion in '3DS - Tutorials' started by cots, Jul 10, 2016.

  1. cots
    OP

    cots GBAtemp Fan

    Member
    479
    306
    Dec 29, 2014
    United States
    Decrypt & Unpack / Rebuild 3DS and CIA Files

    In this short guide we'll address decrypting, unpacking and repacking a legit CIA for editing purposes.

    Requirements

    Legit CIA or 3DS Package/ROM - Get on "That ISO Site"
    PackHack / PackEnglishV5.3.rar - http://pastebin.com/A1s8cmsD
    Decrypt9WIP - https://github.com/d0k3/Decrypt9WIP/releases

    Extract PackEnglishV5.3 into a folder and merge the two directories inside of it so the applications and keys are in the same directory/folder.

    [​IMG]

    Create a directory on your SD Card named \D9Game\ and upload your CIA/3DS file into it.

    FOR CIA FILES

    [​IMG]

    Run Decrypt9WIP and pick "Content Decryptor Options"

    [​IMG]

    Then pick "CIA Decryptor (deep)"

    [​IMG]

    Finally wait for the progress screen to complete

    FOR 3DS FILES

    [​IMG]

    Run Decrypt9WIP and Pick "NCCH/NCSD Decryptor"

    [​IMG]

    Finally wait for the progress screen to complete

    Copy the now decrypted CIA/3DS from \D9Game\ to the folder you extracted PackHack to and run HackingToolKit.

    [​IMG]

    For CIA type in "CE" or for "3DS" type in "D" and then press "enter"

    [​IMG]

    Type in the Filename and press "enter" and type in "n" when it asks to "Decompress The Code.bin file".

    [​IMG]

    If all goes well it will extract the contents of your CIA/3DS file. You'll know it went well if there is now both "ExtractedExeFS" and "ExtractedRomFS" folders in the folder you put PackHack in.

    [​IMG]

    To repack the CIA/3DS run HackingToolKit and type in "CR" (for CIA) or "R" for (3DS), type in a filename and press "enter".

    That's all she wrote!

    [​IMG]
     
    Last edited by cots, Jul 22, 2016
  2. CeeDee

    CeeDee "Yo!"

    Member
    GBAtemp Patron
    CeeDee is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,747
    5,157
    May 4, 2014
    United States
    So did you not write this guide?
     
    Ewin likes this.
  3. xdarkmario

    xdarkmario Philosopher

    Member
    1,318
    303
    Dec 30, 2010
    United States
    Mushroom Kingdom
    niiice! i can unpack cia files now, what a time to be alive...
     
  4. Ewin

    Ewin 3DS Theme Maker

    Member
    188
    59
    Apr 14, 2015
    France
    3dsthem.es
    Lol :rofl2:
     
  5. tatundria

    tatundria GBAtemp Regular

    Member
    254
    26
    Feb 24, 2009
    Argentina
    Any idea why Hackingtools is not working for me? Every time I try to extract a decrypted .cia it just doesn't work (the unpacked folders won't appear)

    I have Windows 7 x86 on a Virtual Machine, but I tried with x64 and it always happens the same...
     
    Last edited by tatundria, Jul 21, 2016
  6. Liambass

    Liambass Advanced Member

    Newcomer
    73
    11
    Dec 22, 2008
    Same here.
     
  7. tatundria

    tatundria GBAtemp Regular

    Member
    254
    26
    Feb 24, 2009
    Argentina
    Maybe you have a virtual machine? I fixed it by installing windows 10
     
  8. Liambass

    Liambass Advanced Member

    Newcomer
    73
    11
    Dec 22, 2008
    I'm running Windows 10.
     
  9. paradox355

    paradox355 Member

    Newcomer
    17
    6
    Dec 31, 2009
    United States
    3DS Hacking Tools ... Download Failed - Virus Detected

    upload_2016-7-29_16-58-25.png
     
  10. Kokuyo

    Kokuyo Newbie

    Newcomer
    1
    0
    Aug 7, 2016
    United States
    Make sure here aren't spaces in the .cia's name.