Fabian1648 3 Posted September 23 Hello, I have an old VCL application that uses the ZipMaster component to compile directories, and its fies and I just noticed that it is limited to compressing sources smaller than 4GB. I reworked this application on Delphi 10.4.2 and converted it to a 64-bit application. I found a version of ZipMaster on GitHub that claims to be compatible with Zip64, which allows you to compress sources larger than 4GB, but it doesn't work. Does anyone have a solution that would allow me to zip sources larger than 4GB? Thank you. Share this post Link to post
Remy Lebeau 1674 Posted September 23 8 minutes ago, Fabian1648 said: I found a version of ZipMaster on GitHub that claims to be compatible with Zip64, which allows you to compress sources larger than 4GB, but it doesn't work. I'm assuming you are using this one? https://github.com/edwinyzh/ZipMaster In what way does it not work? Are you getting an error? Data corruption? Something else? What does your code look like that is not working? 8 minutes ago, Fabian1648 said: Does anyone have a solution that would allow me to zip sources larger than 4GB? If ZipMaster doesn't suit your needs, then just use a different Zip library. There are plenty of them available. 1 Share this post Link to post
Fabian1648 3 Posted September 23 (edited) 21 minutes ago, Remy Lebeau said: I'm assuming you are using this one? https://github.com/edwinyzh/ZipMaster In what way does it not work? Are you getting an error? Data corruption? Something else? What does your code look like that is not working? If ZipMaster doesn't suit your needs, then just use a different Zip library. There are plenty of them available. Exactly! No error but when I zip a directory larger than 4GB, if have a zip file of... 128MB or something like that without any useful data. When I zip a directory less than 4 GB, I have a useful zip file with all items zipped.. Edited September 23 by Fabian1648 Share this post Link to post
zed 17 Posted September 23 Check out this library: https://github.com/AlexanderBagel/FWZip Share this post Link to post
Remy Lebeau 1674 Posted September 23 1 hour ago, Matthias said: I'm using ZipForge. Seconded. Share this post Link to post
aehimself 423 Posted September 23 I have a faint memory that somewhere around D11 or D12 Zip64 was added to System.Zip's very own TZipFile, getting rid of the 4GB limitation. 1 Share this post Link to post
Remy Lebeau 1674 Posted September 24 5 hours ago, aehimself said: I have a faint memory that somewhere around D11 or D12 Zip64 was added to System.Zip's very own TZipFile, getting rid of the 4GB limitation. It was added in Delphi 11 Alexandria: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/What's_New#RTL:_TZipFile 3 Share this post Link to post