Cuberite Forum
cStringCompression deflate zip - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: cStringCompression deflate zip (/thread-3323.html)



cStringCompression deflate zip - Krystilize - 09-28-2020

Heya,

Is it possible to use theĀ cStringCompression library as a way to extract a zip file's contents?

Thanks


RE: cStringCompression deflate zip - tigerw - 09-28-2020

I don't think we have zip file support at the moment. https://github.com/cuberite/cuberite/issues/3419

You may be able to find a Lua library for it.


RE: cStringCompression deflate zip - Krystilize - 09-28-2020

Ive found many pure lua ones but I havent been able to use them because they come up with arbitrary errors that have no online documentation for how to fix. In the end ive settled with a tiny unzip lib i found from an ancient website, its 20kb and had warnings about download time.


RE: cStringCompression deflate zip - 12xx12 - 09-28-2020

There seems to be a library which uses the zlib Library to unzip files

https://github.com/madler/zlib/tree/master/contrib/minizip

But we have to check if the license stuff works