Environment Track Data: Difference between revisions

m
no edit summary
m (specify that xbox uses version 0x02 as well)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1:
''Not to be confused with [[Burnout Game Data (Takedown-Dominator)#Environment Slice|Environment Slice]], a subtype of [[Burnout Game Data (Takedown-Dominator)|Burnout Game Data]].''
{{todo|<small>Document version 0x04, used by Dominator <sup>(PSP)</sup>, which is slightly different to version 0x03</small>}}
 
{{todo|<small>Document version 0x04.</small>}}
This format is used to store lighting/weather values and skybox textures for a given track environment. It uses the filename <code>ENVIRO.DAT</code>.
 
ThisThe '''Environment Data''' format is used to store lighting/weather values and skybox textures for a given track environment. It uses the filename <code>ENVIRO.DAT</code>.
= Layout =
 
=== Version 0x02 (PlayStation 2, Xbox) ===
= Versions =
{| class="wikitable"
! rowspan="2" |
! colspan="53" | Fog settingsVersion
|-
! 0x02 || 0x03 || 0x04
|-
| Date || Jul 2004 || Jun 2005 || Jan 2007
|-
| Games || Takedown<br>Revenge<br>Dominator<sup>(PS2)</sup> || Legends || Dominator<sup>(PSP)</sup>
|-}
 
= Layout (Version 0x02) =
{|class="wikitable"
|-
Line 13 ⟶ 26:
! Notes
|-
!| colspan="5"0x00 || Minimum environment info || Environment Info || ||
|-
| 0x000x30 || FogMaximum colorenvironment info || CGtRGBEnvironment Info || ||
|-
| 0x100x60 || FogSpecular distancecolor || float[[Common Data Types#GtRGB|GtRGB]] || ||
|-
| 0x140x70 || WorldSun fog intensitycolor || floatGtRGB || ||
|-
| 0x180x80 || SkySun fog intensityposition || float[[Common Data Types#GtV3d|GtV3d]] || ||
|-
| 0x1C0x90 || SpecularSun lightingcorona intensityradius || float || ||
|-
| 0x200x94 || SunIs coronasun intensitymoon? || floatbool || ||
|-
| 0x240x98 || PrecipitationGradient texture || floatGtTexture* || ||
|-
| 0x280x9C || StarCloud intensitytexture || floatGtTexture* || ||
|-
| 0x2C0xA0 || OverallCloud brightnessenvironment map texture || floatGtTexture* || ||
|-
| 0x800xA4 || Sun/moon positiontexture || Vector3GtTexture* || ||
! colspan="5" | Environment Data
|-
| 0x600xA8 || SpecularVersion colornumber || CGtRGBuint || 0x02 ||
|-
| 0x700xAC || SunFile colorsize (bytes) || CGtRGBuint || || Is unused in Revenge/Dominator.
|}
 
==== Environment Info ====
{|class="wikitable"
|-
! Offset
| 0x80 || Sun position || Vector3 || ||
! Name
! Type
! Value
! Notes
|-
| 0x900x00 || SunFog corona radiuscolor || floatGtRGB || ||
|-
| 0x940x10 || IsFog sun moon?distance || boolfloat || ||
|-
| 0x980x14 || GradientWorld texturefog intensity || CGtTexture*float || ||
|-
| 0x9C0x18 || CloudSky texturefog intensity || CGtTexture*float || ||
|-
| 0xA00x1C || CloudSpecular environmentlighting map textureintensity || CGtTexture*float || ||
|-
| 0xA40x20 || Sun/moon texturecorona intensity || CGtTexture*float || ||
|-
| 0xA80x24 || Version numberPrecipitation || uintfloat || 0x02 ||
|-
| 0xAC0x28 || FileStar size (bytes)intensity || uintfloat || ||
|-
| 0x2C || Overall brightness || float || ||
|-
| 0xAC || File size (bytes) || uint || ||
|}
 
=== Layout (Version 0x03 (PlayStation Portable, Legends) ===
{|class="wikitable"
|-
Line 69 ⟶ 93:
| 0x00 || Unused data || float<br>int || ||
|-
| 0x98 || Texture offsets || [[Common_Data_Types#PSP|Texture]]GtTexture*[6] || ||
|-
! colspan="5" | Fog settings
|-
| 0xB0 || Draw fog || bool || ||
Line 79 ⟶ 101:
| 0xB8 || Fog end distance || float || ||
|-
| 0xC0 || Fog color || CGtRGBGtRGB || ||
|-
| 0xD0 || Light position || GtV3d || ||
! colspan="5" | Vehicle lighting settings
|-
| 0xD00xE0 || LightAmbient positionlighting color || Vector3GtRGB || ||
|-
| 0xE00xF0 || AmbientDiffuse lighting color || CGtRGBGtRGB || ||
|-
| 0xF00x100 || DiffuseSpecular lighting color || CGtRGBGtRGB || ||
|-
| 0x110 || Ambient lighting color (tunnel) || CGtRGBGtRGB || || All values from here to 0x138</tt> (as well as 0x144</tt>'s value) are<br> only applied to the vehicle when it has entered a tunnel or overpass.
| 0x100 || Specular lighting color || CGtRGB || ||
|-
| 0x1000x120 || SpecularDiffuse lighting color (tunnel) || CGtRGBGtRGB || ||
| 0x110 || Ambient lighting color (tunnel) || CGtRGB || || All values from here to 0x138</tt> (as well as 0x144</tt>'s value) are<br> only applied to the vehicle when it has entered a tunnel or overpass.
|-
| 0x1200x130 || DiffuseSpecular lighting color (tunnel) || CGtRGBGtRGB || ||
|-
| 0x130 || Specular lighting color (tunnel) || CGtRGB || ||
|-
| 0x140 || Specular lighting coefficient || float || || Intensity of the specular lighting applied to the vehicle.
|-
| 0x144 || Specular lighting coefficient (tunnel) || float || ||
|-
! colspan="5" | Bloom settings
|-
| 0x148 || Draw bloom || bool || 0x01 ||
|-
| 0x14C || Bloom intensity || int || ||
|-
| 0x150 || Bloom additive amount || int32 || ||
|-
| 0x154 || Bloom blur factor || float || ||
|-
! colspan="5" | Sun settings
|-
| 0x158 || Draw sun || bool || 0x01 ||
Line 121 ⟶ 139:
| 0x168 || Number of sun copies || int || ||
|-
| 0x170 || Sun color || CGtRGBGtRGB || ||
|-
| 0x180 || Sun core color || CGtRGBGtRGB || ||
|-
| 0x190 || Sun position || Vector3GtV3d || ||
|-
| 0x1A0 || Draw sun corona || bool || 0x01 ||
Line 133 ⟶ 151:
| 0x1A8 || Sun corona Y-size || float || ||
|-
| 0x1B0 || Sun corona color || CGtRGBGtRGB || ||
|-
| 0x1C0 || Enable/disable sun blur occlusion || bool || ||
Line 143 ⟶ 161:
| 0x1CC || File size (bytes) || uint || ||
|}
 
 
[[Category:Formats_(Takedown-Dominator)]]