OBD:BINA/PAR3: Difference between revisions

623 bytes removed ,  5 December 2007
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


{| width="100%" border=1 cellspacing=0 cellpadding=0 bgcolor="#000000"
{{Table}}
|- bgcolor="#FFDDBB" align="CENTER"
{{OBDth}}
| width="15%" | '''Hex'''
{{OBDtr| 0x00 | char[4]    |FF0000| 33 52 41 50 | PAR3       | signature }}
| width="15%" | '''Translation'''
{{OBDtr| 0x04 | int32      |FFFF00| 9C 06 00 00 | 1692       | length of the following 3d particle part from this position }}
| width="60%" | '''Meaning'''
{{OBDtr| 0x08 | int16      |00FF00| 9C 06       | 1692       | length again }}
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
{{OBDtr| 0x0A | int16      |00FF00| 01 20      | 18         | unknown; always the same }}
| bgcolor="#FF0000" | 33 52 41 50
{{OBDtr| 0x0C | int32      |00FFFF| 01 20 00 00 | 0x2001    | unknown; flags? }}
| PAR3
{{OBDtr| 0x10 | int32      |00FFFF| 00 00 00 02 | 0x20000000 | unknown; more flags? }}
| align="LEFT" | particle 3d
{{OBDtr| 0x14 | int32      |FF00FF| 00 00 00 00 | 0         | unknown; looks like garbage data }}
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
{{OBDtr| 0x18 | int16      |FF8000| 01 00       | 1         | number of variables }}
| bgcolor="#FFFF00" | 9C 06 00 00
{{OBDtr| 0x1a | int16      |FF8000| 01 00       | 1         | number of events/actions }}
| 1692
{{OBDtr| 0x1c | int16      |FF8000| 01 00       | 1         | number of emitted particles }}
| align="LEFT" | 1692 bytes is the length of the following 3d particle part from this position
{{OBDtr| 0x1e | int16      |FF8000| 00 01       | 256       | unknown; always the same }}
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FF00" | 9C 06
| 1692
| align="LEFT" | file size again
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FF00" | 12 00
| 18
| align="LEFT" | unknown; always the same
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FFFF" | 01 20 00 00
| unknown
| align="LEFT" | unknown; looks like bitsets
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FFFF" | 00 00 00 02
| unknown
| align="LEFT" | unknown; looks like bitsets
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF00FF" | 00 00 00 00
| 0
| align="LEFT" | unknown; looks like garbage data
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF8000" | 01 00
| 1
| align="LEFT" | amount of variables
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF8000" | 01 00
| 1
| align="LEFT" | amount of events/actions
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF8000" | 01 00
| 1
| align="LEFT" | amount of emitted particles
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF8000" | 00 01
| 256
| align="LEFT" | unknown; always the same
|}
|}
===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.
Anonymous user