OBD:BINA/PAR3: Difference between revisions
work in progress...
m (fixed image links and header alignment) |
(work in progress...) |
||
Line 8: | Line 8: | ||
http://ssg.oni2.net/images/bin_r_3h.gif | http://ssg.oni2.net/images/bin_r_3h.gif | ||
{ | {{Table}} | ||
{{OBDth}} | |||
| | {{OBDtr| 0x00 | char[4] |FF0000| 33 52 41 50 | PAR3 | signature }} | ||
| | {{OBDtr| 0x04 | int32 |FFFF00| 9C 06 00 00 | 1692 | length of the following 3d particle part from this position }} | ||
{{OBDtr| 0x08 | int16 |00FF00| 9C 06 | 1692 | length again }} | |||
{{OBDtr| 0x0A | int16 |00FF00| 01 20 | 18 | unknown; always the same }} | |||
{{OBDtr| 0x0C | int32 |00FFFF| 01 20 00 00 | 0x2001 | unknown; flags? }} | |||
| PAR3 | {{OBDtr| 0x10 | int32 |00FFFF| 00 00 00 02 | 0x20000000 | unknown; more flags? }} | ||
| | {{OBDtr| 0x14 | int32 |FF00FF| 00 00 00 00 | 0 | unknown; looks like garbage data }} | ||
| | {{OBDtr| 0x18 | int16 |FF8000| 01 00 | 1 | number of variables }} | ||
{{OBDtr| 0x1a | int16 |FF8000| 01 00 | 1 | number of events/actions }} | |||
| 1692 | {{OBDtr| 0x1c | int16 |FF8000| 01 00 | 1 | number of emitted particles }} | ||
| | {{OBDtr| 0x1e | int16 |FF8000| 00 01 | 256 | unknown; always the same }} | ||
| | |||
| | |||
| 1692 | |||
| | |||
| | |||
| | |||
| 18 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| 1 | |||
| | |||
| | |||
| 1 | |||
| | |||
| | |||
| 1 | |||
| | |||
| | |||
| 256 | |||
|} | |} | ||
===Event groups (0x20 - 0x5F)=== | ===Event groups (0x20 - 0x5F)=== | ||
Here we have 16 4-byte slots, which correspond to the following 16 particle event types : | Here we have 16 4-byte slots, which correspond to the following 16 particle event types : | ||
Line 263: | Line 228: | ||
-------- | -------- | ||
==Variables== | ==Variables== | ||
Every variable takes up 52=0x34 bytes. The number of variables is specified at 0x18 in the header. | Every variable takes up 52=0x34 bytes. The number of variables is specified at 0x18 in the header. |