Raptor Tileset Format

From ModdingWiki
Jump to navigation Jump to search
Raptor Tileset Format
Raptor Tileset Format.png
Format typeTileset
Max tile countFixed, varies
Tile names?No
Minimum tile size (pixels)32×32
Maximum tile size (pixels)32×32
Plane countUnknown
Plane arrangementUnknown
Transparent pixels?Unknown
Hitmap pixels?No
Supports sub-tilesets?No
Compressed tiles?No
Hidden data?No

The Raptor Tileset Format is the graphics format used by Raptor for storing the tiles used to create the maps in the game.

File format

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:

Data type Name Description
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[1024] 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.