OBD:BINA/SABD: Difference between revisions
< OBD:BINA
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 | {{OBD BINA Header|align=center|prev=PAR3|type=SABD|next=TMBD|name=Sound Animation Binary Data|onistuff=b_sa}} | ||
---- | ---- | ||
---- | ---- | ||
[[Image:Bin_r_sa.gif]] | |||
{ | {{Table}} | ||
{{OBDth}} | |||
| | {{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 }} | |||
{{OBDtrBK|SAFT header}} | |||
| | {{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 }} | ||
| | {{OBDtr|0x08| |C8FFC8 | 06 00 00 00 | | version number; unused }} | ||
| | {{OBDtrBK|SAVT header}} | ||
| 3132 | {{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|0x08|char[32]|FFC800 | | "Any" | character type name; matched to the first name in ONCVany }} | ||
| | |||
{{OBDtrBK}} | |||
| | {{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|0x08|int32 |B0C3D4 | 00 00 00 00 | 0 | start frame of the sound }} | ||
| | {{OBDtr|0x0C|char[32]|E7CEA5 | | "Any" | modifier }} | ||
{{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" }} | ||
{{OBDtr|0x6C|char[32]|EBEBEB | | "splash_bubbles"| sound name; reference to OSBDsplash_bubbles.imp }} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| 32 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| 132 | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
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 | :Only the following 3 files have SASA parts in Oni: | ||
:*''' | :*'''BINADBASAny''' | ||
:*''' | :*'''BINADBASKonoko''' | ||
:*''' | :*'''BINADBASShinatama_Zombie''' | ||
:All the others have only a ''' | :All the others have only a '''SAFT''' part and a '''SAVT''' part. | ||
:The example above is for ''' | :The example above is for '''BINADBASAny'''. | ||
---- | ---- | ||
---- | ---- | ||
{{OBD BINA Footer|align=right|prev=PAR3|type=SABD|next=TMBD|name=Sound | {{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
|
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 |