Skip to content

DKCTF Ldr Types

Yannik Marchand edited this page Mar 16, 2019 · 7 revisions

The code that parses these structs was probably automatically generated from a C++ header or something similar. Unfortunately, only the CRC32 hash of each field name is stored in the file, and there's no real way to infer the name of a field from its hash. Not all fields of a struct must be stored in the file: if a field is not present a default value is used.

Type Description
Uint16 Number of fields
... Fields

Every field is stored as follows:

Type Description
Uint32 Name hash
Uint16 Data size
... Data

SLdrModelLightingData

Field Type Description
A07D9FDB Bool field_0
60372DAE Bool field_1
D3B7E396 Bool field_2
1AC9C6F6 CColor4f field_4
662B60D1 Uint32 field_14
6BB9C38C Uint32 field_18
Clone this wiki locally