OBD:BINA/ONIE: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
Line 74: Line 74:
{{OBDtr| 0x22 | int16    |C8FFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
{{OBDtr| 0x22 | int16    |C8FFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
{{OBDtr| 0x24 | int32    |C8FFFF| 00 00 00 00 | not used  | old offset link }}
{{OBDtr| 0x24 | int32    |C8FFFF| 00 00 00 00 | not used  | old offset link }}
{{OBDtr| 0x28 | int16    |FFC8FF| 01 00      | 1          | AI can hear; 0 = no, 1 = yes }}
{{OBDtr| 0x28 | int16    |FFC8FF| 01 00      | 1          | AI can hear; 0 <nowiki>=</nowiki> no, 1 <nowiki>=</nowiki> yes }}
{{OBDtr| 0x2A | int16    |FFC800| 03 00      | 3          | sound type; the following types are possible:
{{OBDtr| 0x2A | int16    |FFC800| 03 00      | 3          | sound type; the following types are possible:
:0 - unimportant
:0 - unimportant
Line 107: Line 107:
{{OBDtr| 0x08 | int16 |FFC8FF| 01 00      | 1  | number of the used packages in part 3 }}
{{OBDtr| 0x08 | int16 |FFC8FF| 01 00      | 1  | number of the used packages in part 3 }}
{{OBDtr| 0x0A | int16 |FFC800| 00 00      | 0  | unknown; looks like garbage to me }}
{{OBDtr| 0x0A | int16 |FFC800| 00 00      | 0  | unknown; looks like garbage to me }}
{{OBDtr| 0x0C | int32 |C800C8| FF FF FF FF | -1 | number of the used package in part 4; -1 = not used }}
{{OBDtr| 0x0C | int32 |C800C8| FF FF FF FF | -1 | number of the used package in part 4; -1 <nowiki>=</nowiki> not used }}
{{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 }}
|}
|}

Revision as of 11:00, 30 January 2008

ONI BINARY DATA
AKVA << Other file types >> CBPI
OBJC << Other BINA >> PAR3
ONIE : Oni Impact Effects
switch to XML:BINA/ONIE page
Overview @ Oni Stuff
OBD.png


Header and Part 1:

bin_r_i1.gif


Offset Type Raw Hex Value Description
0x00 int32 45 49 4E 4F ONIE Oni impact effects
0x04 int32 B8 B7 00 00 47032 47032 bytes is the length of the following impact effects part from this position
0x08 int32 02 00 00 00 2 amount of packages of part 1
0x0C int32 5E 00 00 00 94 amount of blocks of the first package of part 1 and amount of packages of part 2
0x10 int32 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)
0x14 int32 54 00 00 00 84 amount of packages of part 3
0x18 int32 20 01 00 00 288 amount of packages of part 4
0x1C int32 69 01 00 00 361 amount of packages of part 5
0x20 int32 DF 00 00 00 223 amount of packages of part 6
Below follows the first entry of the first block of the first package of part 1.
0x00 char[132] 44 65 66... Default impact effect name (notes)


Part 2:


bin_r_i2.gif


Offset Type Raw Hex Value Description
Below follows the first package of part 2
0x00 int16 00 00 0 part 2 ID
0x02 int16 00 00 0 number of used packages in part 6
0x04 int32 DF 00 00 00 223 start package in part 6


Part 3:


bin_r_i3.gif


Offset Type Raw Hex Value Description
Below follows the first package of part 3
0x00 char[64] 77 31 30... w10_sni_x02 particle name (06193-3RAPw10_sni_x02.BINA)
0x40 int32 A8 67 7A 00 7A 67 A8 old offset link
0x44 int32 00 00 00 00 0 modifier?; if yes, the following modifiers are possible:
0 - any
1 - heavy
2 - medium
3 - light
0x48 int32 05 00 00 00 5 identifier (bitset?) for the next row
0x4C 00 00 00 00 unknown; 2 shorts or a float; depends on the identifier above
0x50 00 00 00 00 unknown; always zero


Part 4:


bin_r_i4.gif


Offset Type Raw Hex Value Description
Below follows the first package of part 4
0x00 char[32] not used sound name (link to an OSBD file)
0x20 int16 CD CD 52685 unknown; maybe it's garbage that belongs to the sound name field above
0x22 int16 CD CD 52685 unknown; maybe it's garbage that belongs to the sound name field above
0x24 int32 00 00 00 00 not used old offset link
0x28 int16 01 00 1 AI can hear; 0 = no, 1 = yes
0x2A int16 03 00 3 sound type; the following types are possible:
0 - unimportant
1 - interesting
2 - danger
3 - melee
4 - gunfire
0x2C float 00 00 16 43 150.000000 earshot radius


Part 5:


bin_r_i5.gif


Offset Type Raw Hex Value Description
Below follows the first package of part 5
0x00 int16 37 00 55 number of the used impact of the first package of part 1
0x02 int16 01 00 1 number of the used material of the second package of part 1
0x04 int16 00 00 0 component; the following components are possible:
0 - impact
1 - damage
2 - projectile
0x06 int16 00 00 0 modifier; the following modifiers are possible:
0 - any
1 - heavy
2 - medium
3 - light
0x08 int16 01 00 1 number of the used packages in part 3
0x0A int16 00 00 0 unknown; looks like garbage to me
0x0C int32 FF FF FF FF -1 number of the used package in part 4; -1 = not used
0x10 int32 53 00 00 00 83 start package in part 3


Part 6:


bin_r_i6.gif


Offset Type Raw Hex Value Description
Below follows the first package of part 6
0x00 int16 01 00 1 number of the used material of the second package of part 1
0x02 int16 01 00 1 number of used packages in part 5
0x04 int32 54 01 00 00 340 start package in part 5




ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
OBJC << Other BINA >> PAR3
ONIE : Oni Impact Effects
[[OBD:File types/{{{family}}}|{{{family}}} file]]