Update Dictionary

Lucas Schwiderski 2023-11-27 11:38:20 +01:00
parent e0ed4fbca3
commit e1d9237f24

@ -1,4 +1,4 @@
Fatshark heavily utilizes hashing to turn arbitrary strings into fixed-size data types. Specifically, they use Murmur in its 32-bit and 64-bit variants, which is very fast to calculate, while still producing a decent uniformity (likelihood of producing duplicates).
Fatshark heavily utilizes hashing to turn arbitrary strings into fixed-size data types. Specifically, they use Murmur in its 64-bit variant, which is very fast to calculate, while still producing a decent uniformity (likelihood of producing duplicates).
However, to be able to do things like loading packages or finding a specific file, we need to know the original string values. The Dictionary (`dictionary.csv` by default) is a collection of known (and guessed) strings. It maps these back to their hash values, so that whenever a hash value is found in the game files, it can be looked up and matched in the dictionary.