OBD:BINA/SABD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (precisions)
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)
 
(10 intermediate revisions by 4 users 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}}
----
----
----
----




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_sa.gif
[[Image:Bin_r_sa.gif]]




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtr|0x00|char[4] |FF0000 | 44 42 41 53 | SABD       | Sound Animation Binary Data }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr|0x04|in32    |FFFF00 | 3C 0C 00 00 | 3132       | 3132 bytes is the length of the following sound animations part from this position }}
| WIDTH=70% | <B>Meaning</B>
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtrBK|SAFT header}}
| BGCOLOR="#FF0000" | 44 42 41 53
{{OBDtr|0x00|char[4] |FFC8C8 | 53 41 46 54 | SAFT        | Sound Animation Family Tag }}
| SABD
{{OBDtr|0x04|int32  |FFFFC8 | 04 00 00 00 | 4           | 4 bytes is the length of the following SAFT part }}
| ALIGN=LEFT | sound animations binary data
{{OBDtr|0x08|        |C8FFC8 | 06 00 00 00 |             | version number; unused }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
 
| BGCOLOR="#FFFF00" | 3C&nbsp;0C&nbsp;00&nbsp;00
{{OBDtrBK|SAVT header}}
| 3132
{{OBDtr|0x00|char[4] |C8FFFF | 53 41 56 54 | SAVT        | Sound Animation Variant Tag }}
| ALIGN=LEFT | 3132 bytes is the length of the following sound animations part from this position
{{OBDtr|0x04|int32  |FFC8FF | 20 00 00 00 | 32         | 32 bytes is the length of the following SAVT part }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
{{OBDtr|0x08|char[32]|FFC800 |            | "Any"      | character type name; matched to the first name in ONCVany }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the family part (not edged in the image).</FONT>
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtrBK}}
| BGCOLOR="#FFC8C8" | 53 41 46 54
{{OBDtr|0x00|char[4] |C800C8 | 53 41 53 41 | SASA        | Sound Animation Sound Animation }}
| TFAS
{{OBDtr|0x04|int32  |C87C64 | 84 00 00 00 | 132         | 32 bytes is the length of the following SASA part }}
| ALIGN=LEFT | totoro family animation sound ?
{{OBDtr|0x08|int32  |B0C3D4 | 00 00 00 00 | 0           | start frame of the sound }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr|0x0C|char[32]|E7CEA5 |            | "Any"      | modifier }}
| BGCOLOR="#FFFFC8" | 04 00 00 00
{{OBDtr|0x2C|char[32]|FFDDDD |            | "Animation" | assignment type }}
| 4
{{OBDtr|0x4C|char[32]|64AAAA |            | "KONOKOacid"| animation name; reference to TRAMKONOKOacid; this field is used only when the assignment type is "Animation" }}
| ALIGN=LEFT | 4 bytes is the length of the following family part
{{OBDtr|0x6C|char[32]|EBEBEB |            | "splash_bubbles"| sound name; reference to OSBDsplash_bubbles.imp }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 06 00 00 00
| 6
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the variant part (not edged in the image).</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 53 41 56 54
| TVAS
| ALIGN=LEFT | totoro variant animation sound ?
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 20 00 00 00
| 32
| ALIGN=LEFT | 32 bytes is the length of the following variant part
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>Any</TT>
| ALIGN=LEFT | character variant name; reference to 01666-any.[[OBD:ONCV|ONCV]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the ASAS part.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 53 41 53 41
| ASAS
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 84 00 00 00
| 132
| ALIGN=LEFT | 32 bytes is the length of the following ASAS part
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" | 00 00 00 00
| 0
| ALIGN=LEFT | start frame of the sound
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" COLSPAN=2 | <TT>Any</TT>
| ALIGN=LEFT | modifier
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" COLSPAN=2 | <TT>Animation</TT>
| ALIGN=LEFT | animation type
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" COLSPAN=2 | <TT>KONOKOacid</TT>
| ALIGN=LEFT | animation name; reference to 02465-KONOKOacid.[[OBD:TRAM|TRAM]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" COLSPAN=2 | <TT>splash_bubbles</TT>
| ALIGN=LEFT | sound name; reference to 08984-splash_bubbles.imp.[[OBD:OSBD|OSBD]]
|}
|}
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
;NOTE
:Only the following 3 files have ASAS parts (sound assignments) 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 '''TFAS''' part and a '''TVAS''' 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'''.
;SABD
:Could it be "Sound Assignment" rather than "Sound Animation"?




----
----
----
----
{{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}}

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