DAT (Duke Nukem 3D)

From Just Solve the File Format Problem
Revision as of 13:20, 11 November 2022 by Foxtrot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The DAT format is a palette format used by Build Engine games.

The format contains three chunks:

  • A palette of 256 colors, based on the VGA 262,144 color palette. Colors are stored as a tuple of 3 bytes in sequence, comprising the red, blue and green component. Each component's value is in the range of 0-63.
  • Shading Lookup Table which is used to reference the colors in the palette at different brightnesses, from full-bright to black.
  • Translucent Lookup Table, which given any two colors, provides reference to the closest matching color in the palette representing the blend of those two colors.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox