Welcome Guest.   Make a donation to an author on the site July 31, 2014, 02:24:43 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 4 5 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Release: SFV Ninja (Simple File Verification application)  (Read 37492 times)
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: March 27, 2011, 03:41:44 PM »

Name SFV Ninja (Simple File Verification application)
Short Description SFV (Simple File Verification) application.  It also supports MD5 and SHA-1 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 SFV/MD5/SHA-1/SHA-256 files.
Supported OSes Unicode version (WinXP and up), ANSI version (Win2k and below)
Website http://skwire.dcmembers.com/fp/?page=sfv-ninja
Download Link Download
Author Jody Holmes - Skwire Empire

« Last Edit: July 23, 2012, 11:03:22 PM by skwire » Logged

lanux128
Global Moderator
*****
Posts: 6,087



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 27, 2011, 09:41:01 PM »

this is nice.. thanks! Thmbsup
Logged

f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: March 28, 2011, 11:08:35 AM »

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 smiley
Logged

- carpe noctem
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: March 28, 2011, 11:24:42 AM »

does it have decent progress bars?
Does speed rock?
Does it handle >2GB files?
Does it support the MD5 SFV extensions?

  • The progress bar is less than desirable by your standards, I'd say.
  • Speed should be fine.  It is for me, anyway.
  • I've tested with 1GB sized files.  Now tested successfully with 4GB sized files.
  • 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, 03:12:17 PM by skwire; Reason: Updated info regarding newly added functionality. » Logged

skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: March 28, 2011, 12:14:33 PM »

I just tested out the latest FlashSFV and, unless I'm mistaken (entirely possible), here are some of my findings:

  • It can't handle Unicode paths.
  • It can only create an SFV file out of files from one folder.
  • 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.   cheesy
Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #5 on: April 03, 2011, 08:13:39 PM »

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?
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: April 03, 2011, 08:45:45 PM »

So I've to ask is it planned to add support for md5 anytime in the future?

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

skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: April 03, 2011, 09:18:58 PM »

BTW, Marc.D, welcome to the site.   smiley
Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #8 on: April 03, 2011, 10:03:52 PM »

Well yes I've used them all the way long for my music (along with foobar Kiss... )
I'm out of luck? duh

BTW, Marc.D, welcome to the site.   smiley

Thanks smiley
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: April 03, 2011, 10:21:31 PM »

I'm out of luck?

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

skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: April 06, 2011, 05:42:14 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, 02:13:10 PM by skwire » Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #11 on: April 07, 2011, 02:03:40 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.
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: April 08, 2011, 05:23:36 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)
Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #13 on: April 09, 2011, 10:24:26 PM »

Thank you Skwire, really appreciated smileysmileysmiley
It's working nice here. beerchug
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: April 09, 2011, 10:49:55 PM »

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).
Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #15 on: April 10, 2011, 07:57:34 PM »

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 embarassed ...

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:

[copy or print]
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 10, 2011, 08:04:46 PM by Marc.D » Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: April 11, 2011, 01:14:00 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.   embarassed
Logged

Marc.D
Participant
*
Posts: 6

View Profile Give some DonationCredits to this forum member
« Reply #17 on: April 12, 2011, 10:24:07 AM »

 : O : O
+ Checksum mode is now saved.
Thanks again smiley
Logged
mitzevo
Supporting Member
**
Posts: 460



Control is power

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #18 on: April 17, 2011, 12:58:21 AM »

Nice tool skwire.  Grin
Logged

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
*****
Posts: 33,184



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: September 30, 2011, 10:19:01 AM »

Mentioned on ghacks today!
http://www.ghacks.net/201...le-verification-software/
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #20 on: September 30, 2011, 10:25:26 AM »

Nice, thanks for the heads up.   smiley
Logged

ewemoa
Honorary Member
**
Posts: 2,397



View Profile Give some DonationCredits to this forum member
« Reply #21 on: October 30, 2011, 09:54:33 PM »

Awesome tool, Sir Skwire smiley

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 10, 2011, 09:35:11 PM by ewemoa » Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #22 on: October 30, 2011, 11:06:36 PM »

Awesome tool, Sir Skwire smiley

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.   tongue
« Last Edit: October 30, 2011, 11:24:51 PM by skwire » Logged

mwb1100
Supporting Member
**
Posts: 1,286


View Profile Give some DonationCredits to this forum member
« Reply #23 on: October 31, 2011, 01:14:30 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):

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.

Logged
ewemoa
Honorary Member
**
Posts: 2,397



View Profile Give some DonationCredits to this forum member
« Reply #24 on: October 31, 2011, 04:18:05 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?
Logged
Pages: [1] 2 3 4 5 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.058s | Server load: 0.01 ]