are zips ever unziped to the file system? or only into memory

Place to post guides, observations, things related to modding that are not mods themselves.
ilikehackinggames
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

are zips ever unziped to the file system? or only into memory

Post by ilikehackinggames »

are zips like map files mod files and any outer zips ever exstracted to the filesystem anywhere or are they only ever exstracted in memory?
ilikehackinggames
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: are zips ever unziped to the file system? or only into memory

Post by ilikehackinggames »

also what zip library are you using? the licenses page shows you have both minizip and zlib as dependencys
Rseding91
Factorio Staff
Factorio Staff
Posts: 16103
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: are zips ever unziped to the file system? or only into memory

Post by Rseding91 »

Zip save file contents are only ever extracted into system memory. Other stuff in the zip file might be extracted into the "currently playing" directory.

We use both minizip and zlib. zlib does the inflate/deflate algorithm logic and minizip does the handling of the zip file structure in memory.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding discussion”