Skip to content

Paths and hints for resources inside of Hitman's resource packages (RPKGs).

License

Notifications You must be signed in to change notification settings

glacier-modding/Hitman-Hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hitman-Hashes

Resources Badge Completion Badge Formats Badge Alpha Badge H1 Badge H2 Badge H3 Badge Beta Badge Sa Badge Unknown Badge

Statistics

Show table
File Type Total Resources Correct Paths Correct Percentage Hints Hint Percentage
AIBB 1 1 100.00% 0 0.00%
AIBX 1 1 100.00% 0 0.00%
AIBZ 5 5 100.00% 0 0.00%
AIRG 51 51 100.00% 0 0.00%
ALOC 26273 16613 63.23% 0 0.00%
ASEB 5823 2027 34.81% 0 0.00%
ASET 13498 6519 48.30% 0 0.00%
ASVA 277 267 96.39% 9 3.25%
ATMD 17004 6458 37.98% 0 0.00%
BMSK 59 38 64.41% 0 0.00%
BORG 6985 2625 37.58% 0 0.00%
BOXC 41 41 100.00% 0 0.00%
CBLU 2646 2646 100.00% 0 0.00%
CLNG 4 0 0.00% 0 0.00%
CPPT 2646 2646 100.00% 0 0.00%
CRMD 56 50 89.29% 1 1.79%
DITL 4 0 0.00% 0 0.00%
DLGE 48986 46358 94.64% 2371 4.84%
DSWB 5 0 0.00% 5 100.00%
ECPB 2838 0 0.00% 0 0.00%
ECPT 2838 0 0.00% 0 0.00%
ENUM 2 1 50.00% 1 50.00%
ERES 271 266 98.15% 3 1.11%
FXAC 4 4 100.00% 0 0.00%
FXAS 350590 349881 99.80% 0 0.00%
GFXF 41 41 100.00% 0 0.00%
GFXI 11935 9298 77.91% 1438 12.05%
GFXV 320 119 37.19% 196 61.25%
GIDX 1 1 100.00% 0 0.00%
HIKC 2 2 100.00% 0 0.00%
JSON 3146 1501 47.71% 1407 44.72%
LINE 32167 25906 80.54% 1479 4.60%
LOCM 16 14 87.50% 0 0.00%
LOCR 9634 6531 67.79% 511 5.30%
MATB 5468 4809 87.95% 644 11.78%
MATE 1103 833 75.52% 0 0.00%
MATI 18690 17386 93.02% 1274 6.82%
MATT 5467 4808 87.95% 644 11.78%
MJBA 19678 7363 37.42% 0 0.00%
MRTN 2255 1074 47.63% 0 0.00%
MRTR 854 85 9.95% 0 0.00%
NAVP 79 77 97.47% 1 1.27%
ORES 9 7 77.78% 0 0.00%
PREL 143 142 99.30% 0 0.00%
PRIM 42781 21969 51.35% 241 0.56%
REPO 2 2 100.00% 0 0.00%
RTLV 144 0 0.00% 137 95.14%
SCDA 877 818 93.27% 0 0.00%
SDEF 502 502 100.00% 0 0.00%
TBLU 56116 40896 72.88% 14971 26.68%
TELI 65278 34674 53.12% 0 0.00%
TEMP 85689 60018 70.04% 25305 29.53%
TEXD 43400 32279 74.38% 9766 22.50%
TEXT 44180 32626 73.85% 10453 23.66%
UICB 393 393 100.00% 0 0.00%
UICT 393 393 100.00% 0 0.00%
VIDB 97 0 0.00% 94 96.91%
VTXD 11307 8695 76.90% 0 0.00%
WBNK 845 815 96.45% 0 0.00%
WMDA 9 9 100.00% 0 0.00%
WSGB 143 132 92.31% 11 7.69%
WSGT 143 132 92.31% 11 7.69%
WSWB 61 46 75.41% 15 24.59%
WSWT 66 46 69.70% 20 30.30%
WWEM 381607 271538 71.16% 85030 22.28%
WWES 186579 186579 100.00% 0 0.00%
WWEV 26116 19820 75.89% 6257 23.96%
WWFX 17082 17063 99.89% 0 0.00%
YSHP 4 3 75.00% 1 25.00%

Game flags

Game Bit Representation (Binary)
Alpha 0b000001
H1 0b000010
H2 0b000100
H3 0b001000
Beta 0b010000
SA 0b100000
Unknown 0b1000000

Scripts

This repository contains four main scripts merge.py, add_paths.py, add_new_hashes.py and extract_hashes.py. They must be ran from the repository's root directory like python ./scripts/add_paths.py.

merge.py

Generates hash_list.txt. Takes a version number as an argument and optionally --game (separate games by spaces if you wish to include multiple). Example: python ./scripts/merge.py 0 or python ./scripts/merge.py 0 --game h1 h2.

add_paths.py

Adds paths to their assoicated hashes within the path folder's JSON files.

Defaults to reading a file called new_paths.txt in the repository's root directory which needs to contain data structured like this (resource type is optional, although it will make adding paths slightly slower if omitted):

000A4FB9B5FDAB19.WSGT,[assembly:/sound/wwise/exportedwwisedata/states/levelspecific_states/paris/fashionshowmusic_level_state.wwisestategroup].pc_entitytype
004B66043E12A8E3.WSGB,[assembly:/sound/wwise/exportedwwisedata/states/levelspecific_states/paris/fashionshowmusic_level_state.wwisestategroup].pc_entityblueprint
005EA1E72FC62DEC.WSGT,[assembly:/sound/wwise/exportedwwisedata/states/levelspecific_states/paris/paris_rain_puddle_state.wwisestategroup].pc_entitytype
0054C5081030A3D0.WSGB,[assembly:/sound/wwise/exportedwwisedata/states/levelspecific_states/paris/paris_rain_puddle_state.wwisestategroup].pc_entityblueprint

add_new_hashes.py

Adds new hashes into the JSON files.

Requires a new_hashes.txt file in the repository's root directory which contains data structured like:

000A4FB9B5FDAB19.WSGT:h3
004B66043E12A8E3.WSGB:h3
005EA1E72FC62DEC.WSGT:h3
0054C5081030A3D0.WSGB:h3
003B993A25498AE6.AIBB:h2,h3

Possible games are: alpha, h1, h2, h3, beta and sa.

extract_hashes.py

Extracts a list of hashes from RPKG files into a text file. This is for use with the add_new_hashes.py script. Example: python .\scripts\extract_hashes.py --input C:\Epic\HITMAN3\Runtime --game h3.