I was editing some characters in the Mortal Kombat Arcade Edition ROM, and that was the easy part: all characters are simple tiles in the ROM.
But the character selection screen was compressed, and I was able to decompress all data using RNC ProPackED in search and extract mode:
rnc64 e Mortal_Kombat_Arcade_Edition.bin
And under the extracted folder, I found the bin file I've was looking for: data_286110.bin
The extraction line was:
RNC archive found: 0x286110 (011576/018368 bytes)
Now that I've edited that file, I want to compress it back to the Mortal_Kombat_Arcade_Edition.bin ROM file.
I saw that the documentation has a p param, but I'm not getting how to use it in this case.
January 19, 2022, 12:49:59 PM - (Auto Merged - Double Posts are not allowed before 7 days.)
After reading a bit more, if I correctly understood: I need first to compress data_286110.bin in a compressed file, by example:
rnc64 p data_286110.bin data_286110_compressed.bin
Then insert its content back in the ROM file overwriting the header and image data (using the data from the compressed file) using a hex editor. In the case the data is smaller, I should pad with zeros.
Is that correct?