"""
Community provided mapping table that maps a content type id to a file extension.
"""

RESOURCE_TYPES = {
    0xD070EED1: ".AnimTrackData",
    0xC6DBEE07: ".AnimatedPointCloud",
    0xEC1B7BF4: ".AntResource",
    0x51A3C853: ".AssetBank",
    0x1445F2DB: ".AtlasGroupResource",
    0x957C32B1: ".AtlasTexture",
    0x428EC9D4: ".BundleRefTableResource",
    0xAFECB022: ".CompiledLuaResource",
    0x85548684: ".CompressedClipData",
    0x11F603C1: ".DamageEffectComponentData",
    0x76742DC8: ".DelayLoadBundleResource",
    0xF7CC814D: ".Dx11NvRvmDatabase",
    0x8DA16895: ".Dx11RvmDatabase",
    0xF04F0C81: ".Dx11ShaderProgramDatabase",
    0xBCC7FB86: ".Dx11Texture",
    0x50E8E7EE: ".Dx12NvRvmDatabase",
    0x6B4B6E85: ".Dx12PcRvmDatabase",
    0xE565EB15: ".DxShaderDatabase",
    0x10F0E5A1: ".DxShaderProgramDatabase",
    0x5C4954A6: ".DxTexture",
    0x93BAA23F: ".DxTexture",
    0x85AC783D: ".EAClothAssetData",
    0x387CA0AD: ".EAClothData",
    0x85EA8656: ".EAClothEntityData",
    0x78791C75: ".EmitterGraphResource",
    0x70C5CB3E: ".EnlightenDatabase",
    0xE156AF73: ".EnlightenProbeSet",
    0x59CEEB57: ".EnlightenShaderDatabase",
    0xB15AD3FD: ".EnlightenShaderDatabaseResource",
    0xC6CD3286: ".EnlightenStaticDatabase",
    0x5BDFDEFE: ".EnlightenSystem",
    0x59C79990: ".FaceFXResource",
    0xEF23407C: ".FifaPhysicsResourceData",
    0x59BBF1E8: ".FootballMetaMorphVertexRegionWeightsResource",
    0x4C4D624A: ".FootballMetaMorphMeshDeltaPositionsResource",
    0xCB8BCD07: ".GtsoLut",
    0xE36F0D59: ".HavokClothPhysicsData",
    0x4864737B: ".HavokDestructionPhysicsData",
    0x91043F65: ".HavokPhysicsData",
    0x9C4FAA17: ".HeightFieldDecal",
    0x36F3F2C0: ".IShaderDatabase",
    0xC417BBD3: ".ITexture",
    0x0DEAFE10: ".IesResource",
    0xC78B9D9D: ".ImpulseResponse",
    0xAD1AC4FD: ".LargeParticleCloud",
    0x86521D6C: ".LinearMediaAsset",
    0x5E862E05: ".LocalizedStringResource",
    0xBA02FEE0: ".MeshAdjacencyResource",
    0xC611F34A: ".MeshEmitterResource",
    0x49B156D4: ".MeshSet",
    0x39173AB8: ".MetaMorphTargetMeshResourceAsset",
    0x24A019CC: ".MorphMaterialResource",
    0xEB228507: ".MorphResource",
    0x1091C8C5: ".MorphTargetsResource",
    0x31E779A2: ".MovieTexture",
    0xB2C465F6: ".NewWaveResource",
    0x30B4A553: ".OccluderMesh",
    0xC664A660: ".PamReplayResource",
    0x4B803D3B: ".PathfindingRuntimeResource",
    0x8D9E6F01: ".PcaComponentWeightsResource",
    0x41759364: ".PhysicsResource",
    0x52EE0D39: ".PlayerPresetResource",
    0x3B9D1688: ".PSDResource",
    0x00D41D60: ".RaceGroundTextureResource",
    0x319D8CD0: ".RagdollResource",
    0x3568E2B7: ".RawFileData",
    0x41D57E10: ".RenderTexture",
    0x7DD4CC89: ".SerializedExpressionNodeGraph",
    0x7AEFC446: ".StaticEnlightenDatabase",
    0x150D8AD1: ".StreamGridEntityData",
    0x89983F10: ".SvgImage",
    0x2D47A5FF: ".SwfMovie",
    0x6BB6D7D2: ".Terrain",
    0x15E1F32E: ".TerrainDecals",
    0xA23E75DB: ".TerrainLayerCombinations",
    0x22FE8AC8: ".TerrainStreamingTree",
    0x6BDE20BA: ".Texture",
    0x9D00966A: ".UITtfFontFile",
    0xAB048B82: ".UIWidgetMovieData",
    0x1CA38E06: ".VisualTerrain",
    0xEFC70728: ".ZoneStreamerGrid",
    # Unknown Resource Types
    0x21D09221: ".NFSTR_PC_21D09221",
    0x2EBF5E85: ".NFSR_PC_2EBF5E85",
    0xC6D721CD: ".AOTDC_PS3_C6D721CD",  # PS3: AOTDC, NFSTR
    0xCC48572A: ".AOTDC_PS3_CC48572A",
    0xEF2E12EF: ".AOTDC_X360_EF2E12EF",  # X360:
    0x921476CA: ".DxTexture???",  # PS3: - BF3, NFSTR, MOHW, AOTDC
    0xACD91FE8: ".DxTexture???",  # X360: - BF3, NFSTR, MOHW, AOTDC
}
