1. HikkiFan7

    OP HikkiFan7 Member
    Newcomer

    Joined:
    Oct 28, 2015
    Messages:
    29
    Country:
    United States
    Is there any way to decrypt a CIA and extract the romfs without a <9.2 3DS?
     
  2. Exavold

    Exavold eeh
    Member

    Joined:
    Nov 9, 2015
    Messages:
    1,018
    Country:
    France
    Yes , but you can't use it on your 3ds , get @Asia81's Pack Hack (3.6 is less glitched imo) Shift+Right Click -> Open a command here (?)* and copy this :
    ctrtool --contents=contents NAME OF THE CIA.cia
    ctrtool -p --exefs=exefs.bin contents.0000.00000000
    ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin
    ctrtool -p --romfs=romfs.bin contents.0000.00000000
    then right click on the command prompt

    EDIT : Press Enter sometimes if it's "stuck".
     
  3. Aroth

    Aroth GBAtemp Addict
    Member

    Joined:
    Apr 14, 2015
    Messages:
    2,066
    Country:
    United States
    So i tried this with a system title for giggles (and because I have been looking for a way to do this with a system title to attempt something for a while) and while the first line runs, the second spits an error because contents.0000.00000000 does not exist. The first line actually created two files, contents.0000.00000066 and contents.0001.00000067.

    Do I need to run the exefs and romfs lines for both contents files?
     
  4. Exavold

    Exavold eeh
    Member

    Joined:
    Nov 9, 2015
    Messages:
    1,018
    Country:
    France
    I have no clue , i never tried system apps :/
     
  5. Aroth

    Aroth GBAtemp Addict
    Member

    Joined:
    Apr 14, 2015
    Messages:
    2,066
    Country:
    United States
    Darn. Really hoping I found the solution. Worth noting maybe that running the second, third and fourth lines on content.0000.00000066 works.

    Trying it on content.0001.00000067 generates a null size exefs.bin, and a romfs.bin that is about 4 KB smaller than the content file. Also, the combine sizes of the romfs and exefs files from the first content file is about 13 KB smaller than the content file that was used to generate them.
     
  6. HikkiFan7

    OP HikkiFan7 Member
    Newcomer

    Joined:
    Oct 28, 2015
    Messages:
    29
    Country:
    United States
    When using ctrtool to extract I get an error "exheader hash mismatch"
     
  7. HikkiFan7

    OP HikkiFan7 Member
    Newcomer

    Joined:
    Oct 28, 2015
    Messages:
    29
    Country:
    United States
  8. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,140
    Country:
    France
    send me your cia, will try
     
  9. Ericjwg

    Ericjwg GBAtemp Psycho!
    Member

    Joined:
    Jul 2, 2015
    Messages:
    3,718
    Country:
    Canada
    for decrypted cia, u can extract romfs easily, but if the cia is encrypted, then you need decrypt9 which require <=9.2
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Decrypting,