#175417 - Massif - Wed Nov 17, 2010 2:13 pm
I've been having trouble getting the shared palette option in grit to work properly. I have several 8 bit indexed images with different palettes (each palette only has 7 or 8 colors) and I'm trying to create a shared tileset, shared palette and a separate map for each image. Here's the command I'm using:
grit ./*.png -ftc -gS -m -pS -OBG_OL_MINE
This generates a file containing the shared tileset/palette and a separate file for each map. However, the palette does not contain the colors from all of the images. It seems to only be outputting the colors from one image. The weird part is that it only outputs 12 short values instead of 256 and half of those values are 0x0000. If I remove the -pS option, I get 256 values but still only the colors from one image are filled in and the rest are 0x0000.
I've also tried using bmp instead of png, but I get the same result.
_________________
Massif - It means mountain.
grit ./*.png -ftc -gS -m -pS -OBG_OL_MINE
This generates a file containing the shared tileset/palette and a separate file for each map. However, the palette does not contain the colors from all of the images. It seems to only be outputting the colors from one image. The weird part is that it only outputs 12 short values instead of 256 and half of those values are 0x0000. If I remove the -pS option, I get 256 values but still only the colors from one image are filled in and the rest are 0x0000.
I've also tried using bmp instead of png, but I get the same result.
_________________
Massif - It means mountain.