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 26277 16616 63.23% 0 0.00%
ASEB 5823 2027 34.81% 0 0.00%
ASET 13500 6520 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 6988 2625 37.56% 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 267 98.52% 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 11959 9319 77.92% 1438 12.02%
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 3150 1505 47.78% 1407 44.67%
LINE 32182 25937 80.59% 1944 6.04%
LOCM 16 16 100.00% 0 0.00%
LOCR 9635 6541 67.89% 506 5.25%
MATB 5473 4810 87.89% 644 11.77%
MATE 1104 834 75.54% 0 0.00%
MATI 18696 17389 93.01% 1274 6.81%
MATT 5472 4809 87.88% 644 11.77%
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 143 100.00% 0 0.00%
PRIM 42791 21973 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 56140 40933 72.91% 15003 26.72%
TELI 65278 34674 53.12% 0 0.00%
TEMP 85721 60059 70.06% 25338 29.56%
TEXD 43419 32289 74.37% 9766 22.49%
TEXT 44200 32643 73.85% 10453 23.65%
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 47 77.05% 14 22.95%
WSWT 66 47 71.21% 19 28.79%
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.