[Help] How to repack a System Title without exefs and exheader?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Robotxm, May 15, 2016.

  1. Robotxm
    OP

    Robotxm Member

    Newcomer
    37
    1
    Aug 13, 2015
    Switzerland
    I'm trying to replace the Japanese font file with the Chinese one, but the title doesn't has exefs or exheader, so 3dstool cannot repack it.:cry:
    Is there any way to repack this title without exefs and exheader? Or is there any other way to replace the font?:)
     
  2. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,562
    1,699
    Feb 13, 2015
    Italy
    Imola
    It can, but you're probably using cxi mode when what you want is a cfa!

    3dstool -cvtf romfs new-romfs.bin --romfs-dir romfs
    3dstool -cvtf cfa new-ncch.bin --header ncch.header --exh exheader.bin --romfs new-romfs.bin
    makerom -f cia -o customfont.cia -content new-ncch.bin:0:0x00

    The colored variables come from the original cfa extracted with ctrtool, the file with numbers that you extracted into romfs.bin!

    Good luck!
     
  3. Robotxm
    OP

    Robotxm Member

    Newcomer
    37
    1
    Aug 13, 2015
    Switzerland
    Thx a lot. I tried but MakeRom said "Failed to build CIA".
    Because the title I modified doesn't has exheader so I deleted the argument "--exh".
     
  4. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,562
    1,699
    Feb 13, 2015
    Italy
    Imola
    Yeah, I wasn't too sure if a cfa used an exheader...

    Try manually specifying a version by also adding to makerom: -dver (the version number you would use in 3dnus or higher) :)
     
    Last edited by Ryccardo, May 15, 2016
  5. Robotxm
    OP

    Robotxm Member

    Newcomer
    37
    1
    Aug 13, 2015
    Switzerland
    I tried but failed again.
    makerom said that Conten0 is not NCCH.
     
  6. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,562
    1,699
    Feb 13, 2015
    Italy
    Imola
    Hmmm that means 3dstool is creating files wrong... are you sure the ncch.header is coming from the correct original CFA?
     
  7. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,151
    2,568
    Nov 15, 2014
    France
    Albi
    if you have your bcfnt, send me it, I will tr to pack it in a cia to install
     
  8. Robotxm
    OP

    Robotxm Member

    Newcomer
    37
    1
    Aug 13, 2015
    Switzerland
    Thank you very much. I'm a boarder so if you don't mind, I will send the bcfnt to you on the next weekend.
    BTW, the bcfnt was extracted from 0004009B00014002 v0(JPN/EUR/USA System Font) and 0004009B00014102 v1024(CHN System Font).
     
    Last edited by Robotxm, May 15, 2016
  9. Robotxm
    OP

    Robotxm Member

    Newcomer
    37
    1
    Aug 13, 2015
    Switzerland
    I have made it by using FontTool.py.
    Anyway, thx again.