World Painter 2D

Revision as of 01:47, 14 September 2022 by Burninrubber0 (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

World painter 2D resources are large arrays of district indices representing certain aspects of the game. This includes districts themselves and ambiences.

The Districts World Painter 2D resource interpreted as an image.

Structures

Note: Waves begin with a Binary File resource.

Header

There does not appear to be a structure associated with World Painter 2D in available debugging symbols, but it does contain data that may be parsed as a header.

Offset Length Type Name Description Comments
0x0 0x2 uint16_t ? Width of the image in pixels
0x2 0x2 uint16_t ? Height of the image in pixels

Data

The header is immediately followed by data in the form of a grid of district indices. The width and height of this grid is determined by the header. All known resources are 384x256.