Blitz Zip Userlib (Create an manipulate zip files)

BlitzPlus Forums/BlitzPlus Programming/Blitz Zip Userlib (Create an manipulate zip files)

Latest Version: 1.2 (27th August, 2007)

Here's a little something I've been working on for the past few days. It's a set of userlib declarations and wrapper functions that allow you to extract files from zip archives, and also to create your own zip files.

A quick example of creating a zip and adding files to it:

; Open our new archive
Local zipOut	= ZipApi_CreateZip("my-zip.zip")
 
; Add some test files
ZipApi_AddFile(zipOut, "example1.bb")
ZipApi_AddFile(zipOut, "example2.bb")
ZipApi_AddFile(zipOut, "example3.bb") 

; Close the zip
ZipApi_CloseZip(zipOut)

You can also add data to a zip file directly from a Blitz bank.

Download: Download Now (119.4KB)

More Information: Blitz.ZipApi - Project Homepage

Online Documentation: http://docs.sodaware.net/blitz.zipapi/

Any feedback/bug reports are greatly appreciated.