MIB Format - DustStormPettigrew/LibLR1 GitHub Wiki
MIB — Menu Interface Layout
UI layout definitions with multiple widget types and hierarchical positioning.
Top-Level Blocks
| Block ID | Hex | Type |
|---|---|---|
| Num Items | 0x27 |
int (total count) |
| Image Items | 0x38 |
Dict<string, MIB_ImageItem_38> |
| Text Items | 0x39 |
Dict<string, MIB_TextItem_39> |
| Scene View 42 | 0x42 |
Dict<string, MIB_SceneItem_42> |
| Scene View 45 | 0x45 |
Dict<string, MIB_SceneItem_45> |
| Text Buttons | 0x46 |
Dict<string, MIB_TextButtonItem_46> |
MIB_Position (Shared by all items)
Nested struct at property 0x36:
| Property | Hex | Type | Description |
|---|---|---|---|
| Rect | 0x2F |
4 × int | X1, Y1, X2, Y2 bounding rectangle |
| Parent | 0x31 |
string (optional) | Parent item name for hierarchical layout |
| Unknown 32 | 0x32 |
int (optional) | Unknown |
Scene Items
Scene view items (0x42 variant) include: scene name (0x2D), 9 floats (0x2E, likely a 3×3 matrix), and unknown int pair (0x33).
Read/Write Support
Full round-trip.