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

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,627
Trophies
1
Age
28
Location
Imola
XP
6,795
Country
Italy
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...
 

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,098
Trophies
1
Age
28
Location
Liverpool
XP
3,589
Country
That's how I edited System Titles:
ctrtool --content=system systemtitle.cia
3dstool -xvtf cfa system.0000.000000[ID] --header ncch.header --exh exheader.bin --exefs exefs.bin --romfs romfs.bin --plain plain.bin --logo logo.bcma.lz
3dstool -xvtf exefs exefs.bin --exefs-dir exefs --header exefs.header
3dstool -xvtf romfs romfs.bin --romfs-dir romfs
EDIT STUFF
3dstool -cvtf romfs romfs.bin --romfs-dir romfs
3dstool -cvtf exefs exefs.bin --exefs-dir exefs --header exefs.header
3dstool -cvtf cfa system.0000.000000[ID] --header ncch.header --exh exheader.bin --exefs exefs.bin --romfs romfs.bin --plain plain.bin --logo logo.bcma.lz
makerom -f cia -o Systemtitle.CIA -content system.0000.000000[ID]:0:0x[ID] -major [majorversion] -minor [minorversion]
 
  • Like
Reactions: Ryccardo

Ryccardo

Penguin accelerator
OP
Member
Joined
Feb 13, 2015
Messages
7,627
Trophies
1
Age
28
Location
Imola
XP
6,795
Country
Italy
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:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Coravendev @ Coravendev:
    yep.
  • FlareReZ @ FlareReZ:
    @K3N1, Especially here where government makes the fucked up decisions.
  • FlareReZ @ FlareReZ:
    Can we initiate a ban on bigoted tories?
  • Coravendev @ Coravendev:
    yikes
  • K3N1 @ K3N1:
    I'd rather it be government controlled here they can franchise and make their own rules letting them do whatever the hell they want
  • Coravendev @ Coravendev:
    like who?
  • FlareReZ @ FlareReZ:
    Its sad, I know. We have Sunak who doesn't believe that biology in trans people exist. smh
  • K3N1 @ K3N1:
    Biology wise that's an entire different argument but they are people
    +1
  • FlareReZ @ FlareReZ:
    @K3N1, As long as we don't harass people of races and genders, then we can all live freely without restrictions being put upon us.
  • FlareReZ @ FlareReZ:
    @K3N1, True. You're not wrong.
  • K3N1 @ K3N1:
    I don't want to pull down my transgender shirt and have stuffed animals come out :angry:
  • K3N1 @ K3N1:
    Warn me first
  • FlareReZ @ FlareReZ:
    @K3N1, Ok, I'll stop. Chill out.
  • K3N1 @ K3N1:
    I just mean if the person is up front about it then they can be what they want to be doesn't mean I'll care any less
    +1
  • FlareReZ @ FlareReZ:
    @K3N1, That's true, Kenny. How you've said it sounds like you didn't like my point of view.
  • FlareReZ @ FlareReZ:
    You can have an opinion and I'll respect it.
  • K3N1 @ K3N1:
    People just want specific things in sexuality just how it always is
    +1
  • Coravendev @ Coravendev:
    i mean it would be nice if it were just simple.
    +1
  • K3N1 @ K3N1:
    Nah that would be boring people need others they can agree with more than disagree
    +1
  • K3N1 @ K3N1:
    RG355xx plus is out and no one cares lol
    +1
  • FlareReZ @ FlareReZ:
    @K3N1, Seems alright.
    +1
  • BigOnYa @ BigOnYa:
    Looks cool, pretty cheap also.
    BigOnYa @ BigOnYa: Looks cool, pretty cheap also.