Jump to content
The Dark Mod Forums

please explain the hash


Recommended Posts

31 minutes ago, dentad said:

I am installing TDM for the first time, and inside the file hash.txt is zsMH:<hash>.
I know what MD5, SHA256 are etc. but what is zsMH and how do I verify it?

Ehm... I see you are a tech-savvy user if you care about hash verification 😀

Normally, you can ignore this hash if you download the program from the official website: www.thedarkmod.com
It is there for tdm_installer's self-update: thanks to this file it can learn when new version has been posted on mirrors, without downloading the whole file every time.

But if you really want to check it, zsMH is not the name of the hash.
The hash is computed with BLAKE2s hash function.
Compute if for tdm_installer.exe or tdm_installer.linux64, and it should match.

  • Thanks 1
Link to post
Share on other sites

Thank you:

$ b2sum -a blake2s tdm_installer.linux64
5644d1a1b4c17f9d5abeb9c5e8517c10d269cc0174fac16842a9205180e50f4f  tdm_installer.linux64

$ cat hash.txt
zsMH:5644d1a1b4c17f9d5abeb9c5e8517c10d269cc0174fac16842a9205180e50f4f

Yes I am technical 🙂 I speak code -> C++, Rust, Python.

  • Like 1
Link to post
Share on other sites

To be fair, the fact you're checking the Linux version of tdm_installer also makes for a strong suggestion of the technical type.

In any case, play TDM, it's a good way to deal with the (hopefully short) lockdown...

  • Like 1

A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.

Link to post
Share on other sites
  • 1 month later...

I extracted the Windows TDM Installer zip to my Desktop; now I have a hash.txt file there. Should I move it to my 'darkmod' game directory, or delete it? I use Win10.

Based on stgatilov's post, I can't tell if it exists just for the initial download, or if the TDM updater will keep using it in future TDM version updates

Edited by Darkness_Falls
Link to post
Share on other sites
10 hours ago, Darkness_Falls said:

I extracted the Windows TDM Installer zip to my Desktop; now I have a hash.txt file there. Should I move it to my 'darkmod' game directory, or delete it? I use Win10.

You can delete it.

It is important that this file is present on TDM server, because it is used for self-update. But after you download zip file, it has no use.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...