Skip to content

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 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 53 53 100.00% 0 0.00%
ALOC 26934 16882 62.68% 0 0.00%
ASEB 5882 3361 57.14% 0 0.00%
ASET 13726 7884 57.44% 0 0.00%
ASVA 285 267 93.68% 9 3.16%
ATMD 17918 6495 36.25% 0 0.00%
BLOB 1 1 100.00% 0 0.00%
BMSK 59 38 64.41% 0 0.00%
BORG 7231 2811 38.87% 0 0.00%
BOXC 41 41 100.00% 0 0.00%
CBLU 2694 2694 100.00% 0 0.00%
CLNG 4 0 0.00% 0 0.00%
CPPT 2694 2694 100.00% 0 0.00%
CRMD 58 51 87.93% 1 1.72%
DITL 4 0 0.00% 0 0.00%
DLGE 49784 46785 93.98% 2371 4.76%
DSWB 5 0 0.00% 5 100.00%
ECPB 2861 1330 46.49% 0 0.00%
ECPT 2861 1330 46.49% 0 0.00%
ENUM 2 1 50.00% 1 50.00%
ERES 407 268 65.85% 3 0.74%
FXAC 4 4 100.00% 0 0.00%
FXAS 357642 354028 98.99% 0 0.00%
GFXF 43 43 100.00% 0 0.00%
GFXI 12268 9669 78.81% 1252 10.21%
GFXV 327 122 37.31% 196 59.94%
GIDX 1 1 100.00% 0 0.00%
HIKC 2 2 100.00% 0 0.00%
JSON 3189 1926 60.40% 1003 31.45%
LINE 33243 26005 78.23% 1932 5.81%
LOCM 18 16 88.89% 0 0.00%
LOCR 10530 6797 64.55% 504 4.79%
MATB 5548 4931 88.88% 573 10.33%
MATE 1128 835 74.02% 0 0.00%
MATI 19011 17600 92.58% 1114 5.86%
MATT 5547 4930 88.88% 573 10.33%
MJBA 20681 7406 35.81% 0 0.00%
MRTN 2326 1079 46.39% 0 0.00%
MRTR 862 85 9.86% 0 0.00%
NAVP 81 79 97.53% 1 1.23%
ORES 9 7 77.78% 0 0.00%
PREL 144 144 100.00% 0 0.00%
PRIM 44287 22473 50.74% 228 0.51%
REPO 3 2 66.67% 0 0.00%
RTLV 145 0 0.00% 137 94.48%
SCDA 940 820 87.23% 0 0.00%
SDEF 507 503 99.21% 0 0.00%
TBLU 57132 41364 72.40% 14996 26.25%
TELI 65725 34674 52.76% 0 0.00%
TEMP 87478 60762 69.46% 25320 28.94%
TEXD 49703 38235 76.93% 9067 18.24%
TEXT 45017 33553 74.53% 9745 21.65%
UICB 477 475 99.58% 0 0.00%
UICT 477 475 99.58% 0 0.00%
VIDB 99 99 100.00% 0 0.00%
VTXD 11307 8695 76.90% 0 0.00%
WBNK 1550 935 60.32% 0 0.00%
WMDA 9 9 100.00% 0 0.00%
WSGB 144 133 92.36% 11 7.64%
WSGT 144 133 92.36% 11 7.64%
WSWB 62 48 77.42% 14 22.58%
WSWT 67 48 71.64% 19 28.36%
WWEM 385657 271541 70.41% 85030 22.05%
WWES 187149 187149 100.00% 0 0.00%
WWEV 27400 19882 72.56% 6247 22.80%
WWFX 18803 17234 91.66% 0 0.00%
YSHP 4 3 75.00% 1 25.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 7

Languages