jak-project/third-party/11zip/README.md
Tyler Wilding 9e2b49abaa
Automatically watch PCSX2 savestate directory and analyze the EE Memory (#507)
* add elzip library (doesn't require zlib)

* Can analyze directly from a PCSX2 save-state now

* Add scaffolding to auto-watch for new save-states

* .gitattributes fix
2021-05-20 14:18:28 -04:00

996 B
Vendored
Generated

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).