Is there an option to use a zip with password?

Godot Version

Godot 4.2


I’ve seen this bantered about in the git a bit, but I’d love to see an option to use a zip+password. We can already do encrypted pck via a recompile, but that’s uncompressed, right?

It’d be a nice equiv of what some other engines have where there’s compressed datafile with very light/minimal encryption just to prevent low-effort/casual poking around.

1 Like

maybe c# has libraries to do that

or you can manually call software to unzip file (like putting 7z.exe into the game files and use it through command line).

or make a extension with a c++ unzip lib? I’m not familiar with that :gdsweat:

1 Like

Sounds more like a cool addition to ZIPPacker/ZIPReader. (Edit: Implementing this was trivial, now onto debugging!)


Submitted a Pull Request. If you can, give it a go.

1 Like

That’s fantastic! I will definitely give it a go

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.