How to compress a file in Godot 3.4

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By FlowCorp

So my world generation can get large up to 600 MB at most. My game also has multiplayer where alot of data gets transferred between users and the host (peer to peer) but i want a way to compress it so its easier to transfer along a network.

:bust_in_silhouette: Reply From: DaddyMonster

To the best of my knowledge, Godot doesn’t have callable zip functionality currently. You could always add a python script (or other language of your choice) and call it. This would require programming expertise outside Godot. Sadly, I think there’s no inbuild functionality or addon that I know of that does this.