OBD:File types/Naming: Difference between revisions

m
Line 849: Line 849:
===[[TRCM]]===
===[[TRCM]]===
:'''Unnamed TRCM''' (the most common in Oni) belong to a "body set" (TRBS), and specify the geometry/hierarchy of body meshes for one LOD (a TRBS has space for 5 TRCM links, but a same TRCM is often used by several LODs). An unnamed TRCM is linked only from one TRBS, and typically each TRCM has its own unique unique TRGA (geometry array), whereas the TRIA and TRTA (skeleton data) are typically shared between all of a TRBS's TRCMs.
:'''Unnamed TRCM''' (the most common in Oni) belong to a "body set" (TRBS), and specify the geometry/hierarchy of body meshes for one LOD (a TRBS has space for 5 TRCM links, but a same TRCM is often used by several LODs). An unnamed TRCM is linked only from one TRBS, and typically each TRCM has its own unique unique TRGA (geometry array), whereas the TRIA and TRTA (skeleton data) are typically shared between all of a TRBS's TRCMs.
:There are five (5) '''named TRCM''' occurring in Vanilla Oni, named '''bip_***'''. They are empty except for their 8-byte header (instance ID and level ID), i.e. they do not have valid TRTA, TRIA or TRGA links, and do not hold any information except for their name. However, they are related to '''unnamed orphan TRCM''' which occur immediately after the named TRCM and elsewhere in the level file: the TRCM name is referenced in the comment field (a.k.a. "internal name") of the unnamed orphan TRCM, with the .MME suffix, e.g., in any Vanilla that has Shinatama in it, Shinatama's actual TRBS and TRCM will be preceded by '''TRCMbip_shinatama''' ''and'' by an unnamed orphan TRCM containing the string '''bip_shinatama.MME'''. The correspondence between the "internal name" of these TRCM and their geometrical properties are as follows:
:There are five (5) '''named TRCM''' occurring in Vanilla Oni, named '''bip_***'''. They are empty (filled with blanks) except for their 8-byte header (instance ID and level ID), i.e. they do not have valid TRTA, TRIA or TRGA links, and do not hold any information except for their name. However, they are related to '''unnamed orphan TRCM''' which occur immediately after the named TRCM and elsewhere in the level file: the instance name of the named TRCM is referenced in the comment field (a.k.a. "internal name") of the unnamed orphan TRCM, with the .MME suffix, e.g., in any Vanilla that has Shinatama in it, Shinatama's actual TRBS and TRCM will be preceded by '''TRCMbip_shinatama''' ''and'' by an unnamed orphan TRCM containing the string '''bip_shinatama.MME'''. The correspondence between the "internal name" of these TRCM and their geometrical properties are as follows:
:*'''bip_konoko.MME''' corresponds to '''Kon002_xlow.mme''', i.e., the lowest LOD of '''TRBSkonoko_body_high''' (Konoko's main TCTF outfit);
:*'''bip_konoko.MME''' corresponds to '''Kon002_xlow.mme''', i.e., the lowest LOD of '''TRBSkonoko_body_high''' (Konoko's main TCTF outfit);
:*'''bip_comguy.MME''' corresponds to '''comguy_3_xlow.mme''', i.e., the lowest LOD of '''TRBScomguy_3_body_high''' (dark-skinned);
:*'''bip_comguy.MME''' corresponds to '''comguy_3_xlow.mme''', i.e., the lowest LOD of '''TRBScomguy_3_body_high''' (dark-skinned);