1. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    Thanks for help :D
    I have 1 .ncch file, 1 .tik, and 1 .tmd, but I don't know how to build a CIA from them.
     
  2. RainThunder

    RainThunder GBAtemp Regular
    Member

    Joined:
    Jun 22, 2012
    Messages:
    212
    Country:
    Normally, just a NCCH file is enough.
    Code:
    makerom -f cia -target t -o rom.cia -i rom.ncch:0:0
    If a NCCH file is encrypted, you might have to add -DSaveSize= option for the CIA to work correctly. Save size can be obtained by taken four bytes at offset 0x19A in tmd (little endian), then divide by 1024.
    Code:
    makerom -f cia -target t -rsf rom.rsf -o rom.cia -DSaveSize=... -i rom.ncch:0:0
    rom.rsf:
    Code:
    Option:
      MediaFootPadding: true
      EnableCrypt: false
    SystemControlInfo:
      SaveDataSize: $(SaveSize)K
     
    cearp likes this.
  3. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    Thanks, i will try :D
     
  4. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    I have nothing at 0x19A :/
    http://image.noelshack.com/fichiers/2016/02/1452684850-ncch.png
    I can build the CIA (It's a SDK title, like devmenu) and install it using your first command, but the CIA doesn't appear on my homemeny (if TitleManager is right, the CIA need to be installed in NAND).
     
    Last edited by Asia81, Jan 13, 2016
  5. RainThunder

    RainThunder GBAtemp Regular
    Member

    Joined:
    Jun 22, 2012
    Messages:
    212
    Country:
    I think the SDK titles are different then regular ones, so my instructions doesn't work.

    P/s: When building regular title (not a dev title), you don't need to edit $(SaveSize)K in rom.rsf. -DSaveSize=... (replace ... with the actual save size) is just enough.
     
  6. LITTOMA

    LITTOMA Advanced Member
    Newcomer

    Joined:
    Nov 14, 2014
    Messages:
    75
    Country:
    China
    Try make_cia
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - build,