Project_CTR icon indicating copy to clipboard operation
Project_CTR copied to clipboard

[Request] Option to create .rsf file from existing ROM

Open iskunk opened this issue 6 years ago • 0 comments

I am using ctrtool to unpack an existing ROM, and would like to use makerom to repack it (after making modifications to files in the RomFS). However, I see that repacking the ROM requires specifying an .rsf file, which has a large number of internal parameters that I know nothing about. The most I can say is that the parameters should be set so that the resulting ROM is identical to the original aside from my modifications.

Given that the parameters in the .rsf file are baked into the resulting ROM file, would it not be possible for ctrtool to parse an existing ROM file, and dump those same parameters to a new .rsf file? This would greatly simplify the use case of modding an existing ROM, as I have no idea how to put together a correctly-specified .rsf file from scratch.

(I've seen this example, but quickly found that the fields cannot be set by looking at values printed to the terminal during a run of ctrtool.)

iskunk avatar Oct 24 '18 00:10 iskunk