MD5 Checking

Newbie Spellweaver
Joined
Sep 27, 2006
Messages
49
Reaction score
2
Im working on an updater i wanna release on RZ.
My question is, i'd like to speed up the process of MD5 checking files.
What are the chances of the first 1024, or 2048 bytes of any given file being the same if they are actualy 2 seperate versions of the file?

I apologize, cryptography isn't my thing.
 
Re: [Dev Question] MD5 Checking

rgr that, well i guess they way i'll do it is....
Just have it get a version number.
Then just have it hash all the files on the FTP for changes.

The reason why i wanted speed, was i want it to check all the opl files.

But i'll have that as a background process as thie game is running, and just have it shut the game down if the OPL files dont match the ones they should have.

Only prob with that is any nub that knows how to make a bat file can get past that.....so i dunno.

Any ideas?
 
Re: [Dev Question] MD5 Checking

The only fast way you can do it, is to do it the way inixsoft is doing it now.

Writing a copy of their updater would be the best solution.
 
Back