World Painter 2D

From Burnout Wiki
aka World Painter 2D

Districts from v1.9 represented as an image.
Resource names Districts
Type ID 0x30
Category Generic
Main Memory only
Imports Unknown
Imported by Unknown

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


Note: World painter 2D resources begin with a Binary File resource.

There is not a structure directly associated with World Painter 2D. It is treated like a regular binary resource and the data of that resource is instead parsed as a part of the CgsWorld::WorldMap2D construction.


Offset Length Type Name Description Comments
0x0 0x2 uint16_t muWidth Width of the map
0x2 0x2 uint16_t muHeight Height of the map

These fields are used in combination with hardcoded world origin and size values for scaling purposes.


The header is immediately followed by data in the form of a grid of single-byte district indices. The width and height of this grid is determined by the header. In version 1.0 of Burnout Paradise, the grid is 256x256, while all subsequent versions are 384x256.

These values correspond to BrnWorld::EDistrict, except the invalid district is denoted as 0xFF (255) instead.