VGFM Raw Tileset Format
The VGFM Raw Tileset Format is used by Vinyl Goddess From Mars to store various UI graphics.
The format is similar to VGFM Tileset Format except the tile data here is in standard VGA layout rather than in an odd coding system, and each tile can be a different size.
There is no signature, but careful parsing of the fields to ensure they have expected values can allow files to be detected. There is no data trailing the pixelData field, so if this field ends right at the end of the file, it is highly probable the file is in this format.
|UINT16LE||count||Number of tiles in the tileset|
|TILE[count]||tile||Variable length data for all tiles (see below)|
The TILE structure is as follows:
|UINT16LE||lenTile||Number of bytes in the tile data (not including this field)|
|UINT16LE||width||Width of the image, in pixels|
|UINT16LE||height||Height of the image, in pixels|
|UINT8[lenTile]||pixels||Pixel data, one byte per pixel|
This file format was reverse engineered by Malvineous. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)