CC Zone - Chip's Challenge Forum
CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - Printable Version

+- CC Zone - Chip's Challenge Forum (https://forum.bitbusters.club)
+-- Forum: Chip's Challenge (https://forum.bitbusters.club/forum-4.html)
+--- Forum: Chip's Challenge 2 (https://forum.bitbusters.club/forum-18.html)
+--- Thread: CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) (/thread-1398.html)



CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - FelixNemis - 12-May-2016

So I was watching Flareon's LP of TSAlpha and he mentioned how he stopped using the MSCC tileset because images exported from the editor came out wrong.
From making my own tileset and playing around with the MSCC tileset that's in the download section I've figured out how to fix tilesets when the "Save BMP" doesn't work properly.

Here's what an image exported using the MSCC tileset from the downloads section looks like

[Click to Show Content]


The reason it looks all corrupted like that is that CC2 makes a lot of assumptions about the bmp file that the tileset is saved in, one assumption is that it's a palleted 8-bit bmp, this one is 32-bit.
Changing it to a palleted bmp in GIMP (and exporting without color space information) and then using "Save BMP" with it gives this:

[Click to Show Content]


Almost fixed but it's not showing the right tiles at all
This is because the header for the bmp file isn't the size CC2 is expecting.
I don't know why CC2 assumes this header size, but I do know a quick way to fix it. We simply open the 8-bit bmp in MS paint and save it again.
And voila:

[Click to Show Content]


Instructions for fixing a tileset:
First make sure the image is an 8-bit bmp (use photoshop or GIMP to convert it, also make sure the background green color is the exact same color value (76, 206, 105) or #4CCE69 after converting to 8-bit or it wont work as transparency).
Then open and save it from MS Paint (this works with the paint version from XP and Windows 7, IDK about other versions)


CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - Flareon350 - 12-May-2016

This is awesome information. Thanks for this Slight smile now I can go back to the MSCC tileset with no problems! Thumbs up


CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - Flareon350 - 29-May-2016

Quote:Instructions for fixing a tileset:

First make sure the image is an 8-bit bmp (use photoshop or GIMP to convert it, also make sure the background green color is the exact same color value (76, 206, 105) or #4CCE69 after converting to 8-bit or it wont work as transparency).

Then open and save it from MS Paint (this works with the paint version from XP and Windows 7, IDK about other versions)


I am running windows 10 and I cannot download GIMP due to the downloaded program being corrupted according to the many times I've tried doing so. I also have no safe way to download Photoshop and don't want to risk my laptop just to convert an image file.

Do you think you or someone who has access to these programs can fix the MSCC tileset and re-upload it here for me as well as anyone else who wishes to use it? it'd be greatly appreciated.


CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - FelixNemis - 29-May-2016

https://drive.google.com/open?id=0BysYsd5CLWbwM2dQcUJQYmtYYmc
There's the one I fixed (hit the download button at the top of the page)

BTW are you trying to download GIMP from somewhere other than gimp.org (that's the only place with official downloads)


CC2 is picky about tilesets (fixing "Save BMP" in editor with custom tilesets) - Flareon350 - 29-May-2016

Thanks!

No, I was trying to download GIMP on the gimp website. Every time I downloaded it, I couldn't install it because it would pop up that it's corrupted.