Update 'Dictionary'

Lucas Schwiderski 2023-03-06 10:39:57 +01:00
parent 69c6738348
commit de81474aa0

@ -4,6 +4,6 @@ However, to be able to do things like loading packages or finding a specific fil
But the dictionary is far from complete, and likely never will be. Therefore, DTMT will fall back to producing the hash value itself whenever it encounters a Murmur hash that cannot be found in the dictionary. It is important to note that because of this, decompiling and re-compiling a file is not always idempotent, as the stringified hash value will produce a different hash than the original string.
CSV format for the dictionary: `string,murmur64,murmr32,group`.
CSV format for the dictionary: `string,murmur64,murmur32,group`.
The `group` is one of several (see `dtmt dictionary add --help`), which segment hashes by their usage in the engine. While uniformity for Murmur is decent, Fatshark's compilation pipeline only ensures unique hashes within their respective usage groups. I.e. the hashes for file names may overlap with the ones for localization IDs in `.strings` files. Therefore, DTMT has to respect the same groups to avoid false-positive matches during decompilation.