OBD:BINA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (changed family)
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> BINA
{{OBD_File_Header | type=BINA | prev=AKVA | next=CBPI | name=Binary Data | family=General | align=center}}


==Introduction==
"BINA" is short for "binary data", which refers to chunks of data that are stored in the [[separate file]] when available (Windows demo, Mac) 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, is a wrapper for still more tags (see below).


<CENTER>[[OBD:AKVA|<==]] <FONT SIZE=5>BINA : Binary data</FONT> [[OBD:CBPI|==>]]<BR>
==File description==
<FONT SIZE=2>[[OBD:File types/Start|Start file]]</FONT></CENTER>
[[image:bina_all.gif]]


{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | res_id  |FF0000| 01 67 23 00 | 9063      | 09063-CJBOCharacter.BINA }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3        | level 3 }}
{{OBDtr| 0x08 | int32    |FFC8C8| 34 8B 00 00 | 35636    | size of the part in the raw/separate file in bytes }}
{{OBDtr| 0x0C | offset  |FFFFC8| 40 DD E4 00 |00 E4 DD 40| at this position starts the part in the raw/separate file }}
{{OBDtr| 0x10 | char[16] |C8FFC8| AD DE      | dead      | unused }}
|}


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bina_all.gif
==Overview of BINA types==
 
The different sub-tags of BINA are:


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{Table}}
|- BGCOLOR="#FFDDBB"
|-BGCOLOR="#E9E9E9"
! WIDTH=15% | Hex
!COLSPAN=8|[[OBD:BINA/OBJC|OBJC]]: Objects...
! WIDTH=15% | Translation
|-ALIGN=CENTER
! WIDTH=70% | Meaning
|WIDTH=12%|[[OBD:BINA/OBJC/CHAR|CHAR]]<BR>Character
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|WIDTH=13%|[[OBD:BINA/OBJC/CMBT|CMBT]]<BR>Combat profile
| BGCOLOR="#FF0000" | 01 67 23 00
|WIDTH=12%|[[OBD:BINA/OBJC/CONS|CONS]]<BR>Console
| 9063
|WIDTH=13%|[[OBD:BINA/OBJC/DOOR|DOOR]]<BR>Door
| ALIGN=LEFT | 09063-CJBOCharacter.BINA
|WIDTH=12%|[[OBD:BINA/OBJC/FLAG|FLAG]]<BR>Flag
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|WIDTH=13%|[[OBD:BINA/OBJC/FURN|FURN]]<BR>Furniture
| BGCOLOR="#FFFF00" | 01 00 00 06
|WIDTH=12%|[[OBD:BINA/OBJC/MELE|MELE]]<BR>Melee profile
| 3
|WIDTH=13%|[[OBD:BINA/OBJC/NEUT|NEUT]]<BR>Neutral behaviour
| ALIGN=LEFT | level 3
|-ALIGN=CENTER
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|[[OBD:BINA/OBJC/PART|PART]]<BR>Particle
| BGCOLOR="#FFC8C8" | 34 8B 00 00
|[[OBD:BINA/OBJC/PATR|PATR]]<BR>Patrol path
| 35636
|[[OBD:BINA/OBJC/PWRU|PWRU]]<BR>Powerup
| ALIGN=LEFT | This is the size of the part in the raw file in bytes.
|[[OBD:BINA/OBJC/SNDG|SNDG]]<BR>Sound Group
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|[[OBD:BINA/OBJC/TRGV|TRGV]]<BR>Trigger Volume
| BGCOLOR="#FFFFC8" | 40 DD E4 00
|[[OBD:BINA/OBJC/TRIG|TRIG]]<BR>Trigger
| E4 DD 40
|[[OBD:BINA/OBJC/TURR|TURR]]<BR>Turret
| ALIGN=LEFT | At this line begins the part in the raw file.
|[[OBD:BINA/OBJC/WEAP|WEAP]]<BR>Weapon
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-BGCOLOR="#E9E9E9"
| BGCOLOR="#C8FFC8" | AD DE
!COLSPAN=8|[[OBD:BINA/ONIE|ONIE]]: Oni Impact Effects
| dead
|-BGCOLOR="#E9E9E9"
| ALIGN=LEFT | not used
!COLSPAN=8|[[OBD:BINA/PAR3|PAR3]]: 3D Particle
|-BGCOLOR="#E9E9E9"
!COLSPAN=8|[[OBD:BINA/SABD|SABD]]: Sound Animations Binary Data
|-BGCOLOR="#E9E9E9"
!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).


The following tables link to the RAW file parts of the different BINA files.
{{Table}}
==Global BINA==
|-BGCOLOR="#E9E9E9"
These are stored in '''level0_Final''' and are available globally.
! WIDTH=30% | Filename || WIDTH=35% | Meaning || WIDTH=35% | Function
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
|-
|- BGCOLOR="#FFDDBB" VALIGN=TOP
| [[OBD:BINA/PAR3|3RAP''particle_name''.BINA]]
! Filename
| PAR3 = 3D particles
! Meaning
| Explosions, projectiles, flashes, trails... everything
! Function
|-
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| [[OBD:BINA/OBJC/CMBT|CJBO'''Combat'''.BINA]]
| ALIGN=LEFT | 3RAP''particle_name''.BINA
| Combat profile; [[OBD:BINA/OBJC|OBJC]] = Objects
| 3D particles (PAR3)
| Stores specific (non-melee) behavior: weapon logic, etc.
| ALIGN=LEFT | Primarily weapon particles (explosions, projectiles)
|-
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| [[OBD:BINA/ONIE|EINO'''impact_effects'''.BINA]]
| ALIGN=LEFT | [[OBD:BINA/Combat|CJBOCombat.BINA]]
| ONIE = Oni Impact Effects
| Combat profile (OBJC = Object Class?)
| Footsteps, combat sounds, etc.
| ALIGN=LEFT | Stores specific (non-melee) behaviour : weapon logic etc
|-
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| [[OBD:BINA/OBJC/MELE|CJBO'''Melee Profile'''.BINA]]
| ALIGN=LEFT | EINOimpact_effects.BINA
| Melee profile; [[OBD:BINA/OBJC|OBJC]] = Objects
| (ONIE = Oni Impact Effects)
| Melee profiles
| ALIGN=LEFT | Footsteps etc?
|-
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| [[OBD:BINA/SABD|DBAS''character_name''.BINA]]
| ALIGN=LEFT | [[OBD:BINA/Melee Profile|CJBOMelee Profile.BINA]]
| SABD = Sound Animations Binary Data
| Melee profile (OBJC = Object Class?)
| Linked to (by name) from the [[OBD:ONCV|ONCV]] files
| ALIGN=LEFT | Melee profiles (what else?)
|-
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| [[OBD:BINA/TMBD|DBMT'''TextureMaterials'''.BINA]]
| ALIGN=LEFT | DBAS''character_name''.BINA
| TMBD = Texture Materials Binary Data
| (SABD = Spawn (Array?) Binary Data)
| Assigns a material to a texture
| ALIGN=LEFT | Linked to (by name) from the [[OBD:ONCV|ONCV]] files.
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Texture_Materials|DBTMTextureMaterials]]
| (TMBD = Texture Materials Binary Data)
| ALIGN=LEFT | ...
|}
|}


==Level-specific BINA==
==Level-specific BINA types (OBJC)==
These are stored on a level-by-level basis. The following table links to the RAW parts and shows whenever a BINA is absent from a level (black field).
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.


All level-specific BINA have the CJBO (OBJC) prefix and the BINA extension.
{{Table}}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
|-BGCOLOR="#E9E9E9"
|- BGCOLOR="#FFDDBB" VALIGN=TOP
! 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
|-ALIGN=CENTER
! WIDTH=5% | 1
| ALIGN=LEFT | [[OBD:BINA/OBJC/CHAR|CJBO'''Character'''.BINA]]     ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 2
|-ALIGN=CENTER
! WIDTH=5% | 3
| ALIGN=LEFT | [[OBD:BINA/OBJC/CONS|CJBO'''Console'''.BINA]]       ||X||X||X||X||X||X||X||X||X||&nbsp;||&nbsp;||X||X||X
! WIDTH=5% | 4
|-ALIGN=CENTER
! WIDTH=5% | 6
| ALIGN=LEFT | [[OBD:BINA/OBJC/DOOR|CJBO'''Door'''.BINA]]           ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 8
|-ALIGN=CENTER
! WIDTH=5% | 9
| ALIGN=LEFT | [[OBD:BINA/OBJC/FLAG|CJBO'''Flag'''.BINA]]           ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 10
|-ALIGN=CENTER
! WIDTH=5% | 11
| ALIGN=LEFT | [[OBD:BINA/OBJC/FURN|CJBO'''Furniture'''.BINA]]     ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 12
|-ALIGN=CENTER
! WIDTH=5% | 13
| ALIGN=LEFT | [[OBD:BINA/OBJC/NEUT|CJBO'''Neutral'''.BINA]]       ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 14
|-ALIGN=CENTER
! WIDTH=5% | 18
| ALIGN=LEFT | [[OBD:BINA/OBJC/PART|CJBO'''Particle'''.BINA]]       ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
! WIDTH=5% | 19
|-ALIGN=CENTER
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/OBJC/PATR|CJBO'''Patrol_Path'''.BINA]]   ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
| ALIGN=LEFT | [[OBD:BINA/Character|Character]]
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/PWRU|CJBO'''PowerUp'''.BINA]]       ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
| X
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/SNDG|CJBO'''Sound'''.BINA]]         ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
| X
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/TRGV|CJBO'''Trigger_Volume'''.BINA]] ||X||X||X||X||X||X||X||X||X||X||X||X||X||X
| X
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/TRIG|CJBO'''Trigger'''.BINA]]       ||X||X||&nbsp;||&nbsp;||X||X||&nbsp;||&nbsp;||X||&nbsp;||X||X||X||X
| X
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/TURR|CJBO'''Turret'''.BINA]]         ||&nbsp;||X||&nbsp;||&nbsp;||&nbsp;||X||&nbsp;||&nbsp;||X||&nbsp;||X||X||X||X
| X
|-ALIGN=CENTER
| X
| ALIGN=LEFT | [[OBD:BINA/OBJC/WEAP|CJBO'''Weapon'''.BINA]]         ||&nbsp;||&nbsp;||X||&nbsp;||&nbsp;||X||X||X||X||X||&nbsp;||&nbsp;||X||X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Console|Console]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
|bgcolor="black"|
|bgcolor="black"|
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Door|Door]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Flag|Flag]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Furniture|Furniture]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Neutral|Neutral]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Particle|Particle]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Patrol_Path|Patrol_Path]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/PowerUp|PowerUp]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Sound|Sound]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Trigger_Volume|Trigger_Volume]]
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Trigger|Trigger]]
| X
| X
|bgcolor="black"|
|bgcolor="black"|
| X
| X
|bgcolor="black"|
|bgcolor="black"|
| X
|bgcolor="black"|
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Turret|Turret]]
|bgcolor="black"|
| X
|bgcolor="black"|
|bgcolor="black"|
|bgcolor="black"|
| X
|bgcolor="black"|
|bgcolor="black"|
| X
|bgcolor="black"|
| X
| X
| X
| X
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=LEFT | [[OBD:BINA/Weapon|Weapon]]
|bgcolor="black"|
|bgcolor="black"|
| X
|bgcolor="black"|
|bgcolor="black"|
| X
| X
| X
| X
| X
|bgcolor="black"|
|bgcolor="black"|
| X
| X
|}
|}


{{OBD_File_Footer | type=BINA | prev=AKVA | next=CBPI | name=Binary Data | family=General}}


<HR>
{{OBD}}
<CENTER>[[OBD:AKVA|<==]] <B>BINA</B> [[OBD:CBPI|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> BINA

Latest revision as of 01:57, 8 December 2023

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

Introduction

"BINA" is short for "binary data", which refers to chunks of data that are stored in the separate file when available (Windows demo, Mac) 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, is a wrapper for still more tags (see below).

File description

Bina all.gif

Offset Type Raw Hex Value Description
0x00 res_id 01 67 23 00 9063 09063-CJBOCharacter.BINA
0x04 lev_id 01 00 00 06 3 level 3
0x08 int32 34 8B 00 00 35636 size of the part in the raw/separate file in bytes
0x0C offset 40 DD E4 00 00 E4 DD 40 at this position starts the part in the raw/separate file
0x10 char[16] AD DE dead unused

Overview of BINA types

The different sub-tags of BINA are:

OBJC: Objects...
CHAR
Character
CMBT
Combat profile
CONS
Console
DOOR
Door
FLAG
Flag
FURN
Furniture
MELE
Melee profile
NEUT
Neutral behaviour
PART
Particle
PATR
Patrol path
PWRU
Powerup
SNDG
Sound Group
TRGV
Trigger Volume
TRIG
Trigger
TURR
Turret
WEAP
Weapon
ONIE: Oni Impact Effects
PAR3: 3D Particle
SABD: Sound Animations Binary Data
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).

Filename Meaning Function
3RAPparticle_name.BINA PAR3 = 3D particles Explosions, projectiles, flashes, trails... everything
CJBOCombat.BINA Combat profile; OBJC = Objects Stores specific (non-melee) behavior: weapon logic, etc.
EINOimpact_effects.BINA ONIE = Oni Impact Effects Footsteps, combat sounds, etc.
CJBOMelee Profile.BINA Melee profile; OBJC = Objects Melee profiles
DBAScharacter_name.BINA SABD = Sound Animations Binary Data Linked to (by name) from the ONCV files
DBMTTextureMaterials.BINA TMBD = Texture Materials Binary Data Assigns a material to a texture

Level-specific BINA types (OBJC)

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.

BINA file / Level 1 2 3 4 6 8 9 10 11 12 13 14 18 19
CJBOCharacter.BINA X X X X X X X X X X X X X X
CJBOConsole.BINA X X X X X X X X X     X X X
CJBODoor.BINA X X X X X X X X X X X X X X
CJBOFlag.BINA X X X X X X X X X X X X X X
CJBOFurniture.BINA X X X X X X X X X X X X X X
CJBONeutral.BINA X X X X X X X X X X X X X X
CJBOParticle.BINA X X X X X X X X X X X X X X
CJBOPatrol_Path.BINA X X X X X X X X X X X X X X
CJBOPowerUp.BINA X X X X X X X X X X X X X X
CJBOSound.BINA X X X X X X X X X X X X X X
CJBOTrigger_Volume.BINA X X X X X X X X X X X X X X
CJBOTrigger.BINA X X     X X     X   X X X X
CJBOTurret.BINA   X       X     X   X X X X
CJBOWeapon.BINA     X     X X X X X     X X
ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary Data
General file