OBD:BINA: Difference between revisions

built one factoid into an intro; general wording
(OBJC means "Objects", not "Object Collection")
(built one factoid into an intro; general wording)
Line 1: Line 1:
{{OBD_File_Header | type=BINA | prev=AKVA | next=CBPI | name=Binary Data | family=Generic | align=center}}
{{OBD_File_Header | type=BINA | prev=AKVA | next=CBPI | name=Binary Data | family=Generic | align=center}}


==Introduction==
"BINA" is short for "binary data", which refers to chunks of data that are stored in the [[separate file]] when available (Mac and Windows demo) or in the [[raw file]] otherwise (Windows). BINA is registered as a tag, but is really a wrapper for other tags. One of those tags, OBJC, in turn is a wrapper for still more tags (see below).


==File description==
==File description==
[[image:bina_all.gif]]
[[image:bina_all.gif]]


{{Table}}
{{Table}}
Line 14: Line 15:
{{OBDtr| 0x10 | char[16] |C8FFC8| AD DE      | dead      | unused }}
{{OBDtr| 0x10 | char[16] |C8FFC8| AD DE      | dead      | unused }}
|}
|}
;Version-dependence
:The binary data chunk is stored in the [[separate file]] when available (Mac and Windows demo), in the raw file otherwise (Windows).




----
==Overview of BINA types==
==Overview of BINA types==
BINA are differentiated by the layout of their raw/separate file part. The different types are:
The different sub-tags of BINA are:
 


{{Table}}
{{Table}}
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/OBJC|OBJC]] : Objects...
!COLSPAN=8|[[OBD:BINA/OBJC|OBJC]]: Objects...
|-ALIGN=CENTER
|-ALIGN=CENTER
|WIDTH=12%|[[OBD:BINA/OBJC/CHAR|CHAR]]<BR>Character
|WIDTH=12%|[[OBD:BINA/OBJC/CHAR|CHAR]]<BR>Character
Line 46: Line 42:
|[[OBD:BINA/OBJC/WEAP|WEAP]]<BR>Weapon
|[[OBD:BINA/OBJC/WEAP|WEAP]]<BR>Weapon
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/ONIE|ONIE]] : Oni Impact Effects
!COLSPAN=8|[[OBD:BINA/ONIE|ONIE]]: Oni Impact Effects
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/PAR3|PAR3]] : 3D Particle
!COLSPAN=8|[[OBD:BINA/PAR3|PAR3]]: 3D Particle
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/SABD|SABD]] : Sound Animations Binary Data
!COLSPAN=8|[[OBD:BINA/SABD|SABD]]: Sound Animations Binary Data
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/TMBD|TMBD]] : Texture Materials Binary Data
!COLSPAN=8|[[OBD:BINA/TMBD|TMBD]]: Texture Materials Binary Data
|}
|}


 
==Global BINA types==
----
These are stored in '''level0_Final''' and are available globally. The file names link to the raw/separate file parts of every BINA type (or object type, for OBJC).
==Global BINA==
 
These are stored in '''level0_Final''' and are available globally. The filenames link to the raw/separate file parts of every BINA type (or object type for [[OBD:BINA/OBJC|OBJC]]).
 


{{Table}}
{{Table}}
Line 72: Line 64:
| [[OBD:BINA/OBJC/CMBT|CJBO'''Combat'''.BINA]]
| [[OBD:BINA/OBJC/CMBT|CJBO'''Combat'''.BINA]]
| Combat profile; [[OBD:BINA/OBJC|OBJC]] = Objects
| Combat profile; [[OBD:BINA/OBJC|OBJC]] = Objects
| Stores specific (non-melee) behavior : weapon logic, etc.
| Stores specific (non-melee) behavior: weapon logic, etc.
|-
|-
| [[OBD:BINA/ONIE|EINO'''impact_effects'''.BINA]]
| [[OBD:BINA/ONIE|EINO'''impact_effects'''.BINA]]
| ONIE = Oni Impact Effects
| ONIE = Oni Impact Effects
| Footsteps, combat sounds, etc
| Footsteps, combat sounds, etc.
|-
|-
| [[OBD:BINA/OBJC/MELE|CJBO'''Melee Profile'''.BINA]]
| [[OBD:BINA/OBJC/MELE|CJBO'''Melee Profile'''.BINA]]
Line 84: Line 76:
| [[OBD:BINA/SABD|DBAS''character_name''.BINA]]
| [[OBD:BINA/SABD|DBAS''character_name''.BINA]]
| SABD = Sound Animations Binary Data
| SABD = Sound Animations Binary Data
| Linked to (by name) from the [[OBD:ONCV|ONCV]] files.
| Linked to (by name) from the [[OBD:ONCV|ONCV]] files
|-
|-
| [[OBD:BINA/TMBD|DBMT'''TextureMaterials'''.BINA]]
| [[OBD:BINA/TMBD|DBMT'''TextureMaterials'''.BINA]]
Line 92: Line 84:




----
==Level-specific BINA types (OBJC)==
==Level-specific BINA - [[OBD:BINA/OBJC|OBJC]] (Objects)==
Most BINA/OBJC files are stored on a level-by-level basis, though two global OBJCs are listed above. The file names link to the overview of every OBJC type. The table shows whether a BINA/OBJC is present in a certain level.
 
These are stored on a level-by-level basis. The filenames link to the overview of every OBJC type. The table shows whenever an [[OBD:BINA/OBJC|OBJC]] BINA is absent from a level (empty field), in the original Oni.
 


{{Table}}
{{Table}}
|-BGCOLOR="#E9E9E9"
|-BGCOLOR="#E9E9E9"
! WIDTH=30% | BINA file \ Level || WIDTH=5% | 1 || WIDTH=5% | 2 || WIDTH=5% | 3 || WIDTH=5% | 4 || WIDTH=5% | 6 || WIDTH=5% | 8 || WIDTH=5% | 9 || WIDTH=5% | 10 || WIDTH=5% | 11 || WIDTH=5% | 12 || WIDTH=5% | 13 || WIDTH=5% | 14 || WIDTH=5% | 18 || WIDTH=5% | 19
! WIDTH=30% | BINA file / Level || WIDTH=5% | 1 || WIDTH=5% | 2 || WIDTH=5% | 3 || WIDTH=5% | 4 || WIDTH=5% | 6 || WIDTH=5% | 8 || WIDTH=5% | 9 || WIDTH=5% | 10 || WIDTH=5% | 11 || WIDTH=5% | 12 || WIDTH=5% | 13 || WIDTH=5% | 14 || WIDTH=5% | 18 || WIDTH=5% | 19
|-ALIGN=CENTER
|-ALIGN=CENTER
| ALIGN=LEFT | [[OBD:BINA/OBJC/CHAR|CJBO'''Character'''.BINA]]      ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
| ALIGN=LEFT | [[OBD:BINA/OBJC/CHAR|CJBO'''Character'''.BINA]]      ||X||X||X||X||X||X||X||X||X||X||X||X||X||X