DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Release: SFV Ninja (Simple File Verification application)  (Read 285,051 times)

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Name SFV Ninja (Simple File Verification application)
Short Description SFV (Simple File Verification) application.  It also supports MD5, SHA-1, SHA-256, SHA-384, and SHA-512 checksum files.  I wrote this several years ago for my own use but cleaned up the code for a public release.
Features
  • Two verifcation modes.  The first will verify all files in the list like any typical SFV application.  The second mode will only verify any newly added files.  This second mode allows you to "update" an existing SFV file without having to verify all of the files.
  • Recursively scan a folder for SFV/MD5/SHA-1/SHA-256 files and load them all at once.
  • Uses relative paths whenever possible when generating checksum files.
Supported OSes Windows 7.  Probably works, but not tested, on Windows XP/Vista/8/10
Website http://skwire.dcmembers.com/fp/?page=sfv-ninja
Download Link Download
Author Jody Holmes - Skwire Empire

main.png
« Last Edit: July 11, 2016, 01:59 AM by skwire »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: SFV Ninja (Simple File Verification application)
« Reply #1 on: March 28, 2011, 02:41 AM »
this is nice.. thanks! :Thmbsup:

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: SFV Ninja (Simple File Verification application)
« Reply #2 on: March 28, 2011, 04:08 PM »
Screenshot looks nice - does it have decent progress bars? Does speed rock? Does it handle >2GB files? Does it support the MD5 SFV extensions?

I personally still use the freeware FlashSFV 2.0f (iirc done by the guys that did FlashFXP) - but at one point it kinda disappeared off the radar, and I haven't checked out the most recent 2.6. Might be interesting to pit it against your tool :)
- carpe noctem

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #3 on: March 28, 2011, 04:24 PM »
does it have decent progress bars?
Does speed rock?
Does it handle >2GB files?
Does it support the MD5 SFV extensions?

  1. The progress bar is less than desirable by your standards, I'd say.
  2. Speed should be fine.  It is for me, anyway.
  3. I've tested with 1GB sized files.  Now tested successfully with 4GB sized files.
  4. No, only standard CRC32 SFV files.  Now supports SFV, MD5 & SHA-1 checksum files.

One of the main reasons I wrote this five years ago was that I wanted to be able to easily scan through a directory, load all the SFV files found and batch check them.  Nothing I could find back then really suited my purposes.
« Last Edit: April 12, 2011, 08:12 PM by skwire »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #4 on: March 28, 2011, 05:14 PM »
I just tested out the latest FlashSFV and, unless I'm mistaken (entirely possible), here are some of my findings:

  1. It can't handle Unicode paths.
  2. It can only create an SFV file out of files from one folder.
  3. It does not save the SFV with relative paths.  In other words, if you save the created SFV into another folder other than the one with the checksummed files, it won't work anymore.

The above items are important to me so SFV Ninja does all three.  It handles Unicode paths just fine and writes its SFV files out in UTF-8 format.  You can also build an SFV file out of files that come from any number of folders.  The resulting SFV file is then saved with paths relative to the save folder of the SFV file.  Furthermore, I tested out SFV Ninja on a 4GB VM hard drive file and it worked just fine.  Give it a shot, you may like it.  :D

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #5 on: April 04, 2011, 01:13 AM »
Hello, I've just signed up after I saw your app..
I've been looking for months for this feature: Recursively scan a folder for verification files and load them all at once.
So I've to ask is it planned to add support for md5 anytime in the future?

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #6 on: April 04, 2011, 01:45 AM »
So I've to ask is it planned to add support for md5 anytime in the future?

Honestly, I hadn't planned on it.  :-[  I'm going to assume that you use .MD5 files instead of .SFV?

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #7 on: April 04, 2011, 02:18 AM »
BTW, Marc.D, welcome to the site.  :)

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #8 on: April 04, 2011, 03:03 AM »
Well yes I've used them all the way long for my music (along with foobar :-*... )
I'm out of luck? duh

BTW, Marc.D, welcome to the site.   :)

Thanks :)

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #9 on: April 04, 2011, 03:21 AM »
I'm out of luck?

Not necessarily.  Let me do some research and see what it will take to add MD5 support.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #10 on: April 06, 2011, 10:42 PM »
Update:  I have the application working with MD5 and SHA-1 hashes.  I just need to write the file loading and saving routines (easy stuff) and it should be done.  

I did want to get some input on how to handle the three different types of hashes.  Even though it's easy to differentiate between the different hashes due to their checksum length, I'd like to stay away from any sort of fuzzy logic stuff that would attempt guess at which type of hash is being called for.  The reason for this is that I don't want to encourage mixed hash types in the list.  Does this make sense?  So, with that being said, I was thinking three new "mode" buttons on the toolbar; one each for crc32 (SFV), md5 and sha-1 modes.  The user will need to set one of the three modes before attempting to load and/or check files.  Does this sound like a reasonable solution?  If not, feel free to suggest something else.  
« Last Edit: April 07, 2011, 07:13 PM by skwire »

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #11 on: April 07, 2011, 07:03 PM »
It sounds reasonable to me. I actually didn't thought about it and I agree I would prefer not to check other types of hashes that may be loaded and mixed in the list.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #12 on: April 08, 2011, 10:23 PM »
Give this a try:

Website | Download
v1.0.3 - 2011-04-08
    + Added modes/support for MD5 and SHA-1 algorithms.  (Thanks, Marc.D)

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #13 on: April 10, 2011, 03:24 AM »
Thank you Skwire, really appreciated :):):)
It's working nice here. :beerchug:

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #14 on: April 10, 2011, 03:49 AM »
So, I presume you were able to recursively load MD5 files from your music folder?  Also, if I may, are the changes intuitive enough?  One thing I still need to add is a way to cancel a scan (either with a button or, say, the Escape key).

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #15 on: April 11, 2011, 12:57 AM »
IMHO I think they are ok...

One thing I still need to add is a way to cancel a scan (either with a button or, say, the Escape key).
Well yes, I thought of using the exit button in those cases :-[ ...

There seems to be an error when loading checksums recursively for a drive. I noticed that the file path has a double "\\" like "E:\\" and it returns an error when is closed. This is the report:

Code
Exception Information
Code: 0xc0000005	Flags: 0x00000000
Record: 0x0000000000000000	Address: 0x000000007c921689

System Information
Windows NT 5.1 Build: 2600
CPU Vendor Code: 68747541 - 69746E65 - 444D4163
CPU Version: 00040FF2  CPU Feature Code: 078BFBFF
CPU AMD Feature Code: EBD3FBFF

PD: Out of laziness could the selected checksum mode button be remembered? : D
« Last Edit: April 11, 2011, 01:04 AM by Marc.D »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #16 on: April 11, 2011, 06:14 AM »
Website | Download
v1.0.4 - 2011-04-11
   + Pressing the Escape key during a scan will cancel the scan.
   + Checksum mode is now saved.  (Thanks, Marc.D)



As for that error, I can reproduce it.  However, I haven't a clue why it happens.  :-[

Marc.D

  • Participant
  • Joined in 2011
  • *
  • Posts: 6
Re: SFV Ninja (Simple File Verification application)
« Reply #17 on: April 12, 2011, 03:24 PM »
: O : O
+ Checksum mode is now saved.
Thanks again :)

mitzevo

  • Control is power
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 462
    • Linux User
    • Furry Fandom Badge - Furry Fandom
Re: SFV Ninja (Simple File Verification application)
« Reply #18 on: April 17, 2011, 05:58 AM »
Nice tool skwire.  ;D
The clock is running. Make the most of today. Time waits for no man. Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the present.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: SFV Ninja (Simple File Verification application)
« Reply #19 on: September 30, 2011, 03:19 PM »
Mentioned on ghacks today!
http://www.ghacks.net/2011/09/30/sfv-ninja-simple-file-verification-software/

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #20 on: September 30, 2011, 03:25 PM »
Nice, thanks for the heads up.  :)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: SFV Ninja (Simple File Verification application)
« Reply #21 on: October 31, 2011, 02:54 AM »
Awesome tool, Sir Skwire :)

Any chance of SHA-256 support?  I came across:

 http://www.imagemagick.org/download/binaries/digest.rdf

and failed to find other checksums...

Oh...and is there some hidden feature in the Help -> Contents dialog?


P.S. No official checksums for SFVNinja itself?
« Last Edit: November 11, 2011, 03:35 AM by ewemoa »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: SFV Ninja (Simple File Verification application)
« Reply #22 on: October 31, 2011, 04:06 AM »
Awesome tool, Sir Skwire :)

Thanks.  =]

Any chance of SHA-256 support?

Find me a free, stand-alone commandline executable that will spit out an SHA-256 checksum and, sure, I'll add it.

Oh...and is there some hidden feature in the Help -> Contents dialog?

Nope...yet another example of my laziness.  I really should put something there, eh?

P.S. No official checksums for SFVNinja itself?

Oh, the irony.   :P
« Last Edit: October 31, 2011, 04:24 AM by skwire »

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
Re: SFV Ninja (Simple File Verification application)
« Reply #23 on: October 31, 2011, 06:14 AM »
Find me a free, stand-alone commandline executable that will spit out an SHA-256 checksum and, sure, I'll add it.

I haven't tried any of these, but they may work (they're standard GNU tools):

Quote from: http://blog.nfllab.com/archives/152-Win32-native-md5sum,-sha1sum,-sha256sum-etc..html
I have compiled native (no Cygwin, no other dlls) Windows versions of md5sum.exe, sha1sum.exe, sha224sum.exe, sha256sum.exe, sha384sum.exe and sha512sum.exe. Download binaries here, and source (as required by GPL) here.

You might have to pass the `-b` option to force the programs to read in binary mode.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: SFV Ninja (Simple File Verification application)
« Reply #24 on: October 31, 2011, 09:18 AM »
Find me a free, stand-alone commandline executable that will spit out an SHA-256 checksum and, sure, I'll add it.

How does sha256deep.exe from md5deep look?

Original address: https://www.donationcoder.com/forum/index.php?topic=26193.0