3DSGuy / Project_CTR

428 stars 67 forks source link

Can't create CIA from CFA #99

Closed ZeroSkill1 closed 3 years ago

ZeroSkill1 commented 3 years ago

I'm trying to build some themes as CIAs. They are CFAs.

Trying to run this:

makerom -f cia -o output.cia -i 00a8.000000c0.cfa:0xa8:0xc0 -ignoresign

This is what I get:

[SETTING ERROR] Argument "-rsf" is required

The NCCH is valid, I have checked that.

I'm using makerom 0.17 on Ubuntu 20.04.

jakcron commented 3 years ago

When creating DLC you need to include the index CFA as index 0x0, in addition to the actual DLC CFAs.

See https://www.3dbrew.org/wiki/Makerom#NCCH_configurations_for_CIA

ZeroSkill1 commented 3 years ago

I see. I wanted to create separate CFA CIAs so the user could add them to their existing DLC when installing them. I guess this isn't possible without creating some sort of homebrew application that adds the contents to the existing installed contents.

jakcron commented 3 years ago

Yeah the way CIA installing works is that it overwrites the existing title, you'd need a specialised app like you suggest to modify the title.