PAL (Dark Reign)
From Just Solve the File Format Problem
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
- These terrains were add-ons released by the developer, Auran, after the game launch.
- 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]
|