Drifter Posted August 28, 2010 Share Posted August 28, 2010 I know that there is a way to do a checksum based on pixel regions, but can we do it on files? I looked for it in file management and searched the whole help file for "checksum" but only got the pixel function. Link to comment Share on other sites More sharing options...
MvGulik Posted August 28, 2010 Share Posted August 28, 2010 ? (Have you tried a forum title search for: MD5,CRC32,etc ?) "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
Drifter Posted August 28, 2010 Author Share Posted August 28, 2010 ive poked around for a while and ive hit threads talking about reliability of different checksum algorithms (CRC32, MD5, etc) and a few UDFs, but nowhere did i see anything that led to an actual function that could do checksums on files.... ill keep looking though Link to comment Share on other sites More sharing options...
MvGulik Posted August 28, 2010 Share Posted August 28, 2010 Sigh. Kinda hard to miss if you where doing a forum title search like I wrote down.MD5,SHA1,CRC32,RC4,BASE64,XXTEA machine code version Pure AutoIt script and run very fast "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
Drifter Posted August 28, 2010 Author Share Posted August 28, 2010 my bad, thanks for the help! Link to comment Share on other sites More sharing options...
Drifter Posted August 28, 2010 Author Share Posted August 28, 2010 The MD5 stuff doesn't seem to work. Windows informs me "AutoIt v3 Script has stopped working" as soon as i execute MD5FileTest.au3. >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\[+]Macro Scripts\Game Loader\Checksum\MD5FileTest.au3" /autoit3dir "C:\Program Files (x86)\AutoIt3" /UserParams +>01:52:36 Starting AutoIt3Wrapper v.2.0.1.24 Environment(Language:0409 Keyboard:00000409 OS:WIN_VISTA/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (1.54.19.0) from:C:\Program Files (x86)\AutoIt3 C:\[+]Macro Scripts\Game Loader\Checksum\md5.au3(6,72) : WARNING: $_MD5CodeBuffer: possibly used before declaration. If Not IsDeclared("_MD5CodeBuffer") Or Not IsDllStruct($_MD5CodeBuffer) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\[+]Macro Scripts\Game Loader\Checksum\MD5FileTest.au3 - 0 error(s), 1 warning(s) ->01:52:36 AU3Check ended.rc:1 >Running:(3.3.4.0):C:\Program Files (x86)\AutoIt3\autoit3_x64.exe "C:\[+]Macro Scripts\Game Loader\Checksum\MD5FileTest.au3" !>01:52:39 AutoIT3.exe ended.rc:-1073741819 >Exit code: -1073741819 Time: 4.045 Anyone have a fix or a checksum method that isn't busted? Link to comment Share on other sites More sharing options...
guinness Posted August 28, 2010 Share Posted August 28, 2010 MD5,CRC32 & More...This is another example that works as well. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Drifter Posted August 28, 2010 Author Share Posted August 28, 2010 it appears to work swimmingly, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now