PAL (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "A '''.pal''' is a palette format used by the real-time strategy game [https://en.wikipedia.org/wiki/Dark_Reign:_The_Future_of_War Dark Reign]. Each of the game's terrains wil...") |
m |
||
| Line 1: | Line 1: | ||
A '''.pal''' is a palette format used by the real-time strategy game [https://en.wikipedia.org/wiki/Dark_Reign:_The_Future_of_War Dark Reign]. | A '''.pal''' is a palette format used by the real-time strategy game [https://en.wikipedia.org/wiki/Dark_Reign:_The_Future_of_War Dark Reign]. | ||
| − | Each of the game's terrains | + | Each of the game's terrains has an associated '''.pal''' file. Dark Reign comes with the following Terrains: |
* BARREN | * BARREN | ||
Revision as of 18:02, 11 January 2023
A .pal is a palette format used by the real-time strategy game Dark Reign.
Each of the game's terrains 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]
|