OBD:File types: Difference between revisions
m (I left BINA and OBJC out of the total) |
m (put Interface below Level in group directory) |
||
(10 intermediate revisions by the same user not shown) | |||
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 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. | |||
{{TOCfloat}} | |||
{| style="white-space:nowrap; border-width:0px" | {| style="white-space:nowrap; border-width:0px" | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| cellpadding="0" cellspacing="5" | {| cellpadding="0" cellspacing="5" | ||
Line 15: | Line 12: | ||
!Categories | !Categories | ||
|- | |- | ||
|View the below | |View the below resource types grouped by purpose. | ||
|- | |- | ||
|•[[OBD:File types/Character|Character]] | |• [[OBD:File types/Character|Character]] | ||
|- | |- | ||
|•[[OBD:File types/ | |• [[OBD:File types/Level|Level]] | ||
|- | |- | ||
|•[[OBD:File types/ | |• [[OBD:File types/Interface|Interface]] | ||
|- | |- | ||
|•[[OBD:File types/ | |• [[OBD:File types/General|General]] | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
Line 30: | Line 27: | ||
!Resources | !Resources | ||
|- | |- | ||
|[[OBD:File types/ | |[[OBD:File types/Naming|Named/unnamed resources]] | ||
|- | |- | ||
|[[OBD:File types/Global|Global resources]] | |[[OBD:File types/Global|Global resources]] | ||
Line 37: | Line 34: | ||
==All used tags== | ==All used tags== | ||
Here are the 109 | 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"| | ||
{| | {| class="wikitable" | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !Tag | ||
Line 111: | Line 108: | ||
|- | |- | ||
![[CONS]] | ![[CONS]] | ||
|Console (also see BINA/OBJC | |Console (also see BINA/OBJC/CONS [[#BINA/OBJC tags|⬇︎]]) | ||
!^_^ | !^_^ | ||
|- | |- | ||
Line 119: | Line 116: | ||
|- | |- | ||
![[DOOR]] | ![[DOOR]] | ||
|Door (also see BINA/OBJC | |Door (also see BINA/OBJC/DOOR [[#BINA/OBJC tags|⬇︎]]) | ||
! | ! | ||
|- | |- | ||
Line 187: | Line 184: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !Tag | ||
Line 334: | Line 331: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !Tag | ||
Line 393: | Line 390: | ||
|- | |- | ||
![[TRIG]] | ![[TRIG]] | ||
|Trigger (also see BINA/OBJC | |Trigger (also see BINA/OBJC/TRIG [[#BINA/OBJC tags|⬇︎]]) | ||
!^_^ | !^_^ | ||
|- | |- | ||
Line 425: | Line 422: | ||
|- | |- | ||
![[TURR]] | ![[TURR]] | ||
|Turret (also see BINA/OBJC | |Turret (also see BINA/OBJC/TURR [[#BINA/OBJC tags|⬇︎]]) | ||
! | ! | ||
|- | |- | ||
Line 483: | Line 480: | ||
==BINA tags== | ==BINA tags== | ||
Chunks of binary data stored in the .raw/.sep files, including OBJC object lists. | |||
{| style="white-space:nowrap" width=33% | {| style="white-space:nowrap" width=33% | ||
| | | | ||
{| | {| class="wikitable" | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !Tag | ||
Line 510: | Line 508: | ||
==BINA/OBJC tags== | ==BINA/OBJC tags== | ||
Lists of objects within a level, stored in the .raw/.sep files. | |||
{| style="white-space:nowrap" width=100% | {| style="white-space:nowrap" width=100% | ||
| | | | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[CHAR]] | ![[CHAR]] | ||
Line 543: | Line 542: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[MELE]] | ![[MELE]] | ||
Line 570: | Line 569: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[SNDG]] | ![[SNDG]] | ||
Line 602: | Line 601: | ||
{| style="white-space:nowrap" width=100% | {| style="white-space:nowrap" width=100% | ||
| | | | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[AGDB]] | ![[AGDB]] | ||
Line 625: | Line 624: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[ONFA]] | ![[ONFA]] | ||
Line 644: | Line 643: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
![[ONTA]] | ![[ONTA]] | ||
Line 668: | Line 667: | ||
{| style="white-space:nowrap" width=100% | {| style="white-space:nowrap" width=100% | ||
| | | | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
!3CLA | !3CLA | ||
Line 699: | Line 698: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
!M3TA | !M3TA | ||
Line 726: | Line 725: | ||
|} | |} | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
{| | {| class="wikitable" width=100% | ||
|-style="background:#e9e9e9" | |-style="background:#e9e9e9" | ||
!Tag | !style="width:43px;"|Tag | ||
!Description | !Description | ||
!OK? | !style="width:30px;"|OK? | ||
|- | |- | ||
!TMRA | !TMRA |
Latest revision as of 19:33, 9 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.
|
|
|