the DtTvB Posted December 17, 2006 Share Posted December 17, 2006 Well, after 4 hours of working, I, and spyrorocks finally did it!Here is the source code: source.zipActually, the source code zip file was made using this script also.Limitations:You must create a folder first or the archive may corrupt.No compression, man!Credits:The ZIP creation script was originally made in PHP by Eric Mueller <http://www.themepark.com>.And the CRC32 script was converted from Visual Basic at http://www.di-mgt.com.au/src/basCRC32.txtConverted to AutoIt script by the DtTvB and Spyrorocks.If you see any bugs please report.the DtTvB [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
dandymcgee Posted December 17, 2006 Share Posted December 17, 2006 (edited) Wow, that's cool! Interesting idea, and great work going through with it. This is definately useful in many ways, I'm sure somebody will greatly appreciate this when they happen to need it. Keep up the excellent work, both of you, I can't wait to see what you can come up with next. Edited December 17, 2006 by dandymcgee - Dan [Website] Link to comment Share on other sites More sharing options...
the DtTvB Posted December 17, 2006 Author Share Posted December 17, 2006 Here is the website that have the compression code, but not in AutoIt: http://www.zlib.net/I think doing that without calling a DLL in AutoIt would be very hard, and maybe slow. [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
The Kandie Man Posted December 17, 2006 Share Posted December 17, 2006 Very good. This will make it much easier to add a sort of database functionality to an autoit script. I warn about adding compression code to it though, the compression code would run real slow in autoit. The best way to do it would be to use an external dll file written in a much faster lower level language like c or c++. This would destroy the point of compiling the script with no external libraries, but when i wrote a patcher in autoit, autoit was impossibly slow at manipulating binary data. The same program written in c++ could do it instantly. So i just ended up re-writing the patcher in a faster language. Good work, but just a heads up if you plan to persue this. -The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
the DtTvB Posted December 17, 2006 Author Share Posted December 17, 2006 Yeah, this script's aim is to produce a ZIP file in pure AutoIt with good speed, I don't think the compression may be used. [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
spyrorocks Posted December 17, 2006 Share Posted December 17, 2006 The compression is not needed. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
WhiteTiger Posted December 17, 2006 Share Posted December 17, 2006 DAMN ! this is realy great ! very very very much credits to the makers , damn i have looked at this alot , its the best AutoIt script i have ever seen ! Link to comment Share on other sites More sharing options...
FuryCell Posted December 17, 2006 Share Posted December 17, 2006 Nice! A zip func in pure Au3. I can see several uses for this. Thanks for sharing. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
RazerM Posted December 17, 2006 Share Posted December 17, 2006 This is really good. It has great potential because there is nothing external needed. My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. Link to comment Share on other sites More sharing options...
spyrorocks Posted December 17, 2006 Share Posted December 17, 2006 Extrnal dlls for zipping are a pain. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Who Posted July 23, 2007 Share Posted July 23, 2007 Thread started on Dec 16 2006 and now the program doesn't work at all. Link to comment Share on other sites More sharing options...
t68kv Posted August 18, 2007 Share Posted August 18, 2007 bro do you have pure autoit code of unziping zip files? ty Link to comment Share on other sites More sharing options...
GtaSpider Posted December 20, 2007 Share Posted December 20, 2007 Hi Respekt. But this version dont Work for the new AutoIt version. I've changed it a little bit, and i have found a soulution to make it work with AutoIt 3.2.9.0 or greater. The file is on the Attachment. Mfg / Best Regards, Spidersource_reupped_by_GtaSpider.zip www.AutoIt.de - Moderator of the German AutoIt Forum  Link to comment Share on other sites More sharing options...
microsoft Posted December 26, 2007 Share Posted December 26, 2007 Thanks Link to comment Share on other sites More sharing options...
ToyleY Posted December 26, 2007 Share Posted December 26, 2007 test-1.txt is corrupted in the output zip. Link to comment Share on other sites More sharing options...
Ram Posted January 23, 2008 Share Posted January 23, 2008 will this work for zipping a folder? if so how? Link to comment Share on other sites More sharing options...
Jango Posted January 28, 2008 Share Posted January 28, 2008 This is really good. It has great potential because there is nothing external needed.spyrorocks, do you things it's possible to call the zip function as raw machine code like in this script ?executing raw machine codeThis will be :1) Really Faaaaast 2) All embeded in autoit codebut where to find the raw machine code zip function code... 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