Open laqieer opened 1 year ago
So it's basically a "GBA tiles + 4bpp palettes" file, but with the rows reversed in bottom-to-top order, and the width and height prepended as bytes (so it can be max 256x256)?
Can you link to a couple example tilemap files and their corresponding tileset graphics?
Yes.
Here is tileset, tilemap and palette:
bg_00.zip
Here is what it looks in the game:
Here is the script to make the image above:
https://github.com/laqieer/fireemblem8u/blob/b31c0498b5a53a6fc4d01e68692cc915eb18992b/scripts/tool.py#L203
Here is its C# implementation for reference:
https://github.com/laqieer/GBA_Graphics_Editor/blob/1058ec52bc51cdc2ee2380c66e3c129b2e413870/Program.cs#L341
Thanks! When I do implement it, this is how that one would look:
project link Data format: GBA 4bpp