Jump to content
The Dark Mod Forums

please explain the hash


dentad
 Share

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 comment
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 comment
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 2

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

Link to comment
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 comment
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 comment
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.

 Share

  • Recent Status Updates

    • STiFU

      I started skateboarding again after a 20 year hiatus. Whish me luck I don't break anything. 😄
      · 6 replies
    • freyk

      Some years earlier i created some launchers for TDM. uploaded today some new sourcecode and executables on my github repo.
       
      · 0 replies
    • Epifire

      Say, I know it's been a while since the site got overhauled from the crash. But did we ever figure out if/how to get the recent topics & replies list back? It's not a total deal breaker but it was nice for becoming a thread creeper again...


      · 2 replies
    • Epifire

      Some of you who've been on the TDM discord know I was out of work last Winter, just putting in hrs for the developer portfolio. Currently I've been working a seasonal job to pay the bills and now I'm finally in my last week before I get bumped off. Things will be tight but I'm planning a long off period to make as much content as I can. Big plans in Unreal Engine as well as my most ambitious TDM collab yet! Never been so excited to be a stuck at home to pursue my life's work. With a lotta time and maybe some luck, I'm hoping to get enough art work done that I may start applying around to studios.
      · 4 replies
    • STiFU

      I finally got around to play Prey and I truly loved it. It is an incredible homage to System Shock and Deus Ex. While the gameplay is not en par with those two titles, the game makes up for that with its well written lore and story. The whole "world" just feells so authentic and it features a ton of really god environmental story-telling. Recommended for every immersive sim fan, i.e., everyone on this forum.
      · 5 replies
×
×
  • Create New...