Skip to content

glacier-modding/Hitman-Hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,122 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hitman-Hashes

Resources Badge Completion Badge Formats Badge Alphajuly2015 Badge H1 Badge H2 Badge H3 Badge Beta Badge Sa Badge Unknown Badge Alphajan2015 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 58 58 100.00% 0 0.00%
ALOC 27208 26682 98.07% 0 0.00%
ASEB 5964 5935 99.51% 0 0.00%
ASET 13918 13740 98.72% 0 0.00%
ASVA 287 285 99.30% 0 0.00%
ATMD 18481 17433 94.33% 0 0.00%
BLOB 1 1 100.00% 0 0.00%
BMSK 61 60 98.36% 0 0.00%
BORG 7458 7036 94.34% 0 0.00%
BOXC 52 52 100.00% 0 0.00%
CBLU 2820 2820 100.00% 0 0.00%
CLNG 4 4 100.00% 0 0.00%
CPPT 2820 2820 100.00% 0 0.00%
CRMD 60 60 100.00% 0 0.00%
DITL 4 4 100.00% 0 0.00%
DLGE 52832 52708 99.77% 0 0.00%
DSWB 5 5 100.00% 0 0.00%
ECPB 2901 2894 99.76% 0 0.00%
ECPT 2901 2894 99.76% 0 0.00%
ENUM 2 2 100.00% 0 0.00%
ERES 407 406 99.75% 0 0.00%
FXAC 4 4 100.00% 0 0.00%
FXAS 363281 360427 99.21% 6 0.00%
GFXF 43 43 100.00% 0 0.00%
GFXI 12736 12439 97.67% 2 0.02%
GFXV 335 329 98.21% 0 0.00%
GIDX 1 1 100.00% 0 0.00%
HIKC 2 2 100.00% 0 0.00%
JSON 3292 3072 93.32% 19 0.58%
LINE 33839 32470 95.95% 0 0.00%
LOCM 18 16 88.89% 0 0.00%
LOCR 10546 7443 70.58% 0 0.00%
MATB 5702 5667 99.39% 34 0.60%
MATE 1139 1073 94.21% 0 0.00%
MATI 19260 19206 99.72% 51 0.26%
MATT 5701 5666 99.39% 34 0.60%
MJBA 21317 20142 94.49% 0 0.00%
MRTN 2376 2292 96.46% 0 0.00%
MRTR 869 842 96.89% 0 0.00%
NAVP 86 86 100.00% 0 0.00%
ORES 9 9 100.00% 0 0.00%
PREL 149 149 100.00% 0 0.00%
PRIM 44947 43231 96.18% 2 0.00%
REPO 3 2 66.67% 0 0.00%
RTLV 150 145 96.67% 3 2.00%
SCDA 940 879 93.51% 0 0.00%
SDEF 511 509 99.61% 0 0.00%
TBLU 59401 59112 99.51% 252 0.42%
TELI 65725 35704 54.32% 0 0.00%
TEMP 90140 89249 99.01% 396 0.44%
TEXD 50341 49031 97.40% 7 0.01%
TEXT 45680 44414 97.23% 7 0.02%
UICB 481 479 99.58% 0 0.00%
UICT 481 479 99.58% 0 0.00%
VIDB 103 103 100.00% 0 0.00%
VTXD 11307 11292 99.87% 0 0.00%
WBNK 1550 970 62.58% 1 0.06%
WMDA 9 9 100.00% 0 0.00%
WSGB 150 148 98.67% 0 0.00%
WSGT 150 148 98.67% 0 0.00%
WSWB 63 63 100.00% 0 0.00%
WSWT 68 68 100.00% 0 0.00%
WWEM 385683 281407 72.96% 75299 19.52%
WWES 192788 192788 100.00% 0 0.00%
WWEV 27734 26224 94.56% 298 1.07%
WWFX 18803 17240 91.69% 0 0.00%
YSHP 4 4 100.00% 0 0.00%

Game flags

Game Bit Representation (Binary)
alphaJuly2015 0b00000001
H1 0b00000010
H2 0b00000100
H3 0b00001000
Beta 0b00010000
SA 0b00100000
Unknown 0b01000000
alphaJan2015 0b10000000

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages