OBD:BINA/SABD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (added family to footer template call)
Line 84: Line 84:
----
----
----
----
{{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 Animations Binary Data|onistuff=b_sa|family=Character}}


{{OBD}}
{{OBD}}

Revision as of 23:46, 8 December 2023

ONI BINARY DATA
AKVA << Other file types >> CBPI
PAR3 << Other BINA >> TMBD
SABD : Sound Animations 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 animations 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?
0x04 int32 04 00 00 00 4 4 bytes is the length of the following SAFT part
0x08 06 00 00 00 unused; probably version number
SAVT header
0x00 char[4] 53 41 56 54 SAVT sound animation variant?
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 01666-any.ONCV
First element (black outline)
0x00 char[4] 53 41 53 41 SASA sound animation sound assignment
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 02465-KONOKOacid.TRAM; this field is used only when the assignment type is "Animation"
0x6C char[32] "splash_bubbles" sound name; reference to 08984-splash_bubbles.imp.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
Only the following 3 files have SASA parts in Oni:
  • DBASAny.BINA
  • DBASKonoko.BINA
  • DBASShinatama_Zombie.BINA
All the others have only a SAFT part and a SAVT part.
The example above is for DBASAny.BINA




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