You just skip the first 46 bytes from any binary file, and feed the rest to zlib inflate algorithm. The upacked files are binary but very simple to understand: they look like key-value pairs storage, e.g. `money64` key is your credits amount and `resources640` though `...646` hold the number of minerals.
Haven't tried to save those values, compress them and try to load from game, however.