Introduction
A .wal file is a wall texture of Quake II. It is an 8-bit palette image
stored with four mipmap levels. The file carries no palette of its own: a reader
applies the standard Quake II palette.
Structure
The header, miptex_t in the game’s source file qfiles.h,
holds a 32-byte name, the width and height, the offsets of the four mipmaps, the
32-byte name of the next frame in an animation chain, and three integers called flags,
contents and value. It is 100 bytes long.
Not described
Known, not yet covered
- Reference: this page is a summary; the flag and contents values, the palette and the variants used by other games are not yet described on this site.
- Viewer: the site has no viewer for WAL textures.
Links
Software
- wal-tools – command-line tools for WAL textures
Developers
- Pillow – imaging library with a WAL reader (Python)
Reference
- qfiles.h – header definitions in id Software’s Quake II source code