Xaymar / Hellextractor

A simple tool to extract things from Helldivers 2 for your 3D printing needs.
BSD 3-Clause "New" or "Revised" License
32 stars 5 forks source link

Fix murmur64a hash #31

Closed xypwn closed 6 months ago

xypwn commented 6 months ago

Previously, calculated hashes would be wrong if input length was a multiple of 8.

An example of such a wrong hash calculation is the string "content/audio/wep_colony_shotgun". Using the current upstream version, the hash is wrongly calculated as cc54dec1972bc218. The correct hash for this string is d8a50cd49f4b1c59, which this patched version produces.