OBD:BINA: Difference between revisions

90 bytes removed ,  30 November 2025
m
mentioned that OniX uses .sep as well; wording
(built one factoid into an intro; general wording)
m (mentioned that OniX uses .sep as well; wording)
 
(3 intermediate revisions by 3 users not shown)
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=General | align=center}}


==Introduction==
==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).
"BINA" is short for "binary data", which refers to chunks of data that are stored in the [[separate file]] when available (Windows demo, Mac, [[OniX]]) or in the [[raw file]] otherwise (Windows retail). 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==
==File description==
[[image:bina_all.gif]]
[[Image:bina_all.gif]]


{{Table}}
{{Table}}
Line 11: Line 11:
{{OBDtr| 0x00 | res_id  |FF0000| 01 67 23 00 | 9063      | 09063-CJBOCharacter.BINA }}
{{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| 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| 0x08 | uint32  |FFC8C8| 34 8B 00 00 | 35636    | size of the data in the raw/separate file }}
{{OBDtr| 0x0C | offset  |FFFFC8| 40 DD E4 00 |00 E4 DD 40| at this position starts the part in the raw/separate file }}
{{OBDtr| 0x0C | offset  |FFFFC8| 40 DD E4 00 |00 E4 DD 40| offset of the data in the raw/separate file }}
{{OBDtr| 0x10 | char[16] |C8FFC8| AD DE      | dead      | unused }}
|}
|}


==Overview of BINA types==
==Overview of BINA types==
Line 82: Line 80:
| Assigns a material to a texture
| Assigns a material to a texture
|}
|}


==Level-specific BINA types (OBJC)==
==Level-specific BINA types (OBJC)==
Line 120: Line 117:
|}
|}


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


{{OBD}}
{{OBD}}