OBD:File types: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(improving look of stuff above tag tables)
m (added short ledes under BINA and OBJC sections)
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OBD Home}}
{{OBD Home}}
:''You should learn about the level data files and terminology first, as documented on the main [[OBD]] page.''
:''To understand how these file types are stored, you should read the [[Instance file]] page.''
There are 133 tags documented below -- 87 regular, 16 defunct, 10 unused, 4 BINA, and 16 BINA/OBJC.
:''To understand how the types of data in these file types are stored, you should read the [[OBD:Data types|Data types]] page.''


There are 135 tags 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 about the data types we typically mod.
For convenience, the BINA and BINA/OBJC tags are listed in the "All tags" table, but redirect to their own separate tables below that. Continue scrolling down to see the unused and defunct tags.
{{TOCfloat}}
{| style="white-space:nowrap; border-width:0px"
{| style="white-space:nowrap; border-width:0px"
|
|style="vertical-align:top"|
{| cellpadding="0" cellspacing="5"
{| cellpadding="0" cellspacing="5"
|-
|-
!Categories
!Categories
|-
|-
|View the below resources types grouped by purpose.
|View the below resource types grouped by purpose.
|-
|-
|•[[OBD:File types/Character|Character]]
|•[[OBD:File types/Character|Character]]
Line 30: Line 34:
|}
|}


{| style="border:1px solid #AAA; margin-left:auto; margin-right:auto"
==All used tags==
!colspan="2"|Legend
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' [[wikipedia:FourCC|FourCCs]] (or "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="background:#555;color:white"|Dark Gray
|Defunct: engine still has templates in code, but data does not exist
|-
|style="background:#AAA;color:white"|Gray
|Unused: data exists and is typically looked up by engine, but is not used
|}
 
==All tags==
{| style="white-space:nowrap" width=100%
{| style="white-space:nowrap" width=100%
|
|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"
Line 48: Line 43:
!Description
!Description
!OK?
!OK?
|-
!3CLA
|style="background:#555;color:white"|RGB Color Array
!
|-
|-
![[ABNA]]
![[ABNA]]
|BSP Tree Node Array
|BSP Tree Node Array
!^_^
|-
![[AGDB]]
|style="background:#AAA;color:white"|Gunk Quad Debug Array
!^_^
!^_^
|-
|-
Line 68: Line 55:
|Gunk Quad General Array
|Gunk Quad General Array
!^_^
!^_^
|-
!AGQM
|style="background:#555;color:white"|Gunk Quad Material
!
|-
|-
![[AGQR]]
![[AGQR]]
Line 79: Line 62:
![[AISA]]
![[AISA]]
|AI Character Setup Array
|AI Character Setup Array
!
|-
![[AITR]]
|style="background:#AAA;color:white"|AI Script Trigger Array
!
|-
!AIWA
|style="background:#555;color:white"|AI Imported Waypoint Array
!
!
|-
|-
Line 96: Line 71:
|Side Array
|Side Array
!^_^
!^_^
|-
![[AKDA]]
|style="background:#AAA;color:white"|Door Frame Array
!
|-
|-
![[AKBP]]
![[AKBP]]
Line 138: Line 109:
|-
|-
![[CONS]]
![[CONS]]
|Console (also see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]])
|Console (also see BINA/OBJC/CONS [[#BINA/OBJC tags|⬇︎]])
!^_^
!^_^
|-
|-
Line 146: Line 117:
|-
|-
![[DOOR]]
![[DOOR]]
|Door (also see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]])
|Door (also see BINA/OBJC/DOOR [[#BINA/OBJC tags|⬇︎]])
!
!
|-
|-
Line 152: Line 123:
|Diary Page
|Diary Page
!^_^
!^_^
|-
!EDIA
|style="background:#555;color:white"|Edge Index Array
!
|-
|-
![[ENVP]]
![[ENVP]]
Line 172: Line 139:
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
! --
! --
|-
!FXLR
|style="background:#555;color:white"|FX Laser Effect
!
|-
!GMAN
|style="background:#555;color:white"|Geometry Animation
!
|-
|-
![[HPge]]
![[HPge]]
Line 225: Line 184:
!^_^
!^_^
|}
|}
|
|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"
!Type
!Tag
!Description
!Description
!OK?
!OK?
Line 235: Line 194:
|Geometry
|Geometry
!^_^
!^_^
|-
!M3TA
|style="background:#555;color:white"|Triangle Array
!
|-
|-
|align="center"|MELE
|align="center"|MELE
Line 251: Line 206:
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
! --
! --
|-
!NMSA
|style="background:#555;color:white"|Network Spawn Point Array
!
|-
|-
![[OBAN]]
![[OBAN]]
|Object Animation
|Object Animation
!^_^
!^_^
|-
![[OBDC]]
|style="background:#AAA;color:white"|Door Class Array
!
|-
|-
|align="center"|''[[OBJC]]''
|align="center"|''[[OBJC]]''
|'''Objects''' (OBJC tags are below [[#BINA/OBJC tags|⬇︎]])
|'''Objects''' (OBJC tags are below [[#BINA/OBJC tags|⬇︎]])
! --
! --
|-
![[OBLS]]
|style="background:#555;color:white"|Object LS Data
!
|-
|-
![[OBOA]]
![[OBOA]]
Line 291: Line 234:
|Oni Character Variant
|Oni Character Variant
!^_^
!^_^
|-
![[ONFA]]
|style="background:#AAA;color:white"|Imported Flag Node Array
!
|-
|-
![[ONGS]]
![[ONGS]]
Line 315: Line 254:
|Oni Game Level
|Oni Game Level
!^_^
!^_^
|-
![[ONMA]]
|style="background:#AAA;color:white"|Imported Marker Node Array
!
|-
|-
![[ONOA]]
![[ONOA]]
|Object Gunk Array
|Object Gunk Array
!^_^
!^_^
|-
![[ONSA]]
|style="background:#AAA;color:white"|Imported Spawn Array
!
|-
|-
![[ONSK]]
![[ONSK]]
|Oni Sky Class
|Oni Sky Class
!^_^
!^_^
|-
![[ONTA]]
|style="background:#AAA;color:white"|Trigger Array
!
|-
|-
![[ONVL]]
![[ONVL]]
Line 395: Line 322:
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
! --
! --
|-
!QUDA
|style="background:#555;color:white"|Quad Array
!
|-
|-
![[QTNA]]
![[QTNA]]
Line 411: Line 334:
{| 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"
!Type
!Tag
!Description
!Description
!OK?
!OK?
Line 422: Line 345:
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
|style="color:#909090"|see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]]
! --
! --
|-
![[StNA]]
|style="background:#AAA;color:white"|String Array
!^_^
|-
|-
![[SUBT]]
![[SUBT]]
Line 434: Line 353:
|style="color:#909090"|see BINA tags [[#BINA tags|⬇︎]]
|style="color:#909090"|see BINA tags [[#BINA tags|⬇︎]]
! --
! --
|-
!TMFA
|style="background:#555;color:white"|Float Array
!
|-
!TMRA
|style="background:#555;color:white"|Template Reference Array
!
|-
|-
![[TRAC]]
![[TRAC]]
Line 462: Line 373:
|Totoro Quaternion Body
|Totoro Quaternion Body
!^_^
!^_^
|-
!TRFT
|style="background:#555;color:white"|Totoro Facing Table
!
|-
|-
![[TRGA]]
![[TRGA]]
Line 484: Line 391:
|-
|-
![[TRIG]]
![[TRIG]]
|Trigger (also see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]])
|Trigger (also see BINA/OBJC/TRIG [[#BINA/OBJC tags|⬇︎]])
!^_^
!^_^
|-
|-
Line 513: Line 420:
![[TSGA]]
![[TSGA]]
|Glyph Array
|Glyph Array
!^_^
|-
![[TStr]]
|style="background:#AAA;color:white"|String
!^_^
!^_^
|-
|-
![[TURR]]
![[TURR]]
|Turret (also see BINA/OBJC tags [[#BINA/OBJC tags|⬇︎]])
|Turret (also see BINA/OBJC/TURR [[#BINA/OBJC tags|⬇︎]])
!
!
|-
|-
Line 542: Line 445:
|Texture Map
|Texture Map
!^_^
!^_^
|-
!TXPC
|style="background:#555;color:white"|Texture Procedure Data
!
|-
|-
![[TxtC]]
![[TxtC]]
|Text Console
|Text Console
!^_^
!^_^
|-
!UUEA
|style="background:#555;color:white"|Error Binding Array
!
|-
!UVDA
|style="background:#555;color:white"|UV Data List
!
|-
|-
![[VCRA]]
![[VCRA]]
Line 590: Line 481:


==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%
|
|
{| 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"
!BINA
!Tag
!Description
!Description
!OK?
!OK?
Line 617: Line 509:


==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%
|
|
{| 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"
!BINA/OBJC
!Tag
!Description
!Description
!OK?
!OK?
Line 633: Line 526:
!
!
|-
|-
![[CONS]]
![[OBD:BINA/OBJC/CONS|CONS]]
|Console
|Console
!
!
|-
|-
![[DOOR]]
![[OBD:BINA/OBJC/DOOR|DOOR]]
|Door
|Door
!
!
Line 649: Line 542:
!
!
|}
|}
|
|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"
!BINA/OBJC
!Tag
!Description
!Description
!OK?
!OK?
Line 674: Line 567:
![[PWRU]]
![[PWRU]]
|Powerup
|Powerup
!
|-
![[SNDG]]
|Sound Group
!
!
|}
|}
Line 683: Line 572:
{| 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"
!BINA/OBJC
!Tag
!Description
!Description
!OK?
!OK?
|-
![[SNDG]]
|Sound Group
!
|-
|-
![[TRGV]]
![[TRGV]]
Line 691: Line 584:
!
!
|-
|-
![[TRIG]]
![[OBD:BINA/OBJC/TRIG|TRIG]]
|Trigger
|Trigger
!
!
|-
|-
![[TURR]]
![[OBD:BINA/OBJC/TURR|TURR]]
|Turret
|Turret
!
!
Line 702: Line 595:
|Weapon
|Weapon
!
!
|}
|}
==Unused tags==
Unused types still exist in the game data, and are typically looked up by the engine, but are not used.
{| style="white-space:nowrap" width=100%
|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
![[AGDB]]
|Gunk Quad Debug Array
!^_^
|-
![[AITR]]
|AI Script Trigger Array
!
|-
![[AKDA]]
|Door Frame Array
!
|-
![[OBDC]]
|Door Class Array
!
|}
|style="vertical-align:top"|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
![[ONFA]]
|Imported Flag Node Array
!
|-
![[ONMA]]
|Imported Marker Node Array
!
|-
![[ONSA]]
|Imported Spawn Array
!
|}
|style="vertical-align:top"|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
![[ONTA]]
|Trigger Array
!
|-
![[StNA]]
|String Array
!^_^
|-
![[TStr]]
|String
!^_^
|}
|}
==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.
{| style="white-space:nowrap" width=100%
|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
!3CLA
|RGB Color Array
! --
|-
!AGQM
|Gunk Quad Material
! --
|-
!AIWA
|AI Imported Waypoint Array
! --
|-
!EDIA
|Edge Index Array
! --
|-
!FXLR
|FX Laser Effect
! --
|-
!GMAN
|Geometry Animation
! --
|}
|style="vertical-align:top"|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
!M3TA
|Triangle Array
! --
|-
!NMSA
|Network Spawn Point Array
! --
|-
![[OBLS]]
|Object LS Data
!^_^
|-
!QUDA
|Quad Array
! --
|-
!TMFA
|Float Array
! --
|}
|style="vertical-align:top"|
{| border="1" cellpadding="0" cellspacing="0" style="background:#f9f9f9" width=100%
|-style="background:#e9e9e9"
!Tag
!Description
!OK?
|-
!TMRA
|Template Reference Array
! --
|-
!TRFT
|Totoro Facing Table
! --
|-
!TXPC
|Texture Procedure Data
! --
|-
!UUEA
|Error Binding Array
! --
|-
!UVDL
|UV Data List
! --
|}
|}
|}
|}


{{OBD}}
{{OBD}}

Revision as of 01:23, 24 March 2021

Click to return to the main OBD page.
To understand how these file types are stored, you should read the Instance file page.
To understand how the types of data in these file types are stored, you should read the Data types page.

There are 135 tags 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 about the data types we typically mod.

For convenience, the BINA and BINA/OBJC tags are listed in the "All tags" table, but redirect to their own separate tables below that. Continue scrolling down to see the unused and defunct tags.

Categories
View the below resource types grouped by purpose.
Character
Interface
Level
Other
Resources
Named/unnamed resources
Global resources

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' FourCCs (or "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.)

Tag Description OK?
ABNA BSP Tree Node Array ^_^
AGQC Gunk Quad Collision Array ^_^
AGQG Gunk Quad General Array ^_^
AGQR Gunk Quad Render Array ^_^
AISA AI Character Setup Array
AKAA Adjacency Array ^_^
AKBA Side Array ^_^
AKBP BSP Node Array ^_^
AKEV Akira Environment ^_^
AKOT Oct Tree ^_^
AKVA BNV Node Array
BINA Binary Data (BINA tags are below ⬇︎) --
CBPI Character Body Part Impacts ^_^
CBPM Character Body Part Material ^_^
CHAR see BINA/OBJC tags ⬇︎ --
CMBT see BINA/OBJC tags ⬇︎ --
CONS Console (also see BINA/OBJC/CONS ⬇︎) ^_^
CRSA Corpse Array ^_^
DOOR Door (also see BINA/OBJC/DOOR ⬇︎)
DPge Diary Page ^_^
ENVP Env Particle Array ^_^
FILM Film
FLAG see BINA/OBJC tags ⬇︎ --
FURN see BINA/OBJC tags ⬇︎ --
HPge Help Page ^_^
IDXA Index Array ^_^
IGHH IGUI HUD Help ^_^
IGPA IGUI Page Array ^_^
IGPG IGUI Page ^_^
IGSA IGUI String Array ^_^
IGSt IGUI String ^_^
Impt Impact Tree ^_^
IPge Item Page ^_^
KeyI Key Icons ^_^
M3GA Geometry Array ^_^
Tag Description OK?
M3GM Geometry ^_^
MELE see BINA/OBJC tags ⬇︎ --
Mtrl Material ^_^
NEUT see BINA/OBJC tags ⬇︎ --
OBAN Object Animation ^_^
OBJC Objects (OBJC tags are below ⬇︎) --
OBOA Starting Object Array
OFGA Object Furn Geom Array ^_^
ONCC Oni Character Class
ONCP Oni Character Particle Array
ONCV Oni Character Variant ^_^
ONGS Oni Game Settings
ONIA Oni Character Impact Array ^_^
ONIE see BINA tags ⬇︎ --
ONLD Oni Game Level Descriptor ^_^
ONLV Oni Game Level ^_^
ONOA Object Gunk Array ^_^
ONSK Oni Sky Class ^_^
ONVL Oni Variant List ^_^
ONWC Oni Weapon Class
OPge Objective Page ^_^
OSBD Oni Sound Binary Data
OTIT Oct Tree Interior Node Array ^_^
OTLF Oct Tree Leaf Node Array ^_^
PAR3 see BINA tags ⬇︎ --
PART see BINA/OBJC tags ⬇︎ --
PATR see BINA/OBJC tags ⬇︎ --
PLEA Plane Equation Array ^_^
PNTA 3D Point Array ^_^
PSpc Part Specification ^_^
PSpL Part Specification List ^_^
PSUI Part Specifications UI ^_^
PWRU see BINA/OBJC tags ⬇︎ --
QTNA Quad Tree Node Array ^_^
SABD see BINA tags ⬇︎ --
Tag Description OK?
SNDD Sound Data ^_^
SNDG see BINA/OBJC tags ⬇︎ --
SUBT Subtitle Array ^_^
TMBD see BINA tags ⬇︎ --
TRAC Animation Collection ^_^
TRAM Totoro Animation Sequence ^_^
TRAS Totoro Aiming Screen ^_^
TRBS Totoro Body Set ^_^
TRCM Totoro Quaternion Body ^_^
TRGA Totoro Quaternion Body Geometry Array ^_^
TRGE Trigger Emitter ^_^
TRGV see BINA/OBJC tags ⬇︎ --
TRIA Totoro Quaternion Body Index Array ^_^
TRIG Trigger (also see BINA/OBJC/TRIG ⬇︎) ^_^
TRMA Texture Map Array ^_^
TRSC Screen (Aiming) Collection ^_^
TRTA Totoro Quaternion Body Translation Array ^_^
TSFF Font Family ^_^
TSFL Font Language ^_^
TSFT Font ^_^
TSGA Glyph Array ^_^
TURR Turret (also see BINA/OBJC/TURR ⬇︎)
TXAN Texture Map Animation ^_^
TXCA Texture Coordinate Array ^_^
TXMA Texture Map Array ^_^
TXMB Texture Map Big ^_^
TXMP Texture Map ^_^
TxtC Text Console ^_^
VCRA 3D Vector Array ^_^
WEAP see BINA/OBJC tags ⬇︎ --
WMCL WM Cursor List ^_^
WMDD WM Dialog Data ^_^
WMM_ WM Menu ^_^
WMMB WM Menu Bar ^_^
WPge Weapon Page ^_^

BINA tags

Chunks of binary data stored in the .raw/.sep files, including OBJC object lists.

Tag Description OK?
ONIE Oni Impact Effects
PAR3 3D Particle
SABD Sound Animations Binary Data
TMBD Texture Materials Binary Data

BINA/OBJC tags

Lists of objects within a level, stored in the .raw/.sep files.

Tag Description OK?
CHAR Character
CMBT Combat profile
CONS Console
DOOR Door
FLAG Flag
FURN Furniture
Tag Description OK?
MELE Melee profile
NEUT Neutral behavior
PART Particle
PATR Patrol path
PWRU Powerup
Tag Description OK?
SNDG Sound Group
TRGV Trigger Volume
TRIG Trigger
TURR Turret
WEAP Weapon

Unused tags

Unused types still exist in the game data, and are typically looked up by the engine, but are not used.

Tag Description OK?
AGDB Gunk Quad Debug Array ^_^
AITR AI Script Trigger Array
AKDA Door Frame Array
OBDC Door Class Array
Tag Description OK?
ONFA Imported Flag Node Array
ONMA Imported Marker Node Array
ONSA Imported Spawn Array
Tag Description OK?
ONTA Trigger Array
StNA String Array ^_^
TStr String ^_^

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.

Tag Description OK?
3CLA RGB Color Array --
AGQM Gunk Quad Material --
AIWA AI Imported Waypoint Array --
EDIA Edge Index Array --
FXLR FX Laser Effect --
GMAN Geometry Animation --
Tag Description OK?
M3TA Triangle Array --
NMSA Network Spawn Point Array --
OBLS Object LS Data ^_^
QUDA Quad Array --
TMFA Float Array --
Tag Description OK?
TMRA Template Reference Array --
TRFT Totoro Facing Table --
TXPC Texture Procedure Data --
UUEA Error Binding Array --
UVDL UV Data List --