Jump to content

OBD:BINA/ONIE: Difference between revisions

2,897 bytes removed ,  30 January 2008
no edit summary
m (Learn, SSG)
No edit summary
Line 3: Line 3:
----
----


Header and Part 1:


<B>Header and Part 1:</B>
http://ssg.oni2.net/images/bin_r_i1.gif




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i1.gif
{{Table}}
 
{{OBDth}}
 
{{OBDtr| 0x00 | int32    |FF0000| 45 49 4E 4F | ONIE   | Oni impact effects }}
{|{{OBDtable}}
{{OBDtr| 0x04 | int32    |FFFF00| B8 B7 00 00 | 47032   | 47032 bytes is the length of the following impact effects part from this position }}
|align=center|
{{OBDtr| 0x08 | int32    |00FF00| 02 00 00 00 | 2       | amount of packages of part 1 }}
{|{{OBDtable}}
{{OBDtr| 0x0C | int32    |00FFFF| 5E 00 00 00 | 94     | amount of blocks of the first package of part 1 and amount of packages of part 2 }}
|-BGCOLOR="#FFDDBB"
{{OBDtr| 0x10 | int32    |FFC8C8| 1E 00 00 00 | 30     | amount of blocks of the second package of part 1 (this package is a stand-alone package; it doesn't link to any other part; it contains the names of the material types) }}
! WIDTH=15% |Raw Hex
{{OBDtr| 0x14 | int32    |FFFFC8| 54 00 00 00 | 84     | amount of packages of part 3 }}
! WIDTH=15% |Translation
{{OBDtr| 0x18 | int32    |C8FFC8| 20 01 00 00 | 288     | amount of packages of part 4 }}
! WIDTH=70% |Meaning
{{OBDtr| 0x1C | int32    |C8FFFF| 69 01 00 00 | 361     | amount of packages of part 5 }}
|-
{{OBDtr| 0x20 | int32    |FFC8FF| DF 00 00 00 | 223     | amount of packages of part 6 }}
|BGCOLOR="#FF0000" | 45&nbsp;49&nbsp;4E&nbsp;4F
{{OBDtrBK|Below follows the first entry of the first block of the first package of part 1. }}
| ONIE
{{OBDtr| 0x00 | char[132] |FFC800| 44 65 66... | Default | impact effect name (notes) }}
| ALIGN=LEFT | Oni impact effects
|-
| BGCOLOR="#FFFF00" | B8 B7 00 00
| 47032
| ALIGN=LEFT | 47032 bytes is the length of the following impact effects part from this position
|-
| BGCOLOR="#00FF00" | 02 00 00 00
| 2
| ALIGN=LEFT | amount of packages of part 1
|-
| BGCOLOR="#00FFFF" | 5E 00 00 00
| 94
| ALIGN=LEFT | amount of blocks of the first package of part 1 and amount of packages of part 2
|-
| BGCOLOR="#FFC8C8" | 1E 00 00 00
| 30
| ALIGN=LEFT | amount of blocks of the second package of part 1 (this package is a stand-alone package; it doesn't link to any other part; it contains the names of the material types)
|-
| BGCOLOR="#FFFFC8" | 54 00 00 00
| 84
| ALIGN=LEFT | amount of packages of part 3
|-
| BGCOLOR="#C8FFC8" | 20 01 00 00
| 288
| ALIGN=LEFT | amount of packages of part 4
|-
| BGCOLOR="#C8FFFF" | 69 01 00 00
| 361
| ALIGN=LEFT | amount of packages of part 5
|-
| BGCOLOR="#FFC8FF" | DF 00 00 00
| 223
| ALIGN=LEFT | amount of packages of part 6
|-BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first entry of the first block of the first package of part 1.</FONT>
|-
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>Default</TT>
| ALIGN=LEFT | impact effect name (notes)
|}
|}
|}




<B>Part 2:</B>
Part 2:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i2.gif
http://ssg.oni2.net/images/bin_r_i2.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK|Below follows the first package of part 2 }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16 |FFC8C8| 00 00       | 0   | part 2 ID }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00       | 0   | number of used packages in part 6 }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | int32 |C8FFC8| DF 00 00 00 | 223 | start package in part 6 }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package of part 2.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00
| 0
| ALIGN=LEFT | part 2 ID
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00
| 0
| ALIGN=LEFT | number of used packages in part 6
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | DF&nbsp;00&nbsp;00&nbsp;00
| 223
| ALIGN=LEFT | start package in part 6
|}
|}




<B>Part 3:</B>
Part 3:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i3.gif
http://ssg.oni2.net/images/bin_r_i3.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK|Below follows the first package of part 3 }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | char[64] |FFC8C8| 77 31 30... | w10_sni_x02| particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]]) }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x40 | int32    |FFFFC8| A8 67 7A 00 | 7A 67 A8   | old offset link }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x44 | int32    |C8FFC8| 00 00 00 00 | 0         | modifier?; if yes, the following modifiers are possible:
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package of part 3.</FONT>
:0 - any
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:1 - heavy
| BGCOLOR="#FFC8C8" COLSPAN=2 | <TT>w10_sni_x02</TT>
:2 - medium
| ALIGN=LEFT | particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]])
:3 - light }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x48 | int32    |C8FFFF| 05 00 00 00 | 5       | identifier (bitset?) for the next row }}
| BGCOLOR="#FFFFC8" | A8&nbsp;67&nbsp;7A&nbsp;00
{{OBDtr| 0x4C |          |FFC8FF| 00 00 00 00 |         | unknown; 2 shorts or a float; depends on the identifier above }}
| 7A&nbsp;67&nbsp;A8
{{OBDtr| 0x50 |          |FFC800| 00 00 00 00 |         | unknown; always zero }}
| ALIGN=LEFT | old offset link
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | modifier?; if yes, the following modifiers are possible:<BR>&nbsp;<BR>0 - any<BR>1 - heavy<BR>2 - medium<BR>3 - light<BR>&nbsp;
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 05 00 00 00
| 5
| ALIGN=LEFT | identifier (bitset?) for the next row
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; 2 shorts or a float; depends on the identifier above
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|}
|}




<B>Part 4:</B>
Part 4:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i4.gif
http://ssg.oni2.net/images/bin_r_i4.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK|Below follows the first package of part 4 }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | char[32] |FFC8C8|            | not used   | sound name (link to an [[OBD:OSBD|OSBD]] file) }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x20 | int16    |FFFFC8| CD CD       | 52685     | unknown; maybe it's garbage that belongs to the sound name field above }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x22 | int16    |C8FFC8| CD CD       | 52685     | unknown; maybe it's garbage that belongs to the sound name field above }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package of part 4.</FONT>
{{OBDtr| 0x24 | int32    |C8FFFF| 00 00 00 00 | not used   | old offset link }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x28 | int16    |FFC8FF| 01 00       | 1         | AI can hear; 0 = no, 1 = yes }}
| BGCOLOR="#FFC8C8" COLSPAN=2 | not used
{{OBDtr| 0x2A | int16    |FFC800| 03 00       | 3         | sound type; the following types are possible:
| ALIGN=LEFT | sound name (link to an [[OBD:OSBD|OSBD]] file)
:0 - unimportant
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:1 - interesting
| BGCOLOR="#FFFFC8" | CD CD
:2 - danger
| 52685
:3 - melee
| ALIGN=LEFT | unknown; maybe it's garbage that belongs to the sound name field above
:4 - gunfire }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x2C | float    |C800C8| 00 00 16 43 | 150.000000 | earshot radius }}
| BGCOLOR="#C8FFC8" | CD CD
| 52685
| ALIGN=LEFT | unknown; maybe it's garbage that belongs to the sound name field above
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 00 00
| not used
| ALIGN=LEFT | old offset link
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 00
| 1
| ALIGN=LEFT | AI can hear (0 = no, 1 = yes)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 03 00
| 3
| ALIGN=LEFT | sound type; the following types are possible:<BR>&nbsp;<BR>0 - unimportant<BR>1 - interesting<BR>2 - danger<BR>3 - melee<BR>4 - gunfire<BR>&nbsp;
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 00&nbsp;00&nbsp;16&nbsp;43
| 150.000000
| ALIGN=LEFT | earshot radius
|}
|}




<B>Part 5:</B>
Part 5:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i5.gif
http://ssg.oni2.net/images/bin_r_i5.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK|Below follows the first package of part 5 }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16 |FFC8C8| 37 00       | 55 | number of the used impact of the first package of part 1 }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00       | 1 | number of the used material of the second package of part 1 }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | int16 |C8FFC8| 00 00       | 0 | component; the following components are possible:
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package of part 5.</FONT>
:0 - impact
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:1 - damage
| BGCOLOR="#FFC8C8" | 37 00
:2 - projectile }}
| 55
{{OBDtr| 0x06 | int16 |C8FFFF| 00 00       | 0 | modifier; the following modifiers are possible:
| ALIGN=LEFT | number of the used impact of the first package of part 1
:0 - any
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:1 - heavy
| BGCOLOR="#FFFFC8" | 01 00
:2 - medium
| 1
:3 - light }}
| ALIGN=LEFT | number of the used material of the second package of part 1
{{OBDtr| 0x08 | int16 |FFC8FF| 01 00       | 1 | number of the used packages in part 3 }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x0A | int16 |FFC800| 00 00       | 0 | unknown; looks like garbage to me }}
| BGCOLOR="#C8FFC8" | 00 00
{{OBDtr| 0x0C | int32 |C800C8| FF FF FF FF | -1 | number of the used package in part 4; -1 = not used }}
| 0
{{OBDtr| 0x10 | int32 |C87C64| 53 00 00 00 | 83 | start package in part 3 }}
| ALIGN=LEFT | component; the following components are possible:<BR>&nbsp;<BR>0 - impact<BR>1 - damage<BR>2 - projectile<BR>&nbsp;
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00
| 0
| ALIGN=LEFT | modifier; the following modifiers are possible:<BR>&nbsp;<BR>0 - any<BR>1 - heavy<BR>2 - medium<BR>3 - light<BR>&nbsp;
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 00
| 1
| ALIGN=LEFT | number of the used packages in part 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 00 00
| 0
| ALIGN=LEFT | unknown; looks like garbage to me
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | FF&nbsp;FF&nbsp;FF&nbsp;FF
| -1
| ALIGN=LEFT | number of the used package in part 4 (-1 = not used)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 53 00 00 00
| 83
| ALIGN=LEFT | start package in part 3
|}
|}




<B>Part 6:</B>
Part 6:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_i6.gif
http://ssg.oni2.net/images/bin_r_i6.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK|Below follows the first package of part 6 }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16 |FFC8C8| 01 00       | 1   | number of the used material of the second package of part 1 }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00       | 1   | number of used packages in part 5 }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | int32 |C8FFC8| 54 01 00 00 | 340 | start package in part 5 }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package of part 6.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 01 00
| 1
| ALIGN=LEFT | number of the used material of the second package of part 1
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 01 00
| 1
| ALIGN=LEFT | number of used packages in part 5
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 54&nbsp;01&nbsp;00&nbsp;00
| 340
| ALIGN=LEFT | start package in part 5
|}
|}


708

edits