Texture Name Map: Difference between revisions
Content added Content deleted
No edit summary |
(Added infobox and normalized some content.) |
||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
| name = TextureNameMap |
|||
| resourcenames = texture_name_map |
|||
| id = 0x1000B |
|||
| category = Game-specific<br />(Burnout Paradise) |
|||
| memdist = Main Memory only |
|||
}} |
|||
The texture name map resource type is used in the particles bundle to store relevant texture name strings. |
The texture name map resource type is used in the particles bundle to store relevant texture name strings. |
||
Line 5: | Line 13: | ||
==== 32-bit ==== |
==== 32-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
Line 15: | Line 22: | ||
==== 64-bit ==== |
==== 64-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
Line 22: | Line 28: | ||
| 0x8 || 0x4 || uint32_t || muEntryCount || || |
| 0x8 || 0x4 || uint32_t || muEntryCount || || |
||
|- |
|- |
||
| 0xC || 0x4 || || || |
| 0xC || 0x4 || || || Padding || |
||
|} |
|} |
||
Line 28: | Line 34: | ||
==== 32-bit ==== |
==== 32-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
Line 38: | Line 43: | ||
==== 64-bit ==== |
==== 64-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || muHashedLionTextureName || || Lowercased 32-bit FNV-1a hash.<br>Matches up with mpTextureName in [[Particle Description#cParticleMaterial|cParticleMaterial]]. |
| 0x0 || 0x4 || uint32_t || muHashedLionTextureName || || Lowercased 32-bit FNV-1a hash.<br>Matches up with mpTextureName in [[Particle Description#cParticleMaterial|cParticleMaterial]]. |
||
|- |
|- |
||
| 0x4 || 0x4 || || || |
| 0x4 || 0x4 || || || Padding || |
||
|- |
|- |
||
| 0x8 || 0x8 || char* || mpGDBTextureName || || |
| 0x8 || 0x8 || char* || mpGDBTextureName || || |
Latest revision as of 09:07, 4 October 2023
TextureNameMap | |
---|---|
Resource names | texture_name_map |
Type ID | 0x1000B |
Category | Game-specific (Burnout Paradise) |
Memory distribution |
Main Memory only |
Editor available? |
No |
The texture name map resource type is used in the particles bundle to store relevant texture name strings.
Structures
BrnParticle::TextureNameMap
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | Entry* | mpEntries | ||
0x4 | 0x4 | uint32_t | muEntryCount |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | Entry* | mpEntries | ||
0x8 | 0x4 | uint32_t | muEntryCount | ||
0xC | 0x4 | Padding |
BrnParticle::TextureNameMap::Entry
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muHashedLionTextureName | Lowercased 32-bit FNV-1a hash. Matches up with mpTextureName in cParticleMaterial. | |
0x4 | 0x4 | char* | mpGDBTextureName |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muHashedLionTextureName | Lowercased 32-bit FNV-1a hash. Matches up with mpTextureName in cParticleMaterial. | |
0x4 | 0x4 | Padding | |||
0x8 | 0x8 | char* | mpGDBTextureName |