Rangi42 / tilemap-studio

A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
https://hax.iimarckus.org/topic/7691/
Other
383 stars 30 forks source link

Sega Mega Drive support #14

Closed lab313ru closed 3 years ago

lab313ru commented 3 years ago

It would be great to support SMD palettes+tiles formats.

Rangi42 commented 3 years ago

Never heard of it, what's the format?

lab313ru commented 3 years ago

Palette is 00BBGGRR, where B, G and R are nibbles, so two bytes format per color. Image format is 4bpp, so every 4 bits are indices in a palette, one byte - two indices. And also 4 palettes at once can be loaded while a game executing.

lab313ru commented 3 years ago

https://segaretro.org/Sega_Mega_Drive/Palettes_and_CRAM

Rangi42 commented 3 years ago

That's a graphics format, not a tilemap format. You can use PNG or BMP images and convert them to 4bpp later.