Why are only some savegames compressed?

Why are only some savegames compressed? - Why Text on a Pink Surface

I've just noticed that some .ck2 savegames take more or less 10x of some others, during the same match (~45MB vs ~4.5MB).

I've tried to compress them, and the bigger one compresses down to a little smaller than the smaller one (~4MB), while the smaller one stays the same. This is a very strong indication that the smaller one is compressed.

Now… why are some of them compressed and some others aren't. Which causes that? Is that a "quick save" vs. "regular save" behaviour?

Can I somehow compress the uncompressed ones, so that they are still directly readable by the game?


I've noticed that the uncompressed ones are text files, while the compressed ones start with the code "PK", so I've listed its content using unzip and it gave a somewhat promising result:

-rw-------  1 lohoris  wheel  46122334 Dec 26 16:25 Eire1127_08_25.ck2
-rw-------  1 lohoris  wheel   4498940 Dec 26 16:25 Eire1125_08_17.ck2
lohoris@Pirenne:/tmp$ unzip -l Eire1125_08_17.ck2
Archive:  Eire1125_08_17.ck2
  Length     Date   Time    Name
 --------    ----   ----    ----
 45466533  00-00-80 00:00   Eire1125_08_17.ck2
      109  00-00-80 00:00   meta
 --------                   -------
 45466642                   2 files

However I wasn't able to uncompress them from command line:

lohoris@Pirenne:/tmp$ unzip Eire1125_08_17.ck2
Archive:  Eire1125_08_17.ck2
   skipping: Eire1125_08_17.ck2      need PK compat. v4.6 (can do v2.1)
   skipping: meta                    need PK compat. v4.6 (can do v2.1)

At this point I got lost trying to uncompress it, so before investigating further I'll just wait to see if someone already has some answer.


So, let's recap, questions:

  • in which circumstances does the game sometimes create compressed files, sometimes uncompressed?
  • can I turn the uncompressed ones into compressed, so that the game natively reads them correctly (obviously I can compress and decompress them, that's not what I'm asking)





Pictures about "Why are only some savegames compressed?"

Why are only some savegames compressed? - 2 Men in Red and White Jersey Shirt Sitting on Grass Field
Why are only some savegames compressed? - Person Looking Through the Microscope
Why are only some savegames compressed? - A Man and a Woman Holding a Test Tube





🔧 How to FREE Up More than 50GB+ Of Disk Space by COMPRESSING Files in Windows 10, 8 or 7! 💾✔️




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Ann H, Yogendra Singh, Artem Podrez, Artem Podrez