For those you looking to rebuild the romfs using the source above is a good place to start that along with the information in this thread should be enough to repack the romfs. As for romfs generation I think I am starting to see a pattern with the weird offsets and I will probably look into romfs generation when I am finished coding my tool.
Current update on my tool here is what I have working:
- RomFS/NCCH/NCSD unpacking and repacking
- Re-encryption of NCCH using zero keys
- The ability to decrypt files using the xorpads created by the ctr decryptor
- Conforms to the same naming format as ctr decryptor
What I have remaining is:
- Replacing NCCHs in an NCSD without extraction
I am hoping to have it release ready very soon.
If anyone else has any feature requests or any questions please feel free to PM me.