I want to change the MMF2 palette. That part is not a problem. What I want to know is - BEFORE I do this - how I'll be able to change it BACK to the original MMF2 palette. I remember there being a bmp file in TGF that you could open, view and refer to in order to change the palette back. There's a bmp file in MMF2's data folder but it seems to be a 1kb "transparent colour" image.
Anyone had experience with changing the MMF2 palette, and changing it back to the default one again?
Although "defpal.bmp" only uses the one color (teal), it does contain a full 256-color palette, which is what MMF2 uses in the image editor.
The easiest thing to do, is to save a backup copy of defpal.bmp first, and then edit its palette using any half-decent graphics app (you could even just use MS Paint to create an image containing the colors in your palette, and save that as a 256-color bitmap).
Having said that, only using 256 colors in a game won't improve performance, and MMF2 really sucks as an image editor, so why bother?
So defpal.bmp is okay? It makes sense that "defpal" would be the default palette but I wasn't convinced that little 1kb file containing nothing but teal pixels would do the job. I'll just try it now and see what happens. If my future games contain a nauseating amount of teal you'll know that it didn't quite work out.
Edit: It worked! Cheers guys.
Edit2: Adam and Sketchy, you guys are two of my favourite people here. Make more games!
you probably were expecting to see a palette as an image, instead of a palette embedded in the image. Image files are encoded with palettes in the file, or actually you can think of the 256 color bitmap to have a default 256 color palette embedded or yours to make. Same for 256 color gif or png.
But if you use a 24-bit color or 32-bit color (instead of 8-bit == 256 colors) image, it has 'all' possible colors so there is no need for a palette anymore. But still somewhere in the file you need to specify this.
That's it put simply. So your image needs to have a palette, either our huge default one containing 'all' possible colors or a custom embedded one.
Jenswa, I don't know why but I didn't see your reply until now. I guess I didn't check the site for a few days and just missed it. Thanks for the reply