PDA

View Full Version : How to compare shntool md5 checksums against files


Gizby
2004-11-26, 04:35 AM
Thanks to Rain's site and tutorials, I can easily create proper md5 checksums. That's the easy part. But what I can't figure out is how to compare a txt/md5 file with the checksums against actual files. I obviously can't do it through md5summer anymore. Any batch file that might be able to do this? I know I could create a second md5 file and compare the two files by myself, but that seems very inefficient.

RainDawg
2004-11-26, 11:48 AM
I know I could create a second md5 file and compare the two files by myself, but that seems very inefficient.
Unfortunately, that is the only way to do it right now...I am currently working on an shntool frontend in my spare time which will be able to check files against an shntool md5, but for right now, it has to be done by creating a new one on your files and visually comparing them again the original.

I am considering making shntool md5s a new extension (.st5 or .stm) that will automatically open with my new program, but I'm several months away from being able to release this to the public, so for the time being, it just has to be done this way.

jazzbo
2004-11-26, 12:13 PM
A few months ago, back when we had a discussion in technobabble over on stg about whole file md5s and shntool, I worked on a patched version of Caleb's md5check script as a proof of concept.

If anyone is interested I can upload it -- although from what I can tell not a lot of people use that tool to verify their md5s.

It obviously has all of the requirements of the original md5check -- at least a locally installed perl installed with the appropriate CPAN modules. I don't have access to a Windows machine on any type of regular basis, so I only know it works in linux, but from looking at Caleb's notes he designed it to work with ActiveState Perl.