Environment Track Data: Difference between revisions
Content added Content deleted
AcuteSyntax (talk | contribs) (Created page with "The '''Environment Slice''' is a container format used to store environment lighting/weather values and skybox textures. It uses the filename <code>ENVIRO.DAT</code>. = Layou...") |
AcuteSyntax (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The '''Environment Slice''' |
The '''Environment Slice''' container format is used to store environment lighting/weather values and skybox textures. It uses the filename <code>ENVIRO.DAT</code>. |
||
= Layout = |
= Layout = |
Revision as of 21:38, 6 January 2021
The Environment Slice container format is used to store environment lighting/weather values and skybox textures. It uses the filename ENVIRO.DAT
.
Layout
PSP (Revision 1)
Note that this layout applies specifically to Burnout Legends. Burnout Dominator(PSP) uses a slightly updated revision of this format, and as such its layout is similar but not identical to this one.
Offset | Length | Type | Description | Details |
---|---|---|---|---|
0x00 | 0x98 | Floating points/integers | Unused data | |
0x98 | 0x14 | Unsigned integer (32) | Texture pointer table | |
Fog settings | ||||
0xB0 | 0x01 | Unsigned integer (8) | Enable/disable fog | 0 = disabled, 1 = enabled |
0xB4 | 0x04 | Floating-point number | Fog start distance | |
0xB8 | 0x04 | Floating-point number | Fog end distance | |
0xC0 | 0x04 | Floating-point number | Fog hue (red) | |
0xC4 | 0x04 | Floating-point number | Fog hue (green) | |
0xC8 | 0x04 | Floating-point number | Fog hue (blue) | |
Lighting settings | ||||
0xD0 | 0x04 | Floating-point number | Light vector X-position | |
0xD4 | 0x04 | Floating-point number | Light vector Y-position | |
0xD8 | 0x04 | Floating-point number | Light vector Z-position | |
0xE0 | 0x04 | Floating-point number | Ambient lighting hue (red) | |
0xE4 | 0x04 | Floating-point number | Ambient lighting hue (green) | |
0xE8 | 0x04 | Floating-point number | Ambient lighting hue (blue) | |
0xF0 | 0x04 | Floating-point number | Diffuse lighting hue (red) | |
0xF4 | 0x04 | Floating-point number | Diffuse lighting hue (green) | |
0xF8 | 0x04 | Floating-point number | Diffuse lighting hue (blue) | |
0x100 | 0x04 | Floating-point number | Specular lighting hue (red) | |
0x104 | 0x04 | Floating-point number | Specular lighting hue (green) | |
0x108 | 0x04 | Floating-point number | Specular lighting hue (blue) | |
0x110 | 0x04 | Floating-point number | Ambient lighting hue (red, tunnel) | All values from here to 0x138 (as well as 0x144's value) are only applied to the vehicle when it has entered a tunnel or overpass. |
0x114 | 0x04 | Floating-point number | Ambient lighting hue (green, tunnel) | |
0x118 | 0x04 | Floating-point number | Ambient lighting hue (blue, tunnel) | |
0x120 | 0x04 | Floating-point number | Diffuse lighting hue (red, tunnel) | |
0x124 | 0x04 | Floating-point number | Diffuse lighting hue (green, tunnel) | |
0x128 | 0x04 | Floating-point number | Diffuse lighting hue (blue, tunnel) | |
0x130 | 0x04 | Floating-point number | Specular lighting hue (red, tunnel) | |
0x134 | 0x04 | Floating-point number | Specular lighting hue (green, tunnel) | |
0x138 | 0x04 | Floating-point number | Specular lighting hue (blue, tunnel) | |
0x140 | 0x04 | Floating-point number | Specular lighting coefficient | |
0x144 | 0x04 | Floating-point number | Specular lighting coefficient (tunnel) | |
Bloom settings | ||||
0x148 | 0x01 | Unsigned integer (8) | Enable/disable bloom | |
0x150 | 0x04 | Unsigned integer (32) | Bloom additive amount | |
0x154 | 0x04 | Unsigned integer (32) | Bloom blur factor | |
Sun settings | ||||
0x158 | 0x04 | Unsigned integer (8) | Enable/disable sun | |
0x15C | 0x04 | Unsigned integer (32) | Sun size | |
0x160 | 0x04 | Floating-point number | Sun X-scale | |
0x160 | 0x04 | Floating-point number | Sun Y-scale | |
0x164 | 0x04 | Unsigned integer (32) | Number of sun copies | |
0x170 | 0x04 | Floating-point number | Sun color (red) | |
0x174 | 0x04 | Floating-point number | Sun color (green) | |
0x178 | 0x04 | Floating-point number | Sun color (blue) | |
0x180 | 0x04 | Floating-point number | Sun core color (red) | |
0x184 | 0x04 | Floating-point number | Sun core color (green) | |
0x188 | 0x04 | Floating-point number | Sun core color (blue) | |
0x190 | 0x04 | Floating-point number | Sun X Vector | |
0x194 | 0x04 | Floating-point number | Sun Y Vector | |
0x198 | 0x04 | Floating-point number | Sun Z Vector | |
0x1A0 | 0x01 | Unsigned integer (8) | Enable/disable sun corona | |
0x1A4 | 0x04 | Floating-point number | Sun corona X size | |
0x1A8 | 0x04 | Floating-point number | Sun corona Y size | |
0x1B0 | 0x04 | Floating-point number | Sun corona color (red) | |
0x1B4 | 0x04 | Floating-point number | Sun corona color (green) | |
0x1B8 | 0x04 | Floating-point number | Sun corona color (blue) | |
0x1C0 | 0x01 | Unsigned integer (8) | Enable/disable sun blur occlusion | |
0x1C4 | 0x04 | Floating-point number | Sun blur offset |