How do you recompile a CIA of a "system data archive"?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Ryccardo, Feb 2, 2016.

  1. Ryccardo
    OP

    Ryccardo WiiUaboo

    Member
    10
    Feb 13, 2015
    Italy
    Imola
    Topic.

    I have extracted one by using Decrypt9's deep CIA decryption then running it through Asia91's PackHack, the romfs was decompressed successfully, and I've made the edits I wanted.

    Now I was trying to assemble the partitions back into a 3DS to be converted to CIA, but I couldn't do that as I do not have a valid ExHeader (it's an empty file, as it should be for this class of CIAs).

    I've manually repacked the romfs and downloaded Makerom, but I don't know how I'm supposed to use it. The "command builder" GUI doesn't appear to be designed for this scenario either...
     
  2. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Advanced Maniac

    Member
    7
    Jul 29, 2015
    Liverpool
    That's how I edited System Titles:
     
    Ryccardo likes this.
  3. Ryccardo
    OP

    Ryccardo WiiUaboo

    Member
    10
    Feb 13, 2015
    Italy
    Imola
    Thaaanks! Since I already made a romfs.bin, that's how I worked:

    C:\Users\Ryccardo\Desktop\PackEnglishV4.3\makerom>ctrtool.exe --content=system NS.cia
    [...]
    TMD header:
    Title version: 4.0.0 (v4096)
    [...]
    TMD contents:
    Content id: 00000008
    Content index: 0000

    Saving content #0000 to system.0000.00000008
    ------------------------------------
    3dstool.exe -xvtf cfa system.0000.00000008 --header ncch.header --exh exheader.bin --exefs exefs.bin --romfs romfs.bin --plain plain.bin --logo logo.bcma.lz
    save: ncch.header
    INFO: exefs is not exists, exefs.bin will not be create
    save: romfs.bin
    -------------------------------------
    (replace romfs.bin with custom one)
    -------------------------------------
    C:\Users\Ryccardo\Desktop\PackEnglishV4.3\makerom>3dstool.exe -cvtf cfa system.0000.00000008 --header ncch.header --romfs romfs.bin
    load: ncch.header
    load: romfs.bin
    -------------------------------------
    C:\Users\Ryccardo\Desktop\PackEnglishV4.3\makerom>makerom.exe -f cia -o NScfa-10.5-custom.cia -content system.0000.00000008:0:00000008 -major 4 -minor 1

    :yay3ds:
     
  4. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Advanced Maniac

    Member
    7
    Jul 29, 2015
    Liverpool
    great ! :D
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice