diff --git a/src/references.rs b/src/references.rs index d2f7862..fb4cc43 100644 --- a/src/references.rs +++ b/src/references.rs @@ -10,73 +10,81 @@ lazy_static::lazy_static! { (0x80800000, "SBungieScript"), (0x80800005, "Char"), (0x80800009, "Byte"), + (0x80800014, "STagHash"), (0x80800090, "Vec4"), ]); pub static ref REFERENCE_MAP_TTK: FxHashMap = FxHashMap::from_iter([ (0x8080035A, "SLocalizedStrings"), + (0x80800734, "SEntity"), + (0x80800861, "SEntityResource"), (0x808008BE, "SLocalizedStringsData"), (0x80801AD0, "SScope"), (0x80801B4C, "STechnique"), - (0x80800734, "SEntity"), - (0x80800861, "SEntityResource") ]); pub static ref REFERENCE_MAP_ROI: FxHashMap = FxHashMap::from_iter([ (0x8080035A, "SLocalizedStrings"), (0x808008BE, "SLocalizedStringsData"), + (0x80801A7A, "SHdaoSettings"), + (0x80801AB2, "SScreenAreaFxSettings"), (0x80801AD7, "STechnique"), + (0x80801AF4, "SGearDye"), + (0x80801B2B, "SPostProcessSettings"), + (0x80801BC1, "SAutoexposureSettings"), (0x80801C47, "SScope"), + (0x80802732, "SUITabList"), + (0x808033EB, "SUISimpleDialog") ]); pub static ref REFERENCE_MAP_SK: FxHashMap = FxHashMap::from_iter([]); pub static ref REFERENCE_MAP_BL: FxHashMap = FxHashMap::from_iter([ (0x80800000, "SBungieScript"), - (0x80808E8E, "SActivity"), (0x808045EB, "SMusicTemplate"), - (0x8080BFE6, "SUnkMusicE6BF8080"), - (0x8080BFE8, "SUnkMusicE8BF8080"), - (0x80809AD8, "SEntity"), - (0x80806F07, "SEntityModel"), - (0x80806EC5, "SEntityModelMesh"), - (0x80806695, "CubemapResource"), - (0x80806DBA, "SScope"), - (0x808051F2, "SDyeChannels"), (0x80804F2C, "SDyeChannelHash"), + (0x808051F2, "SDyeChannels"), + (0x80806695, "CubemapResource"), + (0x80806A0D, "SStaticMapParent"), + (0x80806C81, "STerrain"), + (0x80806C84, "SStaticPart"), + (0x80806C86, "SMeshGroup"), + (0x80806CC9, "SMapDataResource"), + (0x80806D28, "SStaticMeshInstanceMap"), + (0x80806D2F, "SStaticMeshDecal"), + (0x80806D30, "SStaticMeshData"), + (0x80806D36, "SStaticMeshBuffers"), + (0x80806D37, "SStaticMeshPart"), + (0x80806D38, "SStaticMeshMaterialAssignment"), + (0x80806D40, "SStaticMeshInstanceTransform"), + (0x80806D44, "SStaticMesh"), (0x80806DAA, "STechnique"), - (0x80807211, "STextureTag"), + (0x80806DBA, "SScope"), (0x80806DCF, "STextureTag64"), - (0x808093AD, "SStaticMapData"), - (0x808093B1, "SOcclusionBounds"), - (0x808093B3, "SMeshInstanceOcclusionBounds"), - (0x80806D40, "SStaticMeshInstanceTransform"), - (0x808093BD, "SStaticMeshHash"), - (0x80806D28, "SStaticMeshInstanceMap"), - (0x8080891E, "SBubbleParent"), + (0x80806EC5, "SEntityModelMesh"), + (0x80806F07, "SEntityModel"), + (0x80807211, "STextureTag"), (0x80808701, "SBubbleDefinition"), (0x80808703, "SMapContainerEntry"), (0x80808707, "SMapContainer"), (0x80808709, "SMapDataTableEntry"), + (0x8080891E, "SBubbleParent"), + (0x80808E8E, "SActivity"), + (0x808093AD, "SStaticMapData"), + (0x808093B1, "SOcclusionBounds"), + (0x808093B3, "SMeshInstanceOcclusionBounds"), + (0x808093BD, "SStaticMeshHash"), + (0x80809738, "SRandomSound"), (0x80809883, "SMapDataTable"), (0x80809885, "SMapDataEntry"), - (0x80806CC9, "SMapDataResource"), - (0x80806A0D, "SStaticMapParent"), - (0x80806D44, "SStaticMesh"), - (0x80800014, "SMaterialHash"), - (0x80806D2F, "SStaticMeshDecal"), - (0x80806D30, "SStaticMeshData"), - (0x80806D38, "SStaticMeshMaterialAssignment"), - (0x80806D37, "SStaticMeshPart"), - (0x80806D36, "SStaticMeshBuffers"), - (0x80806C81, "STerrain"), - (0x80806C86, "SMeshGroup"), - (0x80806C84, "SStaticPart"), (0x808099EF, "SLocalizedStrings"), (0x808099F1, "SLocalizedStringsData"), - (0x808099F7, "SStringPart"), (0x808099F5, "SStringPartDefinition"), - (0x80809B06, "SEntityResource") + (0x808099F7, "SStringPart"), + (0x80809AD8, "SEntity"), + (0x80809B06, "SEntityResource"), + (0x8080BFE6, "SUnkMusicE6BF8080"), + (0x8080BFE8, "SUnkMusicE8BF8080"), ]); pub static ref REFERENCE_NAMES: RwLock> = RwLock::new(Default::default()); diff --git a/src/tagtypes.rs b/src/tagtypes.rs index e83163a..79237a1 100644 --- a/src/tagtypes.rs +++ b/src/tagtypes.rs @@ -189,8 +189,8 @@ impl TagType { 1 => TagType::Texture2D { is_header }, // 2 => TagType::TextureCube { is_header }, 3 => TagType::Texture3D { is_header }, - // 4 => TagType::VertexBuffer { is_header }, - // 6 => TagType::IndexBuffer { is_header }, + 4 => TagType::VertexBuffer { is_header }, + 6 => TagType::IndexBuffer { is_header }, // 7 => TagType::ConstantBuffer { is_header }, 8 => TagType::PixelShader { is_header }, 9 => TagType::VertexShader { is_header },