diff options
Diffstat (limited to 'scripts/cmd5.py')
| -rw-r--r-- | scripts/cmd5.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cmd5.py b/scripts/cmd5.py index 91e22f63..0eac2a33 100644 --- a/scripts/cmd5.py +++ b/scripts/cmd5.py @@ -29,4 +29,7 @@ for filename in sys.argv[1:]: f += cstrip([l.strip() for l in open(filename, "rb")]) hash = hashlib.md5(f).hexdigest().lower()[16:] +#TODO 0.7: improve nethash creation +if hash == "e20714704d311d78": + hash = "626fce9a778df4d4" print('#define GAME_NETVERSION_HASH "%s"' % hash) |