Sign in to follow this  
Followers 0
the DtTvB

ZIP File Creation in Pure AutoIt by Spyrorocks and the DtTvB

17 posts in this topic

Well, after 4 hours of working, I, and spyrorocks finally did it!

Here is the source code: source.zip

Actually, 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:If you see any bugs please report.

the DtTvB

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by dandymcgee

- Dan [Website]

Share this post


Link to post
Share on other sites

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. :P

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

Share this post


Link to post
Share on other sites

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 !

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Thread started on Dec 16 2006 and now the program doesn't work at all. :whistle:

Share this post


Link to post
Share on other sites

bro do you have pure autoit code of unziping zip files? ty

Share this post


Link to post
Share on other sites

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, Spider

source_reupped_by_GtaSpider.zip


www.AutoIt.de - Moderator of the German AutoIt Froum

Share this post


Link to post
Share on other sites

Thanks

Share this post


Link to post
Share on other sites

test-1.txt is corrupted in the output zip.

Share this post


Link to post
Share on other sites

will this work for zipping a folder? if so how?

Share this post


Link to post
Share on other sites

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 code

This will be :

1) Really Faaaaast

2) All embeded in autoit code

but where to find the raw machine code zip function code...

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