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

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

  1. cots
    OP

    Member cots GBAtemp Fan

    Joined:
    Dec 29, 2014
    Messages:
    461
    Country:
    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

    Member CeeDee the blushy Eevee

    Joined:
    May 4, 2014
    Messages:
    3,415
    Location:
    Country:
    Bermuda
    So did you not write this guide?
     
    Ewin likes this.
  3. xdarkmario

    Member xdarkmario Philosopher

    Joined:
    Dec 30, 2010
    Messages:
    1,265
    Location:
    Mushroom Kingdom
    Country:
    United States
    niiice! i can unpack cia files now, what a time to be alive...
     
  4. Ewin

    Member Ewin 3DS Theme Maker

    Joined:
    Apr 14, 2015
    Messages:
    162
    Location:
    3dsthem.es
    Country:
    France
    Lol :rofl2:
     
  5. tatundria

    Member tatundria GBAtemp Regular

    Joined:
    Feb 24, 2009
    Messages:
    239
    Country:
    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

    Newcomer Liambass Advanced Member

    Joined:
    Dec 22, 2008
    Messages:
    69
    Country:
    United Kingdom
    Same here.
     
  7. tatundria

    Member tatundria GBAtemp Regular

    Joined:
    Feb 24, 2009
    Messages:
    239
    Country:
    Argentina
    Maybe you have a virtual machine? I fixed it by installing windows 10
     
  8. Liambass

    Newcomer Liambass Advanced Member

    Joined:
    Dec 22, 2008
    Messages:
    69
    Country:
    United Kingdom
    I'm running Windows 10.
     
  9. paradox355

    Newcomer paradox355 Member

    Joined:
    Dec 31, 2009
    Messages:
    16
    Country:
    United States
    3DS Hacking Tools ... Download Failed - Virus Detected

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

    Newcomer Kokuyo Newbie

    Joined:
    Aug 7, 2016
    Messages:
    1
    Country:
    United States
    Make sure here aren't spaces in the .cia's name.
     

Share This Page