Game Data/Burnout Revenge
Structures
CB4GameDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwUInt32 | muVersionNumber | Game data format version | 17 |
0x4 | 0x4 | Padding | |||
0x8 | 0x640 | GtID[200] | maStageDataIDs | Stage IDs | |
0x648 | 0x320 | RwInt32[200] | manStageDataOffsets | Stage data | See CB4GameStageDataStruct |
0x968 | 0x4 | RwInt32 | mnNumStages | Number of stages | |
0x96C | 0x4 | RwInt32 | mnSingleRaceDataOffset | Single race data | See CB4SingleRaceDataStruct |
0x970 | 0x4 | RwInt32 | mnTrackDataOffset | Track data | See CB4TrackDataStruct |
0x974 | 0x4 | RwInt32 | mnTrafficDataOffset | Traffic data | See CB4TrafficDataStruct |
0x978 | 0x4 | RwInt32 | mnTrafficLanesDataOffset | Traffic lanes data | See CB4TrafficLanesStruct |
0x97C | 0x4 | RwInt32 | mnAILanesDataOffset | AI lanes data | See CB4AILanesDataStruct |
0x980 | 0x4 | RwInt32 | mnCameraDataOffset | Camera data | See CB4CameraMovie |
0x984 | 0x4 | RwInt32 | mnDetourDataOffset | Detour data | See CB4DetourListStruct |
CB4GameStageDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x390 | CB4AIDriverStruct[6] | maDrivers | Drivers | |
0x390 | 0x8 | GtID | mTrackID | Track ID | |
0x398 | 0x8 | GtID | mStageID | Stage ID | |
0x3A0 | 0x4 | RwReal | mrGoldThreshold | Gold medal threshold | |
0x3A4 | 0x4 | RwReal | mrSilverThreshold | Silver medal threshold | |
0x3A8 | 0x4 | RwReal | mrBronzeThreshold | Bronze medal threshold | |
0x3AC | 0x4 | RwReal | mrTimeLimit | Time limit | |
0x3B0 | 0x4 | RwInt32 | mnNumDrivers | Number of drivers | Always 6 |
0x3B4 | 0x4 | RwInt32 | mnNumLaps | Number of laps | |
0x3B8 | 0x4 | RwInt32 | mnTrackDataSetSize | Track data size | |
0x3BC | 0x4 | RwInt32 | mnTrackDataSetOffset | Track data | See CB4TrackDataStruct |
0x3C0 | 0x4 | RwInt32 | mnTrafficDataSetSize | Traffic data size | |
0x3C4 | 0x4 | RwInt32 | mnTrafficDataSetOffset | Traffic data | See CB4TrafficDataStruct |
0x3C8 | 0x4 | RwInt32 | mnTrafficLanesSetSize | Traffic lanes size | |
0x3CC | 0x4 | RwInt32 | mnTrafficLanesSetOffset | Traffic lanes | See CB4TrafficLanesStruct |
0x3D0 | 0x4 | RwInt32 | mnAILanesSetSize | AI lanes size | |
0x3D4 | 0x4 | RwInt32 | mnAILanesSetOffset | AI lanes | See CB4AILanesDataStruct |
0x3D8 | 0x4 | RwInt32 | mnCameraDataSetSize | Camera data size | |
0x3DC | 0x4 | RwInt32 | mnCameraDataSetOffset | Camera data | See CB4CameraMovie |
0x3E0 | 0x1 | RwUInt8 | mu8HardStart | Hard start | |
0x3E1 | 0x1 | RwInt8 | mn8CrashGolfPar | Crash golf par | |
0x3E2 | 0x2 | RwUInt8[2] | mau8Pad | Padding | |
0x3E4 | 0x4 | RwInt32 | mnCrashGolfTarget | Crash golf target |
CB4AIDriverStruct
To do: List flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | GtID | mVehicleClass | Vehicle class ID | |
0x8 | 0x8 | GtID | mVehcileID | Vehicle ID | |
0x10 | 0x40 | RwReal[16] | marMinSplitValues | Minimum split values | |
0x50 | 0x40 | RwReal[16] | marMaxSplitValues | Maximum split values | |
0x90 | 0x1 | RwUInt8 | mu8Aggression | Aggression | |
0x91 | 0x1 | RwUInt8 | mu8AggressionMax | Maximum aggression | |
0x92 | 0x1 | RwUInt8 | mu8AggressionDelta | Delta aggression | |
0x93 | 0x1 | RwUInt8 | mu8CatchupTailoff | Catchup tailoff | |
0x94 | 0x1 | RwInt8 | mn8VehicleColour | Vehicle color | |
0x95 | 0x1 | RwInt8 | mn8TakedownDifficulty | Takedown difficulty | |
0x96 | 0x1 | RwInt8 | mx8Flags | Flags | |
0x97 | 0x1 | RwUInt8 | mu8Difficulty | Difficulty |
CB4TrackDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x1E0 | CB4StartPositionStruct[6] | maStartPositionStructs | Start positions | |
0x1E0 | 0x80 | CB4PlanarTriggerStruct[4] | maStartLineStructs | Start lines | |
0x260 | 0x80 | CB4PlanarTriggerStruct[4] | maFinishLineStructs | Finish lines | |
0x2E0 | 0x180 | CB4PlanarTriggerStruct[12] | maSplitTimeCheckpointStructs | ||
0x460 | 0x10 | CB4CrashModeWindStruct[2] | maWind | ||
0x470 | 0x4 | CB4SignatureTakedownStruct* | mpSignatureTakedowns | Signature takedowns | |
0x474 | 0x4 | CB4CrashModePickupStruct* | mpCrashModePickups | Crash Mode pickups | |
0x478 | 0x4 | CB4CrashModeRampStruct* | mpCrashModeRamps | Crash Mode ramps | |
0x47C | 0x4 | RwUInt32 | muVersionNumber | Version number | 8 |
0x480 | 0x8 | RwInt32[2] | manIntroSequences | Intro sequences | |
0x488 | 0x4 | RwInt32 | mnNumStartLines | Number of start lines | |
0x48C | 0x4 | RwInt32 | mnNumFinishLines | Number of finish line | |
0x490 | 0x4 | RwInt32 | mnNumSplitTimeCheckpoints | Number of split time checkpoints | |
0x494 | 0x4 | RwInt32 | mnNumSignatureTakedowns | Number of Signature Takedowns | |
0x498 | 0x4 | RwInt32 | mnNumCrashModePickups | Number of Crash Mode pickups | |
0x49C | 0x4 | RwInt32 | mnNumCrashModeRamps | Number of Crash Mode ramps |
CB4StartPositionStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | CGtMatrix3x4 | mMatrix | ||
0x40 | 0x4 | RwInt32 | mnStreamUnitIndex | ||
0x44 | 0x4 | RwInt32 | mnAILaneIndex | ||
0x48 | 0x4 | RwInt32 | mnAILaneSegmentIndex | ||
0x4C | 0x4 | RwInt32 | mnPad | Padding |
CB4PlanarTriggerStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | CGtSphere | mSphere | ||
0x10 | 0x10 | CGtV3d | mPlaneNormal |
CB4CrashModeWindStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32 | mnDirection | ||
0x4 | 0x4 | RwInt32 | mnSpeed |
CB4SignatureTakedownStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | CGtOrthogonalBox | mSigTDBox | Start and end coordinates of the zone into which a rival must be taken down | |
0x40 | 0x4 | EB4SignatureTakedownType | meType | ||
0x44 | 0xC | Padding |
CB4CrashModePickupStruct
To do: List types and flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | CGtV3d | mPosition | ||
0x10 | 0x1 | RwUInt8 | meType | ||
0x11 | 0x1 | RwUInt8 | mu8Flags | ||
0x12 | 0x2 | RwUInt8[2] | mau8Pad | Padding | |
0x14 | 0xC | Padding |
CB4CrashModeRampStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | CGtMatrix3x4 | mMatrix | ||
0x40 | 0x4 | ECrashModeRampType | meType | ||
0x44 | 0xC | Padding |
CB4TrafficDataStruct
To do: List flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | GtID | mHelicopterID | ||
0x8 | 0x8 | GtID | mLTrainID | ||
0x10 | 0x8 | GtID | mTramID | ||
0x18 | 0x8 | GtID | mMonoRailID | ||
0x20 | 0x8 | GtID | mPlaneID | ||
0x28 | 0x4 | RwUInt32 | mu32VersionNumber | 16 | |
0x2C | 0x4 | CB4StopJunctionStruct* | mpStopJunctions | ||
0x30 | 0x4 | RwInt32 | mnNumStopJunctions | ||
0x34 | 0x4 | CB4TrafficLightPositionStruct* | mpTrafficLights | ||
0x38 | 0x4 | RwInt32 | mnNumTrafficLights | ||
0x3C | 0x4 | CB4TrafficValvePositionStruct* | mpTrafficValves | ||
0x40 | 0x4 | RwInt32 | mnNumTrafficValves | ||
0x44 | 0x4 | CB4TrafficSplitterPositionStruct* | mpTrafficSplitters | ||
0x48 | 0x4 | RwInt32 | mnNumTrafficSplitters | ||
0x4C | 0x4 | CB4TriggerStruct* | mpTriggers | ||
0x50 | 0x4 | RwInt32 | mnNumTriggers | ||
0x54 | 0x4 | CB4StationaryTrafficStruct* | mpStationaryVehicles | ||
0x58 | 0x4 | RwInt32 | mnNumStationaryVehicles | ||
0x5C | 0x4 | CB4TrafficVehicleWeightStruct* | mpCarWeightings | ||
0x60 | 0x4 | RwInt32 | mnNumCarWeightings | ||
0x64 | 0x4 | RwInt32 | mnTotalCarWeighting | ||
0x68 | 0x4 | CB4TrafficVehicleWeightStruct* | mpVanWeightings | ||
0x6C | 0x4 | RwInt32 | mnNumVanWeightings | ||
0x70 | 0x4 | RwInt32 | mnTotalVanWeighting | ||
0x74 | 0x4 | CB4TrafficVehicleWeightStruct* | mpBusWeightings | ||
0x78 | 0x4 | RwInt32 | mnNumBusWeightings | ||
0x7C | 0x4 | RwInt32 | mnTotalBusWeighting | ||
0x80 | 0x4 | CB4TrafficVehicleWeightStruct* | mpLorryWeightings | ||
0x84 | 0x4 | RwInt32 | mnNumLorryWeightings | ||
0x88 | 0x4 | RwInt32 | mnTotalLorryWeighting | ||
0x8C | 0x4 | CB4TrafficVehicleWeightStruct* | mpArticCabWeightings | ||
0x90 | 0x4 | RwInt32 | mnNumArticCabWeightings | ||
0x94 | 0x4 | RwInt32 | mnTotalArticCabWeighting | ||
0x98 | 0x4 | CB4TrafficVehicleWeightStruct* | mpArticTrailerWeightings | ||
0x9C | 0x4 | RwInt32 | mnNumArticTrailerWeightings | ||
0xA0 | 0x4 | RwInt32 | mnTotalArticTrailerWeighting | ||
0xA4 | 0x4 | CB4CrashTrafficDestructorStruct* | mpCrashTrafficDestructors | ||
0xA8 | 0x4 | RwInt32 | mnNumCrashTrafficDestructors | ||
0xAC | 0x4 | CB4TrafficHullStruct* | mpTrafficHulls | ||
0xB0 | 0x4 | RwInt32 | mnNumTrafficHulls | ||
0xB4 | 0x4 | CB4TrafficLightCoronaStruct* | mpTrafficLightCoronas | ||
0xB8 | 0x4 | RwInt32 | mnNumTrafficLightCoronas | ||
0xBC | 0x1 | RwUInt8 | mx8Flags | ||
0xBD | 0x1 | RwUInt8 | mu8UsedSpecialVehicles | ||
0xBE | 0x1 | RwUInt8 | mu8NumSpecialVehicles | ||
0xBF | 0x1 | RwUInt8 | mu8Pad | Padding |
CB4StopJunctionStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x18 | RwInt32[6] | manLaneIndices | ||
0x18 | 0x10 | RwInt32[4] | manControlSectionStartNodes | ||
0x28 | 0x10 | RwInt32[4] | manControlSectionStopNodes | ||
0x38 | 0x18 | RwInt32[6] | manExclusionZoneEndNodes | ||
0x50 | 0x4 | RwInt32 | mnNumControlZones | ||
0x54 | 0x4 | RwInt32 | mnNumExclusionZoneLanes |
CB4TrafficLightPositionStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32* | mpnStartSegments | ||
0x4 | 0x4 | RwInt32* | mpnStopSegments | ||
0x8 | 0x4 | RwInt32* | mpnEndSegments | ||
0xC | 0x4 | RwInt32* | mpnLanesIndices | ||
0x10 | 0x4 | RwUInt8[4] | mau8CoronaIndices | ||
0x14 | 0x1 | RwUInt8 | mu8NumCoronas | ||
0x15 | 0x1 | RwUInt8 | mu8NumLanes | ||
0x16 | 0x2 | RwUInt8[2] | mau8Pad | Padding |
CB4TrafficValvePositionStruct
To do: List specials flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32* | mpnLanes | ||
0x4 | 0x4 | RwInt32* | mpnSegments | ||
0x8 | 0x4 | RwInt32 | mnNumLanes | ||
0xC | 0x1 | RwUInt8 | mx8IsAGenerator | ||
0xD | 0x1 | RwUInt8 | mx8Specials | ||
0xE | 0x2 | RwUInt8[2] | mau8Pad | Padding |
CB4TrafficSplitterPositionStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32 | mnLaneIndex | ||
0x4 | 0x4 | RwInt32 | mnSegmentIndex |
CB4TriggerStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4TrafficFillerStruct* | mpKillFillers | ||
0x4 | 0x4 | CB4TrafficValveLaneSpeedStruct* | mpValveLaneSpeeds | ||
0x8 | 0x4 | RwUInt8* | mpu8ValveSpeedChangeIndices | ||
0xC | 0x4 | RwUInt8* | mpu8ValveLaneSpeedChangeIndices | ||
0x10 | 0x4 | CB4TrafficValveLaneFlowStruct* | mpValveLaneFlows | ||
0x14 | 0x4 | RwUInt8* | mpu8ValveFlowChangeIndices | ||
0x18 | 0x4 | RwUInt8* | mpu8ValveLaneFlowChangeIndices | ||
0x1C | 0x4 | CB4FormationBehaviourStruct* | mpValveLaneFormations | ||
0x20 | 0x4 | RwUInt8* | mpu8ValveFormationsChangeIndices | ||
0x24 | 0x4 | RwUInt8* | mpu8ValveLaneFormationChangeIndices | ||
0x28 | 0x4 | CB4TrafficSplitterFlowStruct* | mpSplitterFlows | ||
0x2C | 0x4 | RwUInt8* | mpu8SplitterFlowChangeIndices | ||
0x30 | 0x4 | CB4TrafficLightTimingsStruct* | mpTrafficLightTimings | ||
0x34 | 0x4 | RwUInt8* | mpu8TrafficLightIndices | ||
0x38 | 0x4 | CB4CrashTrafficSequenceStruct* | mpCrashJunctionSequences | ||
0x3C | 0x4 | RwInt32 | mnNumCrashJunctionSequences | ||
0x40 | 0x4 | RwInt32 | mnNumValveSpeedChanges | ||
0x44 | 0x4 | RwInt32 | mnNumValveFlowChanges | ||
0x48 | 0x4 | RwInt32 | mnNumValveFormationChanges | ||
0x4C | 0x4 | RwReal | mrTriggerTime | ||
0x50 | 0x2 | RwUInt16 | mu16TriggerSlice | ||
0x52 | 0x1 | RwUInt8 | mu8TriggerLap | ||
0x53 | 0x1 | RwUInt8 | mu8DetourIndex | ||
0x54 | 0x1 | RwUInt8 | mu8IsDetourTrigger | ||
0x55 | 0x1 | RwUInt8 | mu8KillFillerCounts | ||
0x56 | 0x1 | RwUInt8 | mu8NumSplitterFlowChanges | ||
0x57 | 0x1 | RwUInt8 | mu8NumTrafficLightTimingChanges |
CB4TrafficFillerStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwInt16 | mu16StartSegmentIndex | ||
0x2 | 0x2 | RwInt16 | mu16EndSegmentIndex | ||
0x4 | 0x1 | RwUInt8 | mu8LaneIndex | ||
0x5 | 0x1 | RwUInt8 | mu8FillerType |
CB4TrafficValveLaneSpeedStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | marLaneSpeed |
CB4TrafficValveLaneFlowStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x1C | RwReal[7] | marFlowValues |
CB4FormationBehaviourStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal* | mprSameLaneDist | ||
0x4 | 0x4 | RwReal* | mprLeftLaneDist | ||
0x8 | 0x4 | RwReal* | mprRightLaneDist | ||
0xC | 0x4 | RwReal | mrMaxDist | ||
0x10 | 0x4 | RwInt32 | mnNumBehaviours |
CB4TrafficSplitterFlowStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x18 | RwInt32[6] | mnForwardFlowPercent | ||
0x18 | 0x18 | RwInt32[6] | mnLeftFlowPercent | ||
0x30 | 0x18 | RwInt32[6] | mnRightFlowPercent |
CB4TrafficLightTimingsStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrTimeToGreen | ||
0x4 | 0x4 | RwReal | mrRedTime | ||
0x8 | 0x4 | RwReal | mrGreenTime | ||
0xC | 0x4 | RwReal | mrOrangeTime |
CB4CrashTrafficSequenceStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4CrashTrafficVehicleStruct* | mpVehicles | ||
0x4 | 0x4 | RwReal | mrGenerationDistance | ||
0x8 | 0x1 | RwUInt8 | mu8NumVehicles | ||
0x9 | 0x1 | RwUInt8 | mu8NumRolledOutVehicles | ||
0xA | 0x1 | RwUInt8 | mu8ValveIndex | ||
0xB | 0x1 | RwUInt8 | mu8ValveLaneIndex |
CB4CrashTrafficVehicleStruct
To do: List type flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | GtID | mVehicleType | ||
0x8 | 0x8 | GtID | mTrailerType | ||
0x10 | 0x4 | RwReal | mrGenerationDistance | ||
0x14 | 0x4 | RwReal | mrGenerationTime | ||
0x18 | 0x1 | RwUInt8 | mu8VehicleClass | ||
0x19 | 0x1 | RwUInt8 | mu8VehicleColour | ||
0x1A | 0x1 | RwUInt8 | mu8TrailerColour | ||
0x1B | 0x1 | RwUInt8 | mx8TypeFlags | ||
0x1C | 0x4 | Padding |
CB4StationaryTrafficStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | CGtMatrix3x4 | mMatrix | ||
0x40 | 0x4 | ETrafficVehicleCategories | meClass | ||
0x44 | 0x4 | RwBool | mbIsTargetVehicle | ||
0x48 | 0x8 | Padding |
CB4TrafficVehicleWeightStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | GtID | mVehicleID | ||
0x8 | 0x8 | RwUInt8[8] | mau8ColourWeights | ||
0x10 | 0x4 | RwInt32 | mnWeighting | ||
0x14 | 0x4 | Padding |
CB4CrashTrafficDestructorStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwUInt16 | mu16SegmentIndex | ||
0x2 | 0x1 | RwUInt8 | mu8LaneIndex | ||
0x3 | 0x1 | RwUInt8 | mu8Pad | Padding |
CB4TrafficHullStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4TrafficFillerStruct* | mpTrafficFillers | ||
0x4 | 0x4 | RwInt32 | mnStartSlice | ||
0x8 | 0x4 | RwInt32 | mnEndSlice | ||
0xC | 0x4 | RwUInt16* | mpu16ExtraSegments | ||
0x10 | 0x4 | RwUInt8* | mpu8ValveIndices | ||
0x14 | 0x1 | RwUInt8 | mu8NumTrafficFillers | ||
0x15 | 0x1 | RwUInt8 | mu8NumValveIndices | ||
0x16 | 0x2 | RwUInt8[2] | mau8Pad | Padding |
CB4TrafficLightCoronaStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | CGtV3d | mPos | ||
0x10 | 0x10 | CGtV3d | mAt |
CB4TrafficLanesStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4TrafficLaneStruct* | mpLanes | ||
0x4 | 0x4 | CGtV3d* | mpNodes | ||
0x8 | 0x4 | RwInt32 | mnNumLanes |
CB4TrafficLaneStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4SegmentNodeStruct* | mpSegmentNodeData | ||
0x4 | 0x4 | CB4SegmentDimensions* | mpSegmentDimensions | ||
0x8 | 0x4 | CB4TrafficSegmentStruct* | mpTrafficSegmentData | ||
0xc | 0x4 | CGtV3d* | mpNodes | ||
0x10 | 0x4 | RwInt32 | mnNumSegments |
CB4SegmentNodeStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwUInt16[2] | mau16Nodes |
CB4SegmentDimensions
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrCumulativeLength | ||
0x4 | 0x4 | RwReal | mrWidth |
CB4TrafficSegmentStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0xC | RwUInt16[6] | mau16NeighbourLaneSegments | ||
0xC | 0x6 | RwUint8[6] | mau8NeighbourLaneIndices |
CB4AILanesDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwUInt32 | mnLaneDataVersion | Version number | 7 |
0x4 | 0x4 | RwInt32 | mnLaneCount | Number of AI lanes | |
0x8 | 0x4 | RwInt32 | mnSliceCount | Number of slices | |
0xC | 0x4 | RwInt32 | mnSliceEnvironmentCount | Number of environment slices | |
0x10 | 0x4 | RwInt32 | mnCornerCount | Number of AI corners | |
0x14 | 0x4 | RwUInt32 | mnCheckpointCount | Number of AI checkpoints | |
0x18 | 0x4 | RwInt32 | mnCrossoverSliceCount | Number of crossover slices | |
0x1C | 0x4 | CB4AILaneStruct* | mpLanesArray | AI lanes | |
0x20 | 0x4 | CB4SliceStruct* | mpSlicesArray | Slices | |
0x24 | 0x4 | CB4SliceEnvironmentStruct* | mpSliceEnvironmentArray | Environment slices | |
0x28 | 0x4 | CB4AICornerStruct* | mpCornersArray | AI corners | |
0x2C | 0x4 | CB4AICrossoverSliceStruct* | mpCrossoverSlicesArray | Crossover slices | |
0x30 | 0x4 | CGtV3d* | mpNodesArray | Nodes | |
0x34 | 0x80 | CB4AICheckpoint[8] | maCheckpoints | AI checkpoints | |
0xB4 | 0x1 | RwUInt8 | mn8ColourOccluded | Colour occluded | |
0xB5 | 0x1 | RwUInt8 | mn8ColourVisible | Is colour visible | |
0xB6 | 0x2 | Padding |
CB4AILaneStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4AIRungStruct* | mpRungsArray | ||
0x4 | 0x4 | CB4AISegmentDimensionStruct* | mpSegmentDimensionsArray | ||
0x8 | 0x4 | CB4AISegmentStruct* | mpSegmentsArray | ||
0xC | 0x2 | RwUInt16 | mu16SegmentCount | ||
0xE | 0x1 | RwUInt8 | mu8Looped | ||
0xF | 0x1 | RwInt8 | mn8Pad1 | Padding |
CB4AIRungStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwUInt16[2] | mau16Nodes |
CB4AISegmentDimensionStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrCumulativeLength | ||
0x4 | 0x4 | RwReal | mrWidth |
CB4AISegmentStruct
To do: List type flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwInt16 | mn16SliceIndex | ||
0x2 | 0x1 | RwUInt8 | mu8CornerIndex | ||
0x3 | 0x1 | RwUInt8 | mx8TypeFlags | ||
0x4 | 0x1 | RwUInt8[2] | mau8ChangeLaneIndices | ||
0x6 | 0x4 | RwUInt16[2] | mau16ChangeLaneSegments |
CB4SliceStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrCumulativeLength | Cumulative length | |
0x4 | 0x1 | RwUInt8 | mu8Indicator | Indicator | |
0x5 | 0x1 | RwUInt8 | mu8WeatherIntensity | Weather intensity | |
0x6 | 0x1 | RwInt8 | mn8Pad1 | Padding | |
0x7 | 0x1 | RwInt8 | mn8Pad2 | Padding |
CB4SliceEnvironmentStruct
To do: List flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32 | mnSliceIndex | Slice index | |
0x4 | 0x3 | RwUInt8[3] | mau8SkyBloomColourRGB | Sky bloom color RGB | |
0x7 | 0x1 | RwUInt8 | mu8SkyColourIntensity | Sky color intensity | |
0x8 | 0x3 | RwUInt8[3] | mau8SpecularColourRGB | Specular color RGB | |
0xB | 0x1 | RwUInt8 | mu8SpecularIntensity | Specular intensity | |
0xC | 0x3 | RwUInt8[3] | mau8CloudColourRGB | Cloud color RGB | |
0xF | 0x1 | RwUInt8 | mu8WorldBrightnessIntensity | World brightness intensity | |
0x10 | 0x1 | RwUInt8 | mu8BloomThreshold | Bloom threshold | |
0x11 | 0x1 | RwUInt8 | mu8WorldBloomIntensity | World bloom intensity | |
0x12 | 0x1 | RwUInt8 | mu8EnvironmentMapIntensity | Environment map intensity | |
0x13 | 0x1 | RwUInt8 | mu8CloudIntensity | Cloud intensity | |
0x14 | 0x1 | RwUInt8 | mx8Flags | Flags | |
0x15 | 0x3 | Padding |
CB4AICornerStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwUInt16 | mu16StartIndex | ||
0x2 | 0x2 | RwUInt16 | mu16ApexIndex | ||
0x4 | 0x2 | RwUInt16 | mu16EndIndex | ||
0x6 | 0x2 | RwUInt16 | mu16Radius | ||
0x8 | 0x1 | RwUInt8 | mu8LaneIndex | ||
0x9 | 0x1 | RwInt8 | mn8DriftValue | ||
0xA | 0x1 | RwInt8 | mx8CornerDirection | ||
0xB | 0x1 | RwInt8 | mn8Pad |
CB4AICrossoverSliceStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4AICrossoverStruct* | mpaCrossoverArray | ||
0x4 | 0x2 | RwUInt16 | mu16SliceIndex | ||
0x6 | 0x2 | RwUInt16 | mu16NumCrossovers |
CB4AICrossoverStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwUInt16 | mu16NormalSegmentIndex | ||
0x2 | 0x2 | RwUInt16 | mu16DetourSegmentIndex | ||
0x4 | 0x1 | RwUInt8 | mu8NormalLaneIndex | ||
0x5 | 0x1 | RwUInt8 | mu8DetourLaneIndex |
CB4AICheckpoint
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrDistance | Distance | |
0x4 | 0x4 | RwReal | mrMinTime | Minimum time | |
0x8 | 0x4 | RwReal | mrMaxTime | Maximum time | |
0xC | 0x2 | RwUInt16 | mu16Slice | Slice | |
0xE | 0x2 | RwUInt16 | mu16Pad | Padding |
CB4CameraMovie
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32 | mnVersionNumber | ||
0x4 | 0x4 | RwInt32 | mnNumReels | ||
0x8 | 0x4 | RwInt32 | mnNumTriggers | ||
0xC1C | 0x4 | RwInt32 | mnNumKeyFrames | ||
0x10 | 0x4 | RwInt32 | mnMaxNumTriggers | ||
0x14 | 0x4 | RwInt32 | mnMaxNumReels | ||
0x18 | 0x4 | RwInt32 | mnMaxNumKeyFrames | ||
0x1C | 0x800 | CB4CameraTrigger[64] | maCameraTriggers | ||
0x81C | 0x400 | CB4CameraReel[64] | maCameraReels | ||
0xC1C | 0x65A0 | CB4CameraKeyFrame[813] | maCameraKeyFrames | ||
0x71BC | 0x644 | Padding |
CB4CameraTrigger
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | EB4KeyFrameType | meTriggerType | ||
0x4 | 0x4 | RwReal | mrX | ||
0x8 | 0x4 | RwReal | mrY | ||
0xC | 0x4 | RwReal | mrZ | ||
0x10 | 0x4 | RwInt32 | mnReelNumber | ||
0x14 | 0x4 | RwReal | mrRadius | ||
0x18 | 0x4 | CB4CameraReel* | mpReel | ||
0x1C | 0x4 | RwReal | mrStartTime |
CB4CameraReel
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwInt32 | mnPadding | ||
0x4 | 0x4 | RwInt32 | mnNumKeyFrames | ||
0x8 | 0x4 | CB4CameraKeyFrame* | mpKeyFrames | ||
0xC | 0x4 | RwReal | mrTrackStart |
CB4CameraKeyFrame
To do: List flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | mrStartTime | ||
0x4 | 0x4 | RwReal | mrX | ||
0x8 | 0x4 | RwReal | mrY | ||
0xC | 0x4 | RwReal | mrZ | ||
0x10 | 0x4 | RwUInt32 | muQuat | ||
0x14 | 0x4 | RwUInt32 | mxFlags | ||
0x18 | 0x1 | RwUInt8 | me8RaceCar | ||
0x19 | 0x1 | RwUInt8 | mu8FOV | ||
0x1A | 0x2 | RwUInt16 | muCatMullVelocity | ||
0x1C | 0x4 | RwReal | mrCatMullSegmentLength |
CB4SingleRaceDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2010 | CB4AIDriverStruct[9][6] | maaDrivers | Drivers | |
0x2010 | 0x24 | RwInt32[9] | manNumDrivers | Number of drivers | |
0x2034 | 0x4 | Padding |
CB4DetourListStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4DetourDataStruct* | mpaDetours | ||
0x4 | 0x1 | RwUInt8 | mu8NumDetours | ||
0x5 | 0x3 | Padding |
CB4DetourDataStruct
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4RouteDataStruct* | mpaRoutes | ||
0x4 | 0x1 | RwUInt8 | mu8NumRoutes | ||
0x5 | 0x3 | Padding |
CB4RouteDataStruct
To do: List open flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | CB4AILaneSectionStruct* | mpaTriggerLaneSections | ||
0x4 | 0x4 | CB4AILaneSectionStruct* | mpaBlockingLaneSections | ||
0x8 | 0x1 | RwUInt8 | mu8NumTriggerLaneSections | ||
0x9 | 0x1 | RwUInt8 | mu8NumBlockingLaneSections | ||
0xA | 0x1 | RwUInt8 | mu8ChevronIndex | ||
0xB | 0x1 | RwUInt8 | mu8OpenFlags |
CB4AILaneSectionStruct
To do: List original type flags. |
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | RwUInt16 | mu16StartSegment | ||
0x2 | 0x2 | RwUInt16 | mu16EndSegment | ||
0x4 | 0x1 | RwUInt8 | mu8LaneIndex | ||
0x5 | 0x1 | RwUInt8 | mu8OriginalTypeFlags |
Enumerations
EB4SignatureTakedownType
Name | Value | Comments |
---|---|---|
eSignatureTakedownType0 | 0 | |
eSignatureTakedownType1 | 1 | |
eSignatureTakedownType2 | 2 | |
eSignatureTakedownTypeCount | 3 |
ECrashModeRampType
Name | Value | Comments |
---|---|---|
eCrashModeRampSmall | 0 | |
eCrashModeRampLarge | 1 | |
eCrashModeRampScrewLeft | 2 | |
eCrashModeRampScrewRight | 3 | |
eCrashModeRampNumber | 4 |
ETrafficVehicleCategories
Name | Value | Comments |
---|---|---|
eVehicleCategoryNull | 0 | |
eVehicleCategoryCar | 1 | |
eVehicleCategoryVan | 2 | |
eVehicleCategoryLorry | 3 | |
eVehicleCategoryArticulatedCab | 4 | |
eVehicleCategoryBus | 5 | |
eVehicleCategorySpecialHelicopter | 6 | |
eVehicleCategorySpecialLTrain | 7 | |
eVehicleCategorySpecialTram | 8 | |
eVehicleCategorySpecialMonoRail | 9 | |
eVehicleCategorySpecialPlane | 10 | |
eVehicleCategoryArticulatedTrailer | 11 | |
eVehicleCategoriesNumber | 12 |
EB4KeyFrameType
Name | Value | Comments |
---|---|---|
eKeyFrame_CrashIntro | 0 | |
eKeyFrame_CrashOutro | 1 | |
eKeyFrame_RaceIntro | 2 | |
eKeyFrame_RaceOutro | 3 | |
eKeyFrame_CrashReel | 4 | |
eKeyFrame_Num | 5 | |
eKeyFrame_Video | 6 | |
eKeyFrame_Aftermath | 7 | |
eKeyFrame_None | 8 | |
eKeyFrame_Replay | 9 |