This document describes the format of the Wasteland 1 TITLE.PIC file.
It covers:
The generic vertical-XOR transform is documented separately:
TITLE.PIC contains a single static title image.
The image uses packed 4-bit pixels:
288 pixels128 pixels144 bytes144 * 128 = 18432 bytes (0x4800)TITLE.PIC has no container structure.
There is:
The entire file is the image payload.
For the Wasteland 1 title image, the file size is therefore exactly 18432 bytes.
The file content is a single packed image buffer stored in row-major order.
Each byte contains two 4-bit pixels:
However, the stored bytes are not yet the final pixel values. The complete 18432-byte payload is vertical-XOR encoded with a row stride of 144 bytes.
After vertical-XOR decoding, the result is the final 288x128 title image.
To decode TITLE.PIC:
18432 bytes.144 bytes.288x128 4-bit image.In pseudocode:
decoded = decodeVxor(fileBytes, 144)
Useful consistency checks when implementing a reader:
18432 bytes144 bytes