Raptor Tileset Format
The Raptor Tileset Format is the graphics format used by Raptor for storing the tiles used to create the maps in the game.
These files appear in the File Allocation Table of the .GLB archives with the name STARTG?TILES and no extension. No length is specified in the FAT, but a corresponding 0-byte ENDG?TILES indicates where the tile section ends.
Each tile within the file is 1044 bytes in size, with the following structure:
|UINT32LE||unknown1||? always 1?|
|UINT32LE||unknown2||? always 0?|
|UINT32LE||unknown3||? always 1?|
|UINT32LE||width||Width of the tile, in pixels|
|UINT32LE||height||Height of the tile, in pixels|
|UINT8||data||8bpp raw VGA data, one byte per pixel;|
Each tile is 32 x 32 bytes which map directly into the VGA palette file, PALETTE.DAT. There are 672 tiles in the first tile section, STARTG1TILES.