DKC:TF > Model File (CMDL/SMDL/WMDL)
Meta data: NModelFormat::SMetaData
| Type | Description |
| Uint32 | Unknown |
| Type | Description |
| CFourCC | Type |
| Uint32 | Unknown |
| Uint32 | field_0 |
| Uint32 | field_4 |
| Uint32 | field_8 |
| CAABox | field_C |
| List<Uint32> | field_28 |
| List<Uint32> | field_34 |
| List<Uint8> | field_40 |
| List<CAABox> | field_4C |
| Type | Description |
| Uint32 | Number of opaque meshes |
| Uint32 | Number of 1-pass trans meshes |
| Uint32 | Number of 2-pass trans meshes |
| Uint32 | Number of 1-bit meshes |
| Uint32 | Number of additive meshes |
| CAABox | AA box |
| List<CModelDataSource> | Data sources |
| Type | Description |
| Uint32 | Type |
| Object |
| Type | Description |
| CEvalDataContext | Eval data context |
| Uint32 | Update function |
| Uint32 | SetTime function |
| Uint32 | SetPhase function |
| Type | Description |
| Uint32 | Number of input values |
| Uint32 | Number of data handles |
| Uint32[] | Input values |
| CEvalDataHandle[] | Data handles |
| Type | Description |
| List<Uint8> | Data |
| FourCC | ID | Type | Uniform name |
GBUF | 0 | Texture | |
DIFT | 1 | Texture | uc_diffuseMap uc_diffuseMapTexCoordIndex |
ICAN | 2 | Texture | uc_incanMap uc_incanMapTexCoordIndex |
NMAP | 3 | Texture | uc_normalMap uc_normalMapTexCoordIndex |
REFL | 4 | Texture | uc_reflectionCubeMap |
REFS | 5 | Texture | uc_reflectionSphereMap |
REFV | 6 | Texture | uc_reflectivityMap uc_reflectivityMapTexCoordIndex |
SHRT | 7 | Texture | |
SPCT | 8 | Texture | uc_specularMap uc_specularMapTexCoordIndex |
LIBD | 9 | Texture | uc_lightBufferDiffuse |
LIBS | 10 | Texture | uc_lightBufferSpecular |
BLND | 11 | Texture | uc_vertexBlenderMask uc_vertexBlenderMaskTexCoordIndex |
FOGR | 12 | Texture | uc_fogDepthDensityRamp |
INDI | 13 | Texture | uc_diffuseIndirectionMap uc_diffuseIndirectionMapTexCoordIndex |
SPCF | 14 | Texture | uc_specularFalloffMap |
FURT | 15 | Texture | uc_furMap |
FURL | 16 | Texture | uc_furLengthMap |
FURF | 17 | Texture | uc_furFlowMap |
ALPH | 18 | Color | uc_alphaTestParams |
DIFC | 19 | Color | uc_diffuseColor |
SHRC | 20 | Color | uc_directionalIrradianceMapAmbientColor |
SPCC | 21 | Color | uc_specularColor |
ANFP | 22 | Color | |
ICNC | 23 | Color | uc_incanColor |
ICMC | 24 | Color | uc_incanUnmaskedColor |
CHC0 | 25 | Int | |
CHC1 | 26 | Int | |
CHC2 | 27 | Int | |
AUVI | 28 | Int4 | uc_animatedUVIndices |
ALPH | 29 | Scalar | uc_fogInvRange |
SPCP | 30 | Scalar | uc_specularPower |
INDS | 31 | Scalar | uc_diffuseIndirectionScale |
LCNT | 32 | Scalar | |
RFMN | 33 | Scalar | uc_rimFresnelMin |
RFMX | 34 | Scalar | uc_rimFresnelMax |
RBRT | 35 | Scalar | |
NMHT | 36 | Scalar | |
FRDN | 37 | Scalar | uc_furDensity |
FRTH | 38 | Scalar | |
FROC | 39 | Scalar | |
FROS | 40 | Scalar | uc_furOcclusionStartLength |
FRFS | 41 | Scalar | uc_furFlowStrength |
DRAG | 42 | Scalar | uc_drag |
SCOF | 43 | Scalar | uc_stiffnessCoefficient |
CONH | 44 | Scalar | uc_constraintHeight |
CONE | 45 | Scalar | uc_constraintEllipseRatioSqr |
FRBP | 46 | Scalar | uc_furBendPower |
SHDD | 47 | CSimpleShadowMaterialData CProjectedSimpleShaderMaterialData | |
SKIN | 48 | CSkinningMaterialData | |
DIMD | 49 | NBakedLighting::CDIMMaterialData | |
PDTA | 50 | CParticleMaterialData | |
LIT | 51 | CLightMaterialData | |
AUXF | 52 | CAnimatedUVMaterialData | |
WIND | 53 | CWindAnimMaterialData | |
WATR | 54 | CWaterMaterialData | |
DFXS | 55 | CDepthFxSceneMaterialData | |
DFXN | 56 | CDepthFXNodeMaterialData | |
CAUS | 57 | CCausticMaterialData | |
FURC | 58 | CFurMaterialData | |
INST | 59 | CInstanceMaterialData | |
DIFL | 60 | CLayeredTextureData | uc_diffuseMap |
SPCL | 61 | CLayeredTextureData | uc_specularMap |
ICNL | 62 | CLayeredTextureData | |
NRML | 63 | CLayeredTextureData | uc_normalMap |
| Type | Description |
| Float | Value |
| Type | Description |
| Uint32 | Primitive mode |
| Uint16 | Material cache index |
| Uint8 | Vertex buffer index |
| Uint8 | Index buffer index |
| Uint32 | Index buffer offset |
| Uint32 | Count |
| Uint16 | field_10 |
| Uint8 | field_12 |
| Uint8 | field_13 |
| Uint8 | Flags |
| EPrimitive | GX2PrimitiveMode |
| 0 | GX2_PRIMITIVE_MODE_POINTS |
| 1 | GX2_PRIMITIVE_MODE_LINES |
| 2 | GX2_PRIMITIVE_MODE_LINE_STRIP |
| 3 | GX2_PRIMITIVE_MODE_TRIANGLES |
| 4 | GX2_PRIMITIVE_MODE_TRIANGLE_STRIP |
| 5 | 10 |
| 6 | 11 |
| 7 | 12 |
| 8 | 13 |
| Type | Description |
| Uint32 | field_0 |
| Uint32 | Offset |
| Uint32 | Stride |
| Uint32 | Format |
| Uint32 | Type |
| Value | GX2AttribFormat |
| 0 | GX2_ATTRIB_FORMAT_UNORM_8 |
| 1 | GX2_ATTRIB_FORMAT_UINT_8 |
| 2 | GX2_ATTRIB_FORMAT_SNORM_8 |
| 3 | GX2_ATTRIB_FORMAT_SINT_8 |
| 4 | 0x2 |
| 5 | 0x102 |
| 6 | 0x202 |
| 7 | 0x302 |
| 8 | 0x803 |
| 9 | GX2_ATTRIB_FORMAT_UNORM_8_8 |
| 10 | GX2_ATTRIB_FORMAT_UINT_8_8 |
| 11 | GX2_ATTRIB_FORMAT_SNORM_8_8 |
| 12 | GX2_ATTRIB_FORMAT_SINT_8_8 |
| 13 | 0x105 |
| 14 | 0x305 |
| 15 | GX2_ATTRIB_FORMAT_FLOAT_32 |
| 16 | 0x7 |
| 17 | 0x107 |
| 18 | 0x207 |
| 19 | 0x307 |
| 20 | 0x808 |
| 21 | GX2_ATTRIB_FORMAT_UNORM_8_8_8_8 |
| 22 | GX2_ATTRIB_FORMAT_UINT_8_8_8_8 |
| 23 | GX2_ATTRIB_FORMAT_SNORM_8_8_8_8 |
| 24 | GX2_ATTRIB_FORMAT_SINT_8_8_8_8 |
| 25 | 0xB |
| 26 | 0x10B |
| 27 | 0x10C |
| 28 | 0x30C |
| 29 | GX2_ATTRIB_FORMAT_FLOAT_32_32 |
| 30 | 0xE |
| 31 | 0x10E |
| 32 | 0x20E |
| 33 | 0x30E |
| 34 | 0x80F |
| 35 | 0x110 |
| 36 | 0x310 |
| 37 | GX2_ATTRIB_FORMAT_FLOAT_32_32_32 |
| 38 | 0x112 |
| 39 | 0x312 |
| 40 | GX2_ATTRIB_FORMAT_FLOAT_32_32_32_32 |
| Type | Description |
| Uint32 | Index type |
| Value | GX2IndexType |
| 0 | GX2_INDEX_TYPE_U16 |
| 1 | GX2_INDEX_TYPE_U16 |
| 2 | GX2_INDEX_TYPE_U32 |
| Type | Description |
| Uint32 | Size |
| Uint32 | Offset |
| Type | Description |
| Uint32 | Read buffer index |
| Uint32 | Offset |
| Uint32 | Compressed size |
| Uint32 | Decompressed size |