XML:TRBS: Difference between revisions

63 bytes removed ,  20 May 2025
m
updated usage of Template:Tree list
m (image was duplicate upload; switching to original upload before deleting it)
m (updated usage of Template:Tree list)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
==General information==
==General information==
* TRBS files describe the overall structure of a character's 3D model. They are linked to from the ONCC character class file.
* TRBS files describe the overall structure of a character's 3D model. They are linked to from the ONCC character class file.
* TRBS files are stored globally in level0_Final.dat.
* In vanilla Oni, TRBS files are stored locally in level''x''_Final.dat according to which characters are needed for that level. In AE Oni, all TRBS files are stored in level0_Final.dat.
* They contain 5 different models with differing levels of detail (known as LODs). A common game development technique for improving performance is to display a reduced polygon-count version of a character when they're farther from the camera.
* They contain 5 different models with differing levels of detail (known as LODs). A common game development technique for improving performance is to display a reduced polygon-count version of a character when they're farther from the camera.


==File structure==
==File structure==
TRBS
{{Tree list}}
  |
* TRBS
  +-- TRCM
** TRCM
  +-- TRCM
** TRCM
  +-- TRCM
** TRCM
  +-- TRCM
** TRCM
  +-- TRCM (same for all TRCM)
** TRCM (same for all TRCM)
        |
*** TRGA
        +-- TRGA
**** [[XML:M3GM|M3GM]]
        |    |
***** PNTA
        |    +-- [[XML:M3GM|M3GM]]
***** VCRA
        |          |
***** TXCA
        |          +-- PNTA
***** IDXA
        |          +-- VCRA
***** IDXA
        |          +-- TXCA
***** (empty) texture link (because of [[XML:TRMA|TRMA]] usage)
        |          +-- IDXA
*** TRTA
        |          +-- IDXA
*** TRIA
        |          +-- texture link (empty because of [[XML:TRMA|TRMA]] usage)
{{Tree list|end}}
        +-- TRTA
        +-- TRIA


==Extraction (new method)==
==Extraction (new method)==