Skip to content

Commit

Permalink
Updated hashing logic to support Warhammer and added Warhammer to the…
Browse files Browse the repository at this point in the history
… game list

- Saving hashes with double quote instead of single quote because of odd WH file names
- Adding extra processing folders to the vanilla folder list due to WH having random content-pack names
- Currently using shaders.py from JWE, needs to be updated
  • Loading branch information
ilodev committed Nov 15, 2023
1 parent 1b2e060 commit daee5fd
Show file tree
Hide file tree
Showing 74 changed files with 63,256 additions and 135 deletions.
59,504 changes: 59,504 additions & 0 deletions constants/Warhammer Age of Sigmar Realms of Ruin/hashes.py

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions constants/Warhammer Age of Sigmar Realms of Ruin/mimes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
from constants import Mime

mimes = {
".accountcustomisation": Mime(name='Game:AccountCustomisation:accountcustomisation', hash=1375702684, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".accountlevelsdata": Mime(name='Game:AccountLevelsData:accountlevelsdata', hash=1137363490, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".achievements": Mime(name='Casino:Achievements:achievements', hash=1130939805, version=5, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".aicombatroledata": Mime(name='Game:AICombatRoleData:aicombatroledata', hash=1114471830, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".aidifficultydata": Mime(name='Game:AIDifficultyData:aidifficultydata', hash=2498925900, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".aiplayersettings": Mime(name='Game:AIPlayerSettings:aiplayersettings', hash=1598735630, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".aistrategydata": Mime(name='Game:AIStrategyData:aistrategydata', hash=1991361676, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".alternateskinset": Mime(name='Game:AlternateSkinSet:alternateskinset', hash=3941962592, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".assetpacklist": Mime(name='Game:AssetPackList:assetpacklist', hash=3221025076, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".assetpackobjectlists": Mime(name='Game:AssetPackObjectLists:assetpackobjectlists', hash=3743841768, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".assetpkg": Mime(name='Casino:AssetPackageRes:assetpkg', hash=1145776474, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".audiodialoguecooldowns": Mime(name='Game:AudioDialogueCooldowns:audiodialoguecooldowns', hash=3701137958, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".audioguioverrides": Mime(name='Casino:AudioGuiOverrides:audioguioverrides', hash=4288675765, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".bani": Mime(name='FGDK:BakedAnimation:bani', hash=1380752341, version=5, triplets=[], pool=2, set_pool=0),
".banis": Mime(name='FGDK:BakedAnimationSet:banis', hash=1177957172, version=5, triplets=[(2, 2, 1)], pool=2, set_pool=0),
".bastiondata": Mime(name='Game:BastionData:bastiondata', hash=1505320466, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".bastionset": Mime(name='Game:BastionSet:bastionset', hash=176620214, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".bnk": Mime(name='FGDK:AudioBank:bnk', hash=337834862, version=6, triplets=[(2, 0, 3), (0, 0, 4)], pool=4, set_pool=0),
".buffdata": Mime(name='Game:BuffData:buffdata', hash=3864578072, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".buildingdata": Mime(name='Game:BuildingData:buildingdata', hash=1566622222, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".buttonprompts": Mime(name='Casino:ButtonPrompts:buttonprompts', hash=3980076675, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".campaigndata": Mime(name='Game:CampaignData:campaigndata', hash=759200498, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".capturabledata": Mime(name='Game:CapturableData:capturabledata', hash=2278574616, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".casinolod": Mime(name='Casino:LevelOfDetailRes:casinolod', hash=4270556967, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".chancellorbudgets": Mime(name='Game:ChancellorBudgets:chancellorbudgets', hash=769614865, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".chapterdata": Mime(name='Game:ChapterData:chapterdata', hash=1161116480, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".citadelpainterdata": Mime(name='Game:CitadelPainterData:citadelpainterdata', hash=3747714983, version=4, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".citadelpaintermaterials": Mime(name='Game:CitadelPainterMaterials:citadelpaintermaterials', hash=2231436372, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".codexdata": Mime(name='Game:CodexData:codexdata', hash=4211021336, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".compoundbrush": Mime(name='Game:compoundBrush:compoundbrush', hash=3729534147, version=13, triplets=[], pool=2, set_pool=0),
".conquestmaps": Mime(name='Game:ConquestMaps:conquestmaps', hash=4119131556, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".decalsettings": Mime(name='Casino:DecalSettings:decalsettings', hash=1611555189, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".detailobjectrules": Mime(name='Game:detailobjectrules:detailobjectrules', hash=2058658145, version=19, triplets=[], pool=2, set_pool=0),
".dialoguecharacters": Mime(name='Casino:DialogueCharacters:dialoguecharacters', hash=4054352565, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".dialoguecollection": Mime(name='Casino:DialogueCollection:dialoguecollection', hash=72455117, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".dlcentitlements": Mime(name='Game:DLCEntitlements:dlcentitlements', hash=3928432604, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".emitteraudibility": Mime(name='Game:EmitterAudibility:emitteraudibility', hash=904013714, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".enumnamer": Mime(name='Casino:EnumNamer:enumnamer', hash=4079277233, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".fgm": Mime(name='FGDK:FragmentMaterial:fgm', hash=861771362, version=6, triplets=[(1, 2, 0)], pool=2, set_pool=0),
".fmvdesc": Mime(name='Casino:FMVDesc:fmvdesc', hash=2890464561, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".franimpostprocessorder": Mime(name='FGDK4:frAnimPostProcessOrderRes:franimpostprocessorder', hash=845536410, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".frendercontextset": Mime(name='FGDK:fRenderContextSet:frendercontextset', hash=876426926, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".frenderfeatureset": Mime(name='FGDK:fRenderFeatureSetRes:frenderfeatureset', hash=545348934, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".frenderlodspec": Mime(name='Casino:fRenderLodSettings:frenderlodspec', hash=467070503, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".gfx": Mime(name='FGDK:GFx4:gfx', hash=647855168, version=3, triplets=[(2, 0, 4)], pool=4, set_pool=0),
".globalbuffdata": Mime(name='Game:GlobalBuffData:globalbuffdata', hash=1450532698, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".globaldata": Mime(name='Game:GlobalData:globaldata', hash=2438911988, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".ikfootplantsettings": Mime(name='Casino:IKFootPlantSettings:ikfootplantsettings', hash=1106652761, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".inputdevice": Mime(name='Casino:InputDevice:inputdevice', hash=1585376418, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".languages": Mime(name='Casino:LanguagePackMap:languages', hash=3089504028, version=4, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".leveldata": Mime(name='Game:LevelData:leveldata', hash=2230221410, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".lfogenerators": Mime(name='Casino:LFOGenerators:lfogenerators', hash=2777436503, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".logicalcontrolgroups": Mime(name='Casino:ControlGroups:logicalcontrolgroups', hash=2997095326, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".logicalcontrols": Mime(name='Casino:LogicalControls:logicalcontrols', hash=2692395394, version=4, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".lua": Mime(name='FGDK:LuaModule:lua', hash=1779074288, version=7, triplets=[(2, 2, 0)], pool=2, set_pool=0),
".lut": Mime(name='FGDK:lut:lut', hash=3986163562, version=1, triplets=[(2, 0, 3)], pool=2, set_pool=0),
".mani": Mime(name='FGDK:Animation:mani', hash=1028102646, version=279, triplets=[], pool=2, set_pool=2),
".manis": Mime(name='FGDK:AnimationSet:manis', hash=4136986317, version=262, triplets=[(2, 0, 4), (1, 0, 2), (2, 0, 4)], pool=2, set_pool=0),
".marconiawards": Mime(name='Game:MarconiAwards:marconiawards', hash=3116962068, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".mdl2": Mime(name='FGDK:model2:mdl2', hash=4285397385, version=53, triplets=[], pool=2, set_pool=2),
".miniaturedata": Mime(name='Game:MiniatureData:miniaturedata', hash=3735075150, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".miscscreenbillboardatlas": Mime(name='Game:MiscScreenBillboardAtlas:miscscreenbillboardatlas', hash=728067798, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".missiondata": Mime(name='Game:MissionData:missiondata', hash=2953453046, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".motiongraph": Mime(name='FGDK4:MotionGraph:motiongraph', hash=3008683560, version=5, triplets=[], pool=2, set_pool=0),
".motiongraphvars": Mime(name='Casino:MotionGraphVariableDefs:motiongraphvars', hash=68333365, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".ms2": Mime(name='FGDK:modelSet2:ms2', hash=2893339832, version=53, triplets=[(1, 2, 2), (2, 0, 4), (0, 0, 0)], pool=2, set_pool=0),
".mutatordata": Mime(name='Game:MutatorData:mutatordata', hash=391453706, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".mutatorpage": Mime(name='Game:MutatorPage:mutatorpage', hash=1254119376, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".nfx": Mime(name='Project:notionfx:nfx', hash=3873602813, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".notificationdata": Mime(name='Game:NotificationData:notificationdata', hash=3215948768, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".particleatlas": Mime(name='FGDK4:ParticleAtlas:particleatlas', hash=1104188774, version=1, triplets=[(2, 0, 3)], pool=2, set_pool=0),
".particleeffect": Mime(name='FGDK4:Particle:particleeffect', hash=2206072130, version=37, triplets=[(2, 0, 4)], pool=2, set_pool=0),
".particlescalability": Mime(name='Game:ParticleScalability:particlescalability', hash=3874894792, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".physicssurfacesxmlres": Mime(name='Casino:PhysicsSurfaces:physicssurfacesxmlres', hash=3457112796, version=3, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".physmat": Mime(name='FGDK:physics:physmat', hash=3990346505, version=1, triplets=[(2, 0, 0)], pool=2, set_pool=0),
".playerleagues": Mime(name='Game:PlayerLeagues:playerleagues', hash=3525885476, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".ppuipkg": Mime(name='FGDK:uipackage:ppuipkg', hash=1424261100, version=3, triplets=[(2, 2, 2), (2, 2, 2)], pool=2, set_pool=0),
".prefab": Mime(name='Casino:Prefab:prefab', hash=3319920593, version=10, triplets=[], pool=3, set_pool=0),
".prefablist": Mime(name='Game:PrefabList:prefablist', hash=1395912342, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".racedata": Mime(name='Game:RaceData:racedata', hash=2863806536, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".realmgaterelationshipvisualpresets": Mime(name='Game:RealmgateRelationshipVisualPresets:realmgaterelationshipvisualpresets', hash=1500134906, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".realmgatevisualpresets": Mime(name='Game:RealmgateVisualPresets:realmgatevisualpresets', hash=67965654, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".renderfeaturecollection": Mime(name='Casino:RenderFeatureCollection:renderfeaturecollection', hash=3663044305, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".renderparametercurves": Mime(name='Casino:RenderParameterCurves:renderparametercurves', hash=414234515, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".renderparameters": Mime(name='Casino:RenderParameters:renderparameters', hash=3867679625, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".researchdata": Mime(name='Game:ResearchData:researchdata', hash=3889184748, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".retchinstancetypeset": Mime(name='Game:RetchInstanceTypeSet:retchinstancetypeset', hash=193029904, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".retchregionpreset": Mime(name='Game:RetchRegionPreset:retchregionpreset', hash=698636056, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".scenariofunction": Mime(name='Game:ScenarioFunction:scenariofunction', hash=3417222898, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".scenariograph": Mime(name='Game:ScenarioGraph:scenariograph', hash=3792387402, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".sceneeditorcharacterlist": Mime(name='Game:SceneEditorCharacterList:sceneeditorcharacterlist', hash=427462458, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".sceneryobjectresource": Mime(name='Game:SceneryObjectResource:sceneryobjectresource', hash=1066748846, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".sceneryobjecttaglist": Mime(name='Game:SceneryObjectTagDefinitionList:sceneryobjecttaglist', hash=219501751, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".spatialuitheme": Mime(name='Game:SpatialUITheme:spatialuitheme', hash=2195657757, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".spatialuiusage": Mime(name='Game:SpatialUIUsage:spatialuiusage', hash=2176209569, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".specdef": Mime(name='Casino:SpecDef:specdef', hash=1449963929, version=5, triplets=[], pool=3, set_pool=0),
".squaddata": Mime(name='Game:SquadData:squaddata', hash=2530187630, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".stmspec": Mime(name='Casino:StreamManagerSpec:stmspec', hash=857633301, version=4, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".techtree": Mime(name='Game:TechTree:techtree', hash=298398758, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".terrainlayers": Mime(name='Game:TerrainLayers:terrainlayers', hash=3842764554, version=3, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".tex": Mime(name='FGDK:Texture:tex', hash=3918879378, version=10, triplets=[(0, 0, 0), (2, 0, 0)], pool=3, set_pool=0),
".texatlas": Mime(name='FGDK:texatlas:texatlas', hash=3678279116, version=1, triplets=[], pool=2, set_pool=0),
".texturestream": Mime(name='FGDK:TextureStream:texturestream', hash=2045579306, version=10, triplets=[(0, 0, 0)], pool=3, set_pool=0),
".txt": Mime(name='FGDK:Text:txt', hash=640591495, version=3, triplets=[], pool=1, set_pool=0),
".waterlayers": Mime(name='Game:WaterLayers:waterlayers', hash=2672069290, version=7, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".waterparticles": Mime(name='Game:WaterParticles:waterparticles', hash=3914397714, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".wmetasb": Mime(name='Casino:WwiseMetaDataSoundbanks:wmetasb', hash=1945549149, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".world": Mime(name='Casino:WorldDesc:world', hash=1570896903, version=26, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".wrinklemapsspec": Mime(name='Game:WrinkleMapsSpec:wrinklemapsspec', hash=776778863, version=2, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".xcinematic": Mime(name='Project:cinematic:xcinematic', hash=1205602253, version=1, triplets=[(1, 2, 3)], pool=4, set_pool=0),
".xmlconfig": Mime(name='Casino:XMLConfig:xmlconfig', hash=3735214448, version=2, triplets=[], pool=2, set_pool=0)
}
Loading

0 comments on commit daee5fd

Please sign in to comment.