PWB Format - DustStormPettigrew/LibLR1 GitHub Wiki
PWB — Powerup Layout
Power brick placement on tracks. Two brick types: colored and white.
Top-Level Blocks
| Block ID | Hex | Type |
|---|---|---|
| Color Bricks | 0x27 |
PWB_ColorBrick[] (struct list) |
| White Bricks | 0x2F |
PWB_WhiteBrick[] (struct list) |
PWB_ColorBrick Properties
| Property | Hex | Type | Description |
|---|---|---|---|
| Position | 0x28 |
LRVector3 | World position |
| Color | 0x2A–0x2D |
flag byte | Red=0x2A, Yellow=0x2B, Blue=0x2C, Green=0x2D |
The color is stored as the property byte itself — no data follows it.
PWB_WhiteBrick Properties
| Property | Hex | Type |
|---|---|---|
| Position | 0x28 |
LRVector3 |
Read/Write Support
Full round-trip.