jak-project/third-party/11zip
water111 0aa474f12b
[decomp] finish actor-link-h and a few more (#592)
* finish actor-link-h

* decompile files

* fix pp issue
2021-06-14 20:46:54 -04:00
..
extlibs/minizip [decomp] finish actor-link-h and a few more (#592) 2021-06-14 20:46:54 -04:00
include/elzip Automatically watch PCSX2 savestate directory and analyze the EE Memory (#507) 2021-05-20 14:18:28 -04:00
src fix zip library bugs (#508) 2021-05-20 14:50:52 -04:00
CMakeLists.txt Automatically watch PCSX2 savestate directory and analyze the EE Memory (#507) 2021-05-20 14:18:28 -04:00
LICENSE Automatically watch PCSX2 savestate directory and analyze the EE Memory (#507) 2021-05-20 14:18:28 -04:00
README.md Automatically watch PCSX2 savestate directory and analyze the EE Memory (#507) 2021-05-20 14:18:28 -04:00

11Zip

Dead simple zipping / unzipping C++ Lib

I didn't really wanted to make my own zipping / unzipping library but as I found nothing else, I made my own.

That's why I called this lib 11Zip, 11 is the atomic number of the sodium as it describes pretty well my salty feeling when searching for a zipping / unzipping C++ Lib.

By the same time it's also a reference to 7zip.

The lib is based on zlib & minizip : https://github.com/madler/zlib

It does also include some wrapper code from here : www.vilipetek.com/2013/11/22/zippingunzipping-files-in-c/

For now you have access to two functions which are really simple :

elz::extractZip(std::string zipName, std::string target = ".");

Which just unzip the content of a zip in "target" folder (which is current folder by default).

and the other function is :

elz::zipFolder(std::string folderName, std::string zipTarget = "");

Which just zip the folder "folderName" to "zipTarget" (Which is "folderName".zip by default).