Yes, this helps. Thank you for the prompt answers.
I'm not worried about BMP for now, I'm only worried about the transparency bit when it comes to TGA, since they both hold the pixel data and the palette in the same way, difference is the header itself, it's size and content (I prefer TGA because it only needs 18 bytes for the header, while BMP needs 54, and since I'm parsing and writing them manually, it's extra work). As far as I know, BMP doesn't hold transparency info either, so we'll see how that turns out.
A more worrying issue is compression. The only possible compression in this case I think would be RLE, which shouldn't be too hard to implement (except if it's a custom written algo, like in Simon the Sorcerer 1, man was THAT
playing with my nerves). I don't think I've seen any compressed images up until now, so I'll leave it out at present.
UPDATE: The prog now exports images as *.BMP or *.TGA. You can select any image from a multi-part *.MAT and export it. I need more info before I start writing the IMPORT procedure, namely the stuff below ↓
Last thing I want to ask:
When you remastered Manny, what colorspace did you use? That doesn't look like INDEX, more like RGB. If that's the case, what did you do about the palette? For example, if you changed the palette for the suit, the colors in suit.cmp would be modified, and the colors for the face would be different right?
Could you explain that process for me please? I'm asking because obviously we'd want to make the images bigger, which is not a problem, but what do you do after you EDIT/PAINT on an image? What EXACTLY do you do to get it back into the *.MAT? I need to know this, because this dictates if changes to the pallette (CMP) files are needed too.
Specifically, I'm interested about what you meant in this post:
My manual process consisted of copying the MAT's raw image bytes in a new file, appending the suitable pallete's raw data, editing it in Photoshop (using the colors from the existing palette ONLY
), and then rewriting the raw image bytes into the *.MAT file.
UPDATE: Batch export to folder added.