Sign in to follow this  
Followers 0
MadBoy

CRC32 Checksum Creator/Verifier (.sfv)

5 posts in this topic

#1 ·  Posted (edited)

Sometime ago on forum I saw the example how to use the CRC32 (http://www.autoitscript.com/forum/index.php?showtopic=60890). So what i did is made it usable the same way that Total Commander does it, along with other minor programs for .sfv creating/verifying. All credits go to LazyCat and Laszlo for this.

checksum_verify_1.0.au3

checksum_creator_1.0.au3

Enjoy,

MadBoy

Edited by MadBoy

My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites



good job

i can use it to check the download software of phone

Share this post


Link to post
Share on other sites

good job

i can use it to check the download software of phone

No problem. That's what it was for ;-) Or well in my case i'm also doing crc creation of .gho files.

My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

hey, nice job.

but there must be an error in your verifier.

i create an sfv file, deletes some letters from checksums in the sfv-file and let it check.

verifier says that everything is fine ... but this can´t be (verifier does not check a file).

PS: Found the Error. Its caused in this line:

If $sfv_line_split[0] = 2 Then

because, what, if a file contains space in the name? than this is > 2 ;-)

PPS: my solution:

Dim $sfv_line_split[3]

$sfv_line_split[2] = StringTrimLeft($sfv_file_list[$a], StringInStr($sfv_file_list[$a], " ", 0, -1))

$sfv_line_split[1] = StringTrimRight($sfv_file_list[$a], StringLen($sfv_line_split[2])+1)

Edited by sc4ry

Share this post


Link to post
Share on other sites

hey, nice job.

but there must be an error in your verifier.

i create an sfv file, deletes some letters from checksums in the sfv-file and let it check.

verifier says that everything is fine ... but this can´t be (verifier does not check a file).

PS: Found the Error. Its caused in this line:

If $sfv_line_split[0] = 2 Then

because, what, if a file contains space in the name? than this is > 2 ;-)

PPS: my solution:

Dim $sfv_line_split[3]

$sfv_line_split[2] = StringTrimLeft($sfv_file_list[$a], StringInStr($sfv_file_list[$a], " ", 0, -1))

$sfv_line_split[1] = StringTrimRight($sfv_file_list[$a], StringLen($sfv_line_split[2])+1)

That's why downloadable files shouldn't have spaces. URL's don't like it, ftp sites dont like it :-) If you have to use space use _ . or whatever just don't use real space :-)

My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0