DKC:TF > Level File (ROOM)

TypeDescription
CFormDescriptorForm descriptor

ROOM Form

Room Header Form

RMHD Chunk

TypeDescription
Uint16Unknown

PRGP Chunk

TypeDescription
List16<CScriptPerformanceGroup>Performance groups

CScriptPerformanceGroup

TypeDescription
Uint32Name length
Char[]Name
CGuidEditor id
BoolIs active
List16<CGuid>Referenced layers

LGEN Chunk

TypeDescription
Map<CGuid, CGuid>Object map

LUNT Form

LUHD Chunk

TypeDescription
StringLoad unit name
CGuidLoad unit id
Uint16Flags

LRES Chunk

TypeDescription
List<CObjectId>Resource ids

LLYR Chunk

TypeDescription
List<CGuid>Layer ids

CScriptLayer

LHED Chunk

TypeDescription
StringScript layer name
CGuidLayer id
Uint16Unknown
List16<CGuid>Load unit ids
CGuidUnknown
BoolUnknown

GSRP Form

These components can be spawned by a GeneratorGOC. This form is filled with GGOB chunks containing the following data:

TypeDescription
CGuidObject id
List16<CGameObjectComponent>Components

SRIP Form

This form is filled with CGameObjectComponent chunks.

CGameObjectComponent

A CGameObjectComponent is stored as a COMP chunk with the following content:

TypeDescription
Uint32Component type hash
CGuidComponent id
StringComponent name
List16<SConnection>Connections
List16<SScriptLink>Script links
...Component data

SConnection

TypeDescription
CFourCCConnection id 1
CFourCCConnection id 2
CGuidComponent id
Uint16Unknown
Uint8Unknown
Uint8Unknown
TypeDescription
CFourCCLink id
CGuidComponent id
Uint8Unknown