PAL (Dark Reign)

From Just Solve the File Format Problem
Revision as of 18:02, 11 January 2023 by Foxtrot (Talk | contribs)

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

A .pal is a palette format used by the real-time strategy game Dark Reign.

Each of the game's terrains will has an associated .pal file. Dark Reign comes with the following Terrains:

  • BARREN
  • SNOW
  • JUNGLE
  • ASTEROID1
  • AUSTRALIA1
  • VOLCANIC1
  • ALIEN2
  1. These terrains were add-ons released by the developer, Auran, after the game launch.
  2. This terrain was included in the expansion Dark Reign: Rise of the Shadowhand but also released separately after the game launch.

Structure

Variable Type Notes
Signature "PALS"
Version 0x0102
Palette bytes[768] Stored as RGB planes
Dimmed palette bytes[768] Stored as RGB planes. The purpose of this palette is unknown, but assumed to be the dimmed palette that is used when the game is running but left idle.
Unknown chunks bytes[32768]
Unknown data All remaining bytes up until the shading tables (last 147,456 bytes of the file)
Shading tables bytes[147456]
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox