I'm looking for some guidance with respect to compressing data using RNC ProPackED (
http://www.romhacking.net/utilities/1310/), specifically when reinserting files back into a PSX image.
I'm currently trying to see what's under the hood of NBA Jam T.E. I've used CDMage to view and export data files, and I've been able to decompress certain .BIN, .RNC, .GFX, and .COL files within that image using commands in a .bat file that executes RNC ProPackED.
I use the following command in a .bat to reinsert decompressed images:
rnc_lib p decompressed.bin compressed.bin -m=2
The headers in the orginial files indicate Mode 2 RNC compression is used.
I'm currently just looking at splash screens in the HICOL.GFX file. When the game boots up to the Acclaim screen, which is the image I'm messing around with, I usually get a clip of the Iguana screen (instead of my image) with garbled pixels at the top (most common result).
I can see my image perfectly in the decompressed .bin that I've modified; the image appears using a 15bpp RGB codec and 2-dimensional mode in Tile Molestor. If I attempt to decompress the file that I had used RNC to compress, it gives me an error. I can also say that the inserted compressed image appears to be a few KB less than the original compressed image that I am trying to replace.
Does anyone use RNC ProPackED? Any advice on how I should be structured the pack/compress command, or what I otherwise might have missed?
Details may be found here:
https://www.romhacking.net/forum/index.php?topic=32480.0