0 of 0

File information

Last updated

Original upload

Created by

Janoti

Uploaded by

Janoti1

Virus scan

Safe to use

Tags for this mod

About this mod

This Mod allows the convertion of strings to murmur hashes as they are used by the game,
and the convertion from a hash to an inverted hash that when hashed again results in the same hash for further use in other mods.

Permissions and credits
Mirrors
Changelogs
This is a mod for other modders

This Mod allows the convertion of strings to murmur hashes as they are used by the game,
and the convertion from a hash to an inverted hash that when hashed again results in the same hash for further use in other mods.

This is a Port to Darktide from the original Vermintide 2 Mod Murmur Hash.

This functionality has been part of the VT2 Bundle Unpacker for some time but was not accessible in the game itself.

The inverse hash is not the original string that was used to create a hash. Instead, it is a string of fixed length that, when hashed with Murmur, creates a hash identical to <input>.
While the primary version of the hash function operates on and creates 64-bit hashes, the engine sometimes uses 32-bit hashes. However, while a separate algorithm does exist, the game instead simply creates a 64-bit hash and cuts off the second half.

Functionality
Create a hash value from a string:
/murmur_hash <string_to_hash>

Create an inversed hash value from a hash:
/murmur_inverse <hash_hi> <hash_lo>

The has value has to be split in its hi and lo part eg
0C5CF5FB0717AFCB --> hash_hi = 0x0C5CF5FB, hash_lo = 0x0717AFCB


For additional details to what murmur is and how the mod works please refer to:
The mods source
Discussion in the Vermintide Modders Discord Server
Documentation of the VT2 Bundle Unpacker
Original reference code

Credits
Huge thanks to Mending who helped me make 64bit calculations finally a reality in lua
And many thanks to all the people that helped me with tools or general support while researching and testing the topic;
Sir Aiedail, Whitegoat, MantisShrimp, dalo_kraff, MannyBlanc

Thumbnail