OBD:File types: Difference between revisions
m (added short ledes under BINA and OBJC sections) |
(rewrote the lede to hopefully be clearer, and incorporated the hatnotes) |
||
Line 1: | Line 1: | ||
{{OBD Home}} | {{OBD Home}} | ||
'''File types''' are what we call Oni's different resource types, even though these resources are combined together into a few large files on disk (see [[Instance file]] to learn about them). Each type of resource or "file" is designated by a [[wp:FourCC|FourCC]], commonly referred to as a "tag" in other modding communities. Each file type is made up of fields with individual pieces of data (see [[OBD:Data types]] to learn how they're stored). | |||
: | |||
There are 135 | There are 135 file types documented below – 87 regular types, 2 wrapper types (BINA and OBJC), 4 BINA subtypes, 16 BINA/OBJC subtypes, 16 defunct types, and 10 unused types. There is a less technical set of documentation in the [[XML]] namespace for most of the file types, but the database below is our core reference for the file format and thus is the ultimate authority from which we create the XML documentation and our modding tools. | ||
For convenience, the BINA and BINA/OBJC tags are listed in the "All tags" table, but redirect to their own separate tables below that. | For convenience, the BINA and BINA/OBJC tags are listed in the "All tags" table, but redirect to their own separate tables below that. The unused and defunct tags are listed only in their separate tables at the bottom. | ||
{{TOCfloat}} | {{TOCfloat}} | ||
{| style="white-space:nowrap; border-width:0px" | {| style="white-space:nowrap; border-width:0px" | ||
Line 15: | Line 14: | ||
|View the below resource types grouped by purpose. | |View the below resource types grouped by purpose. | ||
|- | |- | ||
|•[[OBD:File types/Character|Character]] | |• [[OBD:File types/Character|Character]] | ||
|- | |- | ||
|•[[OBD:File types/Message|Interface]] | |• [[OBD:File types/Message|Interface]] | ||
|- | |- | ||
|•[[OBD:File types/Level|Level]] | |• [[OBD:File types/Level|Level]] | ||
|- | |- | ||
|•[[OBD:File types/Generic|Other]] | |• [[OBD:File types/Generic|Other]] | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
Line 35: | Line 34: | ||
==All used tags== | ==All used tags== | ||
Here are the 109 file types that Oni actually uses, or 107 if you don't count the wrapper types "BINA" and "OBJC". The regular types' | Here are the 109 file types that Oni actually uses, or 107 if you don't count the wrapper types "BINA" and "OBJC". The regular types' tag codes in this table link to their byte-level documentation, and the BINA and OBJC tag codes direct you to the lower tables devoted to those collections. (There are actually 105 entries in this table since four OBJC subtypes have the same tag codes as regular types, as marked by the "also see" notes.) | ||
{| style="white-space:nowrap" width=100% | {| style="white-space:nowrap" width=100% | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100% | {| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9;" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !Tag |
Revision as of 19:54, 5 December 2023
File types are what we call Oni's different resource types, even though these resources are combined together into a few large files on disk (see Instance file to learn about them). Each type of resource or "file" is designated by a FourCC, commonly referred to as a "tag" in other modding communities. Each file type is made up of fields with individual pieces of data (see OBD:Data types to learn how they're stored).
There are 135 file types documented below – 87 regular types, 2 wrapper types (BINA and OBJC), 4 BINA subtypes, 16 BINA/OBJC subtypes, 16 defunct types, and 10 unused types. There is a less technical set of documentation in the XML namespace for most of the file types, but the database below is our core reference for the file format and thus is the ultimate authority from which we create the XML documentation and our modding tools.
For convenience, the BINA and BINA/OBJC tags are listed in the "All tags" table, but redirect to their own separate tables below that. The unused and defunct tags are listed only in their separate tables at the bottom.
|
|
All used tags
Here are the 109 file types that Oni actually uses, or 107 if you don't count the wrapper types "BINA" and "OBJC". The regular types' tag codes in this table link to their byte-level documentation, and the BINA and OBJC tag codes direct you to the lower tables devoted to those collections. (There are actually 105 entries in this table since four OBJC subtypes have the same tag codes as regular types, as marked by the "also see" notes.)
|
|
|
BINA tags
Chunks of binary data stored in the .raw/.sep files, including OBJC object lists.
|
BINA/OBJC tags
Lists of objects within a level, stored in the .raw/.sep files.
|
|
|
Unused tags
Unused types still exist in the game data, and are typically looked up by the engine, but are not used.
|
|
|
Defunct tags
Defunct types still have templates registered for them in the engine, but the data does not exist any longer. We have not bothered to document the data using their templates, except for "OBLS", which was of interest because it was linked to "TURR" and because we have an editing window for it from the level0_Tools resources.
|
|
|