Calculate IWAD's MD5 and dump to Checksum.txt

Moderator: GZDoom Developers

Locked
WilliamMacau
Posts: 62
Joined: Tue Jan 05, 2016 3:03 am

Calculate IWAD's MD5 and dump to Checksum.txt

Post by WilliamMacau »

Is it possible to have GZDOOM to calculate the MD5 checksums for the IWAD files found, then create some sort of report file, with warnings, so the users could upgrade to the right versions of each file ???

I mean, something like this:
checksum.txt
(208 Bytes) Downloaded 53 times
Or at least, checksum all the IWADs detected by GZDOOM, so people can keep track of wich versions they got, so they can patch it accordingly ?

I know: It's worthless to MD5 the Indie games...

But that's NOT the case for the COMMERCIAL GAMES like DOOM 2 and such. ( Wich the latest patched version DOES MATTER, in fact! )

The DOOM Wiki has MD5 for the commercial games.
Example:
https://doomwiki.org/wiki/DOOM.WAD
https://doomwiki.org/wiki/DOOM2.WAD
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by Graf Zahl »

Why should GZDoom do that? There's enough checksum tools out there.
WilliamMacau
Posts: 62
Joined: Tue Jan 05, 2016 3:03 am

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by WilliamMacau »

So people could know the IWAD version beeing used, so they stop complaining that "GZDOOM crashed" - If they are playing the DOOM.WAD v1.1 for example.

It's not matter of "why or why not" but that it would help debugging.
User avatar
Rachael
Posts: 13934
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by Rachael »

GZDoom doesn't crash if you play v1.1 IWAD. In fact, it plays it just fine - albeit a few sounds are missing.

However, you will not get any of the compatibility patching that GZDoom does internally to ensure that any of the maps work correctly.
WilliamMacau
Posts: 62
Joined: Tue Jan 05, 2016 3:03 am

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by WilliamMacau »

Yeah, yeah.. I said v.1 as an example, didn't think of the inner details.

That's even better, GZDOOM could be more precise in that "internal patching" and help troubleshooting in general, as you know exactly watch version of IWAD and why not - the loaded PWADs as well ? So you would know precisely the combination of "IWAD + WAD + PK3 + anything else" you are loading.
User avatar
Enjay
 
 
Posts: 26993
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by Enjay »

WilliamMacau wrote:So people could know the IWAD version beeing used, so they stop complaining that "GZDOOM crashed" - If they are playing the DOOM.WAD v1.1 for example.
You make it sound like it's a regular thing. I can't remember that last time (if ever) someone complained that GZDoom crashed only to find out their IWAD was old. There have been a few reports over the years about error messages that are generated because someone is using an old IWAD but even those have become few and far between these days.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by Kinsie »

I feel like a lot of WilliamMacau's feature requests are solutions in search of problems.
WilliamMacau
Posts: 62
Joined: Tue Jan 05, 2016 3:03 am

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by WilliamMacau »

Kinsie wrote:I feel like a lot of WilliamMacau's feature requests are solutions in search of problems.
Yeah, like when I ASKED for Strife Veteran Edition's SVE.WAD support and it was NOed - but now surprisingly it's added as feature.



So leave me alone, if you don't have something useful to say.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by wildweasel »

WilliamMacau wrote:Yeah, like when I ASKED for Strife Veteran Edition's SVE.WAD support and it was NOed - but now surprisingly it's added as feature.
Things can change over time. For example, the reason SVE support was given a [No] back in July of 2016 was because, at the time, ZDoom's license was not compatible with the GPL license used by Strife Veteran Edition. Almost one year later, that is no longer a problem, as the GZDoom codebase is now under GPL.
So leave me alone, if you don't have something useful to say.
Please don't be like that.
WilliamMacau
Posts: 62
Joined: Tue Jan 05, 2016 3:03 am

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by WilliamMacau »

wildweasel wrote:
WilliamMacau wrote:Yeah, like when I ASKED for Strife Veteran Edition's SVE.WAD support and it was NOed - but now surprisingly it's added as feature.
Things can change over time. For example, the reason SVE support was given a [No] back in July of 2016 was because, at the time, ZDoom's license was not compatible with the GPL license used by Strife Veteran Edition. Almost one year later, that is no longer a problem, as the GZDoom codebase is now under GPL.
So leave me alone, if you don't have something useful to say.
Please don't be like that.

No, Weasel, that feature it's not a problem, I expected that it would show up again sooner or later. And that's cool it got added as well.

I just used that as an EXAMPLE for answering that post. That comment was just asking for it.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Calculate IWAD's MD5 and dump to Checksum.txt

Post by wildweasel »

WilliamMacau wrote:That comment was just asking for it.
A thing to realize is that nobody is ever asking for it. With that, I'm closing this, as the feature's already been rejected and I don't see that continued discussion will be very fruitful here.

If you need to calculate your MD5s, there are many good free programs and websites available that will help you do this. It arguably shouldn't be GZDoom's business to dump the hashes for you.
Locked

Return to “Closed Feature Suggestions [GZDoom]”