LUA List

From Burnout Wiki
Revision as of 06:32, 6 April 2022 by Derneuere (talk | contribs) (Created page with "=== Lua List === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || int32_t || || Version number || 1 || |- | 0x4 || 0x4 || || || padding || || |- | 0x8 || 0x8 || CgsID || || List ID || || Encoded |- | 0x10 || 0x4 || Unk0 * || || Script list || Unk0 format || |- | 0x14 || 0x4 || char[32] * * || || Types || || |- | 0x18 || 0x4 || char[32] * * || || Variables || || |- | 0x1C || 0x4 || uin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua List

Offset Size Type Name Description More Information Comments
0x0 0x4 int32_t Version number 1
0x4 0x4 padding
0x8 0x8 CgsID List ID Encoded
0x10 0x4 Unk0 * Script list Unk0 format
0x14 0x4 char[32] * * Types
0x18 0x4 char[32] * * Variables
0x1C 0x4 uint32_t Num scripts
0x20 0x4 uint32_t Data length Not including padding to end
0x24 0x80 char[128] List title
0xA4 0x1 uint8_t Num types
0xA5 0x1 uint8_t Num variables

Unk0

Offset Size Type Name Description More Information Comments
0x0 0x8 CgsID Script ID Encoded
0x8 0x80 char[128] Name Non-zeroed padding in all strings
0x88 0x80 char[128] Goal
0x108 0x80 char[128] Description
0x188 0x80 char[128] ? Empty
0x208 0x4 uint32_t ? Only used in PASSTHEPAD
0x20C 0x4 uint32_t ? 1 if Stunt type, else 0
0x210 0x4 uint32_t Type 0x1 (Bit 0) = Stunt
0x2 (Bit 1) = Skill
0x4 (Bit 2) = Speed
0x214 0x4 uint32_t Variables 0x1 (Bit 0) = ACCELERATOR_LOCKED
0x2 (Bit 1) = BOOST_LOCKED
0x4 (Bit 2) = DO_NOT_CRASH
0x8 (Bit 3) = DO_NOT_TOUCH_A_WALL
0x10 (Bit 4) = REVERSE_STEERING
0x20 (Bit 5) = NO_BRAKES
0x218 0x8 padding

PS4

LuaList

Offset Size Type Name Description More Information Comments
0x0 0x4 int32_t Version number 1
0x4 0x4 padding
0x8 0x8 CgsID List ID Encoded
0x10 0x8 Unk0 * Script list Unk0 format
0x18 0x8 char[32] * * Types
0x20 0x8 char[32] * * Variables
0x28 0x4 uint32_t Num scripts
0x2C 0x4 uint32_t Data length Not including padding to end
0x30 0x80 char[128] List title
0xB0 0x1 uint8_t Num types
0xB1 0x1 uint8_t Num variables

Unk0

Offset Size Type Name Description More Information Comments
0x0 0x8 CgsID Script ID Encoded
0x8 0x80 char[128] Name Non-zeroed padding in all strings
0x88 0x80 char[128] Goal
0x108 0x80 char[128] Description
0x188 0x80 char[128] ? Empty
0x208 0x4 uint32_t ? Only used in PASSTHEPAD
0x20C 0x4 uint32_t ? 1 if Stunt type, else 0
0x210 0x4 uint32_t Type 0x1 (Bit 0) = Stunt
0x2 (Bit 1) = Skill
0x4 (Bit 2) = Speed
0x214 0x4 uint32_t Variables 0x1 (Bit 0) = ACCELERATOR_LOCKED
0x2 (Bit 1) = BOOST_LOCKED
0x4 (Bit 2) = DO_NOT_CRASH
0x8 (Bit 3) = DO_NOT_TOUCH_A_WALL
0x10 (Bit 4) = REVERSE_STEERING
0x20 (Bit 5) = NO_BRAKES
0x218 0x8 padding