The Blues Brothers Sprite Format

From ModdingWiki
Jump to: navigation, search

This file format is used by The Blues Brothers to store its sprites and foreground tiles, which have at most 16 colors.

File format

A file in this format starts with the number of sprites in the file:

Data type Description
UINT16LE count Number of sprites in the file

It's followed by count records in the following format:

Data type Description
UINT16LE height Height of the sprite in pixels
UINT16LE width Width of the sprite in pixels
BYTE[height * (width / 8) * 4] Sprite data in graphic-planar EGA format with four planes

Credits

This file format was reverse engineered by Frenkel. 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!)

Personal tools
programming