Introduction
In the game Quake, an .spr file is a sprite package: a set of flat bitmap
frames that make up one sprite. A frame can stand alone or belong to a group of frames.
The extension is also used by unrelated formats.
Structure
The file starts with a dsprite_t header, whose identifier is
IDSP and whose version is 1. It holds the sprite type, a bounding radius,
the width and height, the number of frames, a beam length and a synchronisation type.
The frames follow. Each frame has a header giving its origin, width and height, followed
by its bitmap. The DarkPlaces engine’s definitions also list version 2 for Half-Life
sprites, with a header of their own, and version 32.
Not described
Known, not yet covered
- Reference: this page is a summary; the frame group records, sprite types, palette and the variants of later games and engines are not yet described on this site.
- Viewer: the site has no viewer for Quake sprites.
Also used for
- Apple II sprites – One-colour sprite files of the Apple II.
Links
Reference
- spritegn.h – sprite file definitions in the source of the QuakeSpasm engine
- DarkPlaces spritegn.h – version numbers and structures of the DarkPlaces engine