turns out this tool chokes on unpacking Update files since they lack a banner.bin and the extraction never finishes after giving an error.
when I tried to extract an update patch .CIA and a DCL (also as .CIA), neither would work. Both of these hung after popping up with exception error windows.
Updates and DLC are a little different than standard CIAs. Unfortunately the tool doesn't currently support these, not even the latest builds. If anyone happens to know the correct command-line tools to extract and rebuild updates and DLC, that'd be very helpful.
I hope someone can help out to have this amended.
For all the newbies looking into merging updates into the full game for usage in Citra I'd like to share my 24h-newbie findings.
Btw, yes, I know Citra can install .cia updates.
Regardless of the error and hang when handling updates tool seems to extract all the files.
I have successfully extracted .3ds ROM and .cia update and merged them afterwords following instructions here:
community.citra-emu. org /t/need-help-trying-to-rebuild-cxi-file-along-with-game-update/2910/5
Those were the only instructions I was able to find for this goal.
My only change was renaming ExeFS\icon.icn to icon.bin and copying it over along with code.bin so icon gets updated as well, as it's the case with Pokemon Ultra Sun v1.2 EUR.
My other working example was TriForce Heroes v2.1.0 EUR. Regarding the Title ID part, after following instructions at:
github. com /ihaveamac/3DS-rom-tools/wiki/Edit-title-ID-with-extracted-NCCH-header-and-ExHeader
Title ID turned out to be the same in the .3ds and .cia files for both games so I had nothing to do with it.
Both newly built .3ds files boot fine in Citra, with proper version number displayed in-game.
I've got no clue if any of the remaining files should be carried over as well.
@evandixon Would be great if you could implement option for trimming.