Text File: Difference between revisions

m
no edit summary
(Created page with "{| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || uint32_t || mLength || Num characters || || |- | 0x4 || 0x1 || char[mLength] || mText || || Null-terminated for redundancy? Null char not included in Length || |}")
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1:
{{ParadiseResourceTypeInfobox
| name = TextFile
| resourcenames = BundleImports
| example = [[File:Paradise TextFile Example.png|frameless|400px]]<br />Corrected bundle imports XML for VEH_PUSMC01_AT.BIN<br />from [[Burnout 5 (2007-02-22 build)]].
| id = 0x3
| category = Generic
| memdist = Main Memory only
}}
 
In Burnout Paradise, the TextFile resource type's only known use is for storing Bundle debug data, referred to as Bundle imports, in the original Bundle format. It is not used in the retail game.
 
In early builds, the XML is almost always malformed, either by using an end tag as a start tag or, as is the case with certain ICE bundles, having the characters written out of order.
 
= Structures =
=== CgsResource::TextFileResource ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || uint32_t || mLength || NumLength charactersof ||the string, excluding the null terminator ||
|-
| 0x4 || 0x1 || char[mLength1] || mText || The || Null-terminated for redundancy? Null chartext notcontent includedof inthe Lengthresource ||
|}