Game File Documentation
The game consists of:
- One
.kfcfile - One
.kfc_resourcesfile - Multiple
.datfiles (containers). The number of.datfiles is always a power of two and they always need to be present even if empty.
There are two different kinds of assets:
- Resource: typed binary data (type metadata defined in the types section and bundled inside the executable).
Resources can be referenced by
ObjectReference<T>typed fields. They are stored in the.kfc_resourcesfile (after the header) and are 16-byte aligned. - Content: opaque blobs (images, audio, models, voxels, etc.).
Content assets are referenced by resources via a
keen::ContentHashtyped field. They are stored in the.datfiles and are 4096-byte aligned.