GHB Format - DustStormPettigrew/LibLR1 GitHub Wiki
GHB — Ghost Path
Time-trial ghost path data. Similar to RRB but with initial state and slightly different node layout.
Top-Level Block
| Block ID | Hex | Type |
|---|---|---|
| Ghost Path | 0x2C |
GHB_GhostPath (struct) |
GHB_GhostPath Properties
| Property | Hex | Type | Description |
|---|---|---|---|
| Nodes | 0x27 |
GHB_Node[] |
Path node array |
| Initial Position | 0x28 |
LRVector3 | Starting position |
| Initial Rotation | 0x29 |
LRQuaternion | Starting rotation |
| Unknown 2A | 0x2A |
int[3] | Unknown |
| Unknown 2B | 0x2B |
int | Unknown |
GHB_Node
| Field | Type | Description |
|---|---|---|
| px, py, pz | Fract16Bit | Position deltas (÷256) |
| rx, ry, rz, rw | Fract8Bit | Quaternion rotation (÷16) |
7 values per node: 3×Fract16 + 4×Fract8.
Read/Write Support
Read only.