OBD:BINA/SABD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (terminology; yes, it appears that SASA is just a duplicative "Sound Animation Sound Animation", and 'T' is simply "Tag"; also, I think I was wrong about Sound Animation being pluralized)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{OBD BINA Header|align=center|prev=PAR3|type=SABD|next=TMBD|name=Sound Animations Binary Data|onistuff=b_sa}}
{{OBD BINA Header|align=center|prev=PAR3|type=SABD|next=TMBD|name=Sound Animation Binary Data|onistuff=b_sa}}
----
----
----
----
Line 9: Line 9:
{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtr|0x00|char[4] |FF0000 | 44 42 41 53 | SABD        | sound animations binary data }}
{{OBDtr|0x00|char[4] |FF0000 | 44 42 41 53 | SABD        | Sound Animation Binary Data }}
{{OBDtr|0x04|in32    |FFFF00 | 3C 0C 00 00 | 3132        | 3132 bytes is the length of the following sound animations part from this position }}
{{OBDtr|0x04|in32    |FFFF00 | 3C 0C 00 00 | 3132        | 3132 bytes is the length of the following sound animations part from this position }}


{{OBDtrBK|SAFT header}}
{{OBDtrBK|SAFT header}}
{{OBDtr|0x00|char[4] |FFC8C8 | 53 41 46 54 | SAFT        | sound animation family? }}
{{OBDtr|0x00|char[4] |FFC8C8 | 53 41 46 54 | SAFT        | Sound Animation Family Tag }}
{{OBDtr|0x04|int32  |FFFFC8 | 04 00 00 00 | 4          | 4 bytes is the length of the following SAFT part }}
{{OBDtr|0x04|int32  |FFFFC8 | 04 00 00 00 | 4          | 4 bytes is the length of the following SAFT part }}
{{OBDtr|0x08|        |C8FFC8 | 06 00 00 00 |            | unused; probably version number }}
{{OBDtr|0x08|        |C8FFC8 | 06 00 00 00 |            | version number; unused }}


{{OBDtrBK|SAVT header}}
{{OBDtrBK|SAVT header}}
{{OBDtr|0x00|char[4] |C8FFFF | 53 41 56 54 | SAVT        | sound animation variant? }}
{{OBDtr|0x00|char[4] |C8FFFF | 53 41 56 54 | SAVT        | Sound Animation Variant Tag }}
{{OBDtr|0x04|int32  |FFC8FF | 20 00 00 00 | 32          | 32 bytes is the length of the following SAVT part }}
{{OBDtr|0x04|int32  |FFC8FF | 20 00 00 00 | 32          | 32 bytes is the length of the following SAVT part }}
{{OBDtr|0x08|char[32]|FFC800 |            | "Any"      | character type name; matched to the first name in 01666-any.[[OBD:ONCV|ONCV]] }}
{{OBDtr|0x08|char[32]|FFC800 |            | "Any"      | character type name; matched to the first name in ONCVany }}


{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr|0x00|char[4] |C800C8 | 53 41 53 41 | SASA        | sound animation sound assignment }}
{{OBDtr|0x00|char[4] |C800C8 | 53 41 53 41 | SASA        | Sound Animation Sound Animation }}
{{OBDtr|0x04|int32  |C87C64 | 84 00 00 00 | 132        | 32 bytes is the length of the following SASA part }}
{{OBDtr|0x04|int32  |C87C64 | 84 00 00 00 | 132        | 32 bytes is the length of the following SASA part }}
{{OBDtr|0x08|int32  |B0C3D4 | 00 00 00 00 | 0          | start frame of the sound }}
{{OBDtr|0x08|int32  |B0C3D4 | 00 00 00 00 | 0          | start frame of the sound }}
{{OBDtr|0x0C|char[32]|E7CEA5 |            | "Any"      | modifier }}
{{OBDtr|0x0C|char[32]|E7CEA5 |            | "Any"      | modifier }}
{{OBDtr|0x2C|char[32]|FFDDDD |            | "Animation" | assignment type }}
{{OBDtr|0x2C|char[32]|FFDDDD |            | "Animation" | assignment type }}
{{OBDtr|0x4C|char[32]|64AAAA |            | "KONOKOacid"| animation name; reference to 02465-KONOKOacid.[[OBD:TRAM|TRAM]]; this field is used only when the assignment type is "Animation" }}
{{OBDtr|0x4C|char[32]|64AAAA |            | "KONOKOacid"| animation name; reference to TRAMKONOKOacid; this field is used only when the assignment type is "Animation" }}
{{OBDtr|0x6C|char[32]|EBEBEB |            | "splash_bubbles"| sound name; reference to 08984-splash_bubbles.imp.[[OBD:OSBD|OSBD]] }}
{{OBDtr|0x6C|char[32]|EBEBEB |            | "splash_bubbles"| sound name; reference to OSBDsplash_bubbles.imp }}
|}
|}


Line 75: Line 75:
;NOTE
;NOTE
:Only the following 3 files have SASA parts in Oni:
:Only the following 3 files have SASA parts in Oni:
:*'''DBASAny.BINA'''
:*'''BINADBASAny'''
:*'''DBASKonoko.BINA'''
:*'''BINADBASKonoko'''
:*'''DBASShinatama_Zombie.BINA'''
:*'''BINADBASShinatama_Zombie'''
:All the others have only a '''SAFT''' part and a '''SAVT''' part.
:All the others have only a '''SAFT''' part and a '''SAVT''' part.
:The example above is for '''DBASAny.BINA'''
:The example above is for '''BINADBASAny'''.




----
----
----
----
{{OBD BINA Footer|align=right|prev=PAR3|type=SABD|next=TMBD|name=Sound Animations Binary Data|onistuff=b_sa}}
{{OBD BINA Footer|align=right|prev=PAR3|type=SABD|next=TMBD|name=Sound Animation Binary Data|onistuff=b_sa|family=Character}}


{{OBD}}
{{OBD}}

Latest revision as of 00:07, 9 December 2023

ONI BINARY DATA
AKVA << Other file types >> CBPI
PAR3 << Other BINA >> TMBD
SABD : Sound Animation Binary Data
switch to XML:BINA/SABD page
Overview @ Oni Stuff
OBD.png



Bin r sa.gif


Offset Type Raw Hex Value Description
0x00 char[4] 44 42 41 53 SABD Sound Animation Binary Data
0x04 in32 3C 0C 00 00 3132 3132 bytes is the length of the following sound animations part from this position
SAFT header
0x00 char[4] 53 41 46 54 SAFT Sound Animation Family Tag
0x04 int32 04 00 00 00 4 4 bytes is the length of the following SAFT part
0x08 06 00 00 00 version number; unused
SAVT header
0x00 char[4] 53 41 56 54 SAVT Sound Animation Variant Tag
0x04 int32 20 00 00 00 32 32 bytes is the length of the following SAVT part
0x08 char[32] "Any" character type name; matched to the first name in ONCVany
First element (black outline)
0x00 char[4] 53 41 53 41 SASA Sound Animation Sound Animation
0x04 int32 84 00 00 00 132 32 bytes is the length of the following SASA part
0x08 int32 00 00 00 00 0 start frame of the sound
0x0C char[32] "Any" modifier
0x2C char[32] "Animation" assignment type
0x4C char[32] "KONOKOacid" animation name; reference to TRAMKONOKOacid; this field is used only when the assignment type is "Animation"
0x6C char[32] "splash_bubbles" sound name; reference to OSBDsplash_bubbles.imp

Possible values for the SASA modifier field:

  • Any
  • Crouch (never used)
  • Jump (never used)
  • Heavy Damage - used when the animation has an attack with >= 15 hit points
  • Medium Damage - used when the animation has an attack with >= 10 hit points
  • Light Damage

Possible values for the SASA assignment type field:

  • Any (never used)
  • Animation (requires the animation name field)
  • Block
  • Draw Weapon
  • Fall
  • Fly
  • Getting Hit
  • Holster
  • Kick
  • Knockdown
  • Land
  • Jump
  • Pickup
  • Punch
  • Reload Pistol
  • Reload Rifle
  • Reload Stream
  • Reload Superball
  • Reload Vandegraf
  • Reload Scram Cannon
  • Reload Mercury Bow
  • Reload Screamer
  • Run
  • Slide
  • Stand
  • Startle
  • Walk
  • Powerup
  • Roll
  • Falling Flail


NOTE
Only the following 3 files have SASA parts in Oni:
  • BINADBASAny
  • BINADBASKonoko
  • BINADBASShinatama_Zombie
All the others have only a SAFT part and a SAVT part.
The example above is for BINADBASAny.




ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
PAR3 << Other BINA >> TMBD
SABD : Sound Animation Binary Data
Character file