I did not make this: This is a conversion of the GMZ Zip Archiver dll by Adventus to a Game Maker extension. See here and here for more info.
GMZ is an easy to use and lightweight zip archiving library. For help, simply start typing "gmz_" in a code editor in game maker - all commands start with this prefix. What they do is pretty easy to see. Unpacking always happens in the working_directory.
To create a zip file:
var zf; zf = gmz_zip_create("myzip.zip", ""); gmz_folder_add(zf, "folderInZip"); gmz_file_add(zf, "folderInZip\file.txt", "file.txt"); gmz_zip_close(zf);
To unpack a zip file:
var zf; zf = gmz_zip_open("myzip.zip", ""); gmz_file_extract_all(zf); gmz_zip_close(zf);
I hope you like it!
Edited by Master Xilo, 23 August 2015 - 02:11 PM.