In DKC:TF, some types appear in multiple different file formats. This page lists the most common types.
Basic types:
Class types:
Type Description
Uint32 Length
Char[] Data
Type Description
Char[] Null-terminated string
Type Description
Uint32 Number of entries
Entries
Type Description
Uint16 Number of entries
Entries
Type Description
Uint16 Number of key-value pairs
First key
First value
…
Last key
Last value
Some file formats ignore byte boundaries and read individual bits from a file. When a larger type (such as Uint32) is extracted and not all bits in a byte have been read, the remaining bits in the byte are discarded and the stream becomes byte-aligned again.
Type Description
Char[4] Identifier
Type Description
Uint32 Part 1
Uint16 Part 2
Uint16 Part 3
Uint64 Part 4
Type Description
CGuid Guid
Type Description
Uint16 Type id
Uint16 Version
Type Description
CFourCC Identifier (“RFRM”)
Uint64 Data size
Uint64 Unknown
CFourCC Form type
Uint32 Version number
Uint32 Version number
… Form data
Type Description
CFourCC Chunk type
Uint64 Data size
Uint32 Unknown
Uint64 Data offset
Type Description
Float x
Float y
Float z
Type Description
Int32 x
Int32 y
Int32 z
Int32 w
Type Description
Float red
Float green
Float blue
Float alpha
This enum specifies how the spline behaves before the first knot and behind the last knot.
Value Description
0 Constant
1 Linear
2 Cycle
3 CycleRelative
4 Oscillate
This enum specifies how the spline is clamped if it is not between the minimum and maximum values.
Value Description
0 Don’t clamp
1 Standard clamp (force to minimum/maximum)
2 Cyclic clamp (if it’s too high, wrap around to minimum)
Type Description
Float Time
Float Value
ETangentType Tangent type 1
ETangentType Tangent type 2
Float field_C; Only present if tangent type 1 is Fixed .
Float field_10; Only present if tangent type 1 is Fixed .
Float field_14; Only present if tangent type 2 is Fixed .
Float field_18; Only present if tangent type 2 is Fixed .
Value Description
0 Linear
1 Flat
2 Smooth
3 Step
4 Clamped
5 Fixed