Text File: Difference between revisions
Content added Content deleted
(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: | 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" |
{| class="wikitable" |
||
! Offset !! |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || mLength || |
| 0x0 || 0x4 || uint32_t || mLength || Length of the string, excluding the null terminator || |
||
|- |
|- |
||
| 0x4 || 0x1 || char[ |
| 0x4 || 0x1 || char[1] || mText || The text content of the resource || |
||
|} |
|} |
Latest revision as of 03:40, 20 September 2023
TextFile | |
---|---|
Corrected bundle imports XML for VEH_PUSMC01_AT.BIN from Burnout 5 (2007-02-22 build). | |
Resource names | BundleImports |
Type ID | 0x3 |
Category | Generic |
Memory distribution |
Main Memory only |
Editor available? |
No |
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
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | mLength | Length of the string, excluding the null terminator | |
0x4 | 0x1 | char[1] | mText | The text content of the resource |