PAL File Format

This document describes the format of PAL files. Information about them was obtained by analyzing relevant functions in Mapper2.exe and Fallout2.exe.

PAL files contains a palette used when opening FRM files. It has a table transforming RGB values into an index in the palette used for extracting fonts(?), and also has several tables at the end whose use is not clear.

'Palette' and 'Table for converting RGB values => to index in the palette' are required elements in PAL files, the others are optional. The purpose of 'Additional tables' at the end is not clear. When loading PAL files, if these tables don't exist Fallout will generate them itself. Also note that the values in the palette taken from FRM files are subject to certain changes.

See also: Pal_files Color.pal contents. Pal_animations

Original document at teamx.ru (in russian)