(09-05-2014, 10:14 AM)Raccoon Sam Wrote: I've never played the game so I don't know too much about it, but with this method, someone will be able to create a program that takes decompressed SGM as input and spews out full tilesets of the area in question.
*rubs hands together*
You may have already noticed, but I love making programs that do byte-level stuff. It's just so fun and interesting to take binary data and turn it into proper, usable results. Not to mention it's good experience and practice.
I'll get to work on this!
EDIT: I'm looking at your explanation more carefully now and I get pretty much all of it. I want to make sure of something though; at 0x1FC7F there are $200 bytes of palette data, BGR555 means 2 bytes per colour, and hence $100 colours total. I assume that there are $10 palettes, with $10 colours each (because $10 x $10 = $100), and that the 4-bit value in those two-byte tile values refers to one of those palettes, and that each 4bpp pixel refers to a colour in that palette.
Is this correct? It probably is but I figured I'd check I'm seeing this right.