GCB Format - DustStormPettigrew/LibLR1 GitHub Wiki

GCB — Unknown (Geometry Collision?)

Contains compact vertex data and named model sets with polygon arrays. Purpose unknown but structure suggests collision or LOD geometry.

Top-Level Blocks

Block ID Hex Type
Vertices 0x28 GCB_Vertex[]
Model Sets 0x2C Dict<string, GCB_ModelSet>

GCB_Vertex

Uses fixed-point types for very compact storage:

Field Type
a–e Fract16Bit × 5
f–h Fract8Bit × 3

GCB_ModelSet

Property Hex Type
Models 0x2B GCB_Model[] (struct array)
Unknown 2D 0x2D float

GCB_Model

Property Hex Type
Name 0x27 string
Polygons 0x2A GCB_Polygon[] — 3 int (integral) vertex indices

Read/Write Support

Read only.


Back to Home