Jump to content

OBD:BINA/ONIE: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
----
----
----
----
Header and Part 1:


http://ssg.oni2.net/images/bin_r_i1.gif
http://ssg.oni2.net/images/bin_r_i1.gif


{{Table}}
{{Table}}
Line 12: Line 9:
{{OBDtr| 0x00 | int32    |FF0000| 45 49 4E 4F | ONIE    | Oni impact effects }}
{{OBDtr| 0x00 | int32    |FF0000| 45 49 4E 4F | ONIE    | Oni impact effects }}
{{OBDtr| 0x04 | int32    |FFFF00| B8 B7 00 00 | 47032  | 47032 bytes is the length of the following impact effects part from this position }}
{{OBDtr| 0x04 | int32    |FFFF00| B8 B7 00 00 | 47032  | 47032 bytes is the length of the following impact effects part from this position }}
{{OBDtr| 0x08 | int32    |00FF00| 02 00 00 00 | 2      | amount of packages of part 1 }}
{{OBDtr| 0x08 | int32    |00FF00| 02 00 00 00 | 2      | version }}
{{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 }}
{{OBDtr| 0x0C | int32    |00FFFF| 5E 00 00 00 | 94      | number of impacts }}
{{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) }}
{{OBDtr| 0x10 | int32    |FFC8C8| 1E 00 00 00 | 30      | number of materials }}
{{OBDtr| 0x14 | int32    |FFFFC8| 54 00 00 00 | 84      | amount of packages of part 3 }}
{{OBDtr| 0x14 | int32    |FFFFC8| 54 00 00 00 | 84      | number of particles }}
{{OBDtr| 0x18 | int32    |C8FFC8| 20 01 00 00 | 288    | amount of packages of part 4 }}
{{OBDtr| 0x18 | int32    |C8FFC8| 20 01 00 00 | 288    | number of sounds }}
{{OBDtr| 0x1C | int32    |C8FFFF| 69 01 00 00 | 361    | amount of packages of part 5 }}
{{OBDtr| 0x1C | int32    |C8FFFF| 69 01 00 00 | 361    | number of impact effects }}
{{OBDtr| 0x20 | int32    |FFC8FF| DF 00 00 00 | 223    | amount of packages of part 6 }}
{{OBDtr| 0x20 | int32    |FFC8FF| DF 00 00 00 | 223    | number of material indices }}
{{OBDtrBK|Below follows the first entry of the first block of the first package of part 1. }}
{{OBDtrBK|Impact table }}
{{OBDtr| 0x00 | char[132] |FFC800| 44 65 66... | Default | impact effect name (notes) }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | impact name (Default.[[OBD:Impt|Impt]]) }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtrBK|Material table }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | material name (Default.[[OBD:Mtrl|Mtrl]]) }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | unknown }}
|}
|}
Part 2:


http://ssg.oni2.net/images/bin_r_i2.gif
http://ssg.oni2.net/images/bin_r_i2.gif


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Below follows the first package of part 2 }}
{{OBDtrBK|Impact lookup table (same number of entries as the impact table) }}
{{OBDtr| 0x00 | int16 |FFC8C8| 00 00      | 0  | part 2 ID }}
{{OBDtr| 0x00 | int16 |FFC8C8| 00 00      | 0  | index into the impact table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00      | 0  | number of used packages in part 6 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00      | 0  | number of used entries in the material index table }}
{{OBDtr| 0x04 | int32 |C8FFC8| DF 00 00 00 | 223 | start package in part 6 }}
{{OBDtr| 0x04 | int32 |C8FFC8| DF 00 00 00 | 223 | index of the first used entry in the material index table }}
|}
|}
Part 3:


http://ssg.oni2.net/images/bin_r_i3.gif
http://ssg.oni2.net/images/bin_r_i3.gif


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Below follows the first package of part 3 }}
{{OBDtrBK|Particle table }}
{{OBDtr| 0x00 | char[64] |FFC8C8| 77 31 30... | w10_sni_x02| particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]]) }}
{{OBDtr| 0x00 | char[64] |FFC8C8| 77 31 30... | w10_sni_x02| particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]]) }}
{{OBDtr| 0x40 | int32    |FFFFC8| A8 67 7A 00 | 7A 67 A8  | old offset link }}
{{OBDtr| 0x40 | int32    |FFFFC8| A8 67 7A 00 | 7A 67 A8  | old offset link }}
{{OBDtr| 0x44 | int32    |C8FFC8| 00 00 00 00 | 0          | modifier?; if yes, the following modifiers are possible:
{{OBDtr| 0x44 | int32    |C8FFC8| 00 00 00 00 | 0          | collistion type; the following values are possible:
:0 - any
:0 - ?any?
:1 - heavy
:1 - ?heavy?
:2 - medium
:2 - ?medium?
:3 - light }}
:3 - ?light? }}
{{OBDtr| 0x48 | int32    |C8FFFF| 05 00 00 00 | 5        | identifier (bitset?) for the next row }}
{{OBDtr| 0x48 | int32    |C8FFFF| 05 00 00 00 | 5        | location type: the following values are possible:
{{OBDtr| 0x4C |          |FFC8FF| 00 00 00 00 |          | unknown; 2 shorts or a float; depends on the identifier above }}
:0 - ?
:1 - ?
:3 - ?
:4 - ?
:5 - ?
}}
{{OBDtr| 0x4C |          |FFC8FF| 00 00 00 00 |          | unknown; used only location type is 1 or 3 }}
{{OBDtr| 0x50 |          |FFC800| 00 00 00 00 |          | unknown; always zero }}
{{OBDtr| 0x50 |          |FFC800| 00 00 00 00 |          | unknown; always zero }}
|}
|}
Part 4:


http://ssg.oni2.net/images/bin_r_i4.gif
http://ssg.oni2.net/images/bin_r_i4.gif


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Below follows the first package of part 4 }}
{{OBDtrBK|Sound table }}
{{OBDtr| 0x00 | char[32] |FFC8C8|            | not used  | sound name (link to an [[OBD:OSBD|OSBD]] file) }}
{{OBDtr| 0x00 | char[32] |FFC8C8|            | not used  | sound name (link to an [[OBD:OSBD|OSBD]] file) }}
{{OBDtr| 0x20 | int16    |FFFFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
{{OBDtr| 0x20 | int16    |FFFFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
Line 83: Line 77:
{{OBDtr| 0x2C | float    |C800C8| 00 00 16 43 | 150.000000 | earshot radius }}
{{OBDtr| 0x2C | float    |C800C8| 00 00 16 43 | 150.000000 | earshot radius }}
|}
|}
Part 5:


http://ssg.oni2.net/images/bin_r_i5.gif
http://ssg.oni2.net/images/bin_r_i5.gif


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Below follows the first package of part 5 }}
{{OBDtrBK|Impact effects table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 37 00      | 55 | number of the used impact of the first package of part 1 }}
{{OBDtr| 0x00 | int16 |FFC8C8| 37 00      | 55 | number of the used impact of the first package of part 1 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of the used material of the second package of part 1 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of the used material of the second package of part 1 }}
Line 110: Line 99:
{{OBDtr| 0x10 | int32 |C87C64| 53 00 00 00 | 83 | start package in part 3 }}
{{OBDtr| 0x10 | int32 |C87C64| 53 00 00 00 | 83 | start package in part 3 }}
|}
|}
Part 6:


http://ssg.oni2.net/images/bin_r_i6.gif
http://ssg.oni2.net/images/bin_r_i6.gif


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Below follows the first package of part 6 }}
{{OBDtrBK|Material index table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 01 00      | 1  | number of the used material of the second package of part 1 }}
{{OBDtr| 0x00 | int16 |FFC8C8| 01 00      | 1  | index into material table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of used packages in part 5 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of used entries in the impact effect table }}
{{OBDtr| 0x04 | int32 |C8FFC8| 54 01 00 00 | 340 | start package in part 5 }}
{{OBDtr| 0x04 | int32 |C8FFC8| 54 01 00 00 | 340 | index of the first used entry in the impact effect table }}
|}
|}


708

edits