Ccs Savegame Recoverer

If you liked this item, please rate it up on Steam Workshop page.

Author: Klyte45

Last revision: 20 Nov, 2022 at 11:35 UTC

File size: 7.17 KB

On Steam Workshop

Description:

This utility mod is very useful when a save process fail. Generally we used to lose the savedata forever, but the game actually generate a intermediate file with extension .ccs inside a Temp folder in the Save directory of the game (under CS’s Appdata folder)

This mod will read all .ccs files exisiting inside the path <Skylines’ Appdata Folder>SaveTemp and will convert them to readable .crp files that can be loaded in the game’s Load Game screen. Just click the button and wait a little for the process to finish.

Despite any warning this mod could do in game about the current game version, it will always work in any version of the game, since this core feature will never change in the game (due being an essential process).

Be a patron: https://www.patreon.com/klyte45

Deep technical explanation: what are the ccs files?

The whole game uses a package pattern with extension CRP. It can store a lot of different kind of data, since assets and maps up to a whole savegame data. It’s like a compress format, as 7z or zip are also as example.

To save the simulation data (that one related to instance of buildings, citizens, vehicles, etc), it generate another kind of file, the files with CCS extension. It’s generated then stored in the Temp folder referenced above to be used in the next savegame processing routine – the CRP file generation.

The CCS data are packed in CRP along some metadata info – like the city name, population, the screenshot and other. This data is read from the current simulation status to compose the CRP file. Having the CCS file ready and all data filled in the metadata data structure, the CRP file is generated to be stored in the Saves folder and then the Temp folder is erased.

But sometimes this CRP save process fail. For me happens with AutoSave when the older file cannot be erased because of some kind of file access error (like being locked for read by the game itself due an error as example), but can happen by any cause in CRP generation process. When this happens, the CCS file still stored in the Temp folder, so this mod is able to convert them to a CRP package to game understand it as a valid savegame file. The pure CCS file isn’t recognized as savegame file because it’s just a part of the CRP savegame format.

Because the simulation isn’t running when this mod is doing its stuff, the metadata information isn’t available – that’s why the load game screen misses informations like the city name. It cannot be recovered from a CCS file because it’s collected in the CRP generation part.

Despite these informations are not being available for recovering the CRP file, after loading a recovered file all data will be restored successfully – except the city name that will be question marks and may need to be rewritten in game. So it effectively can recover a savegame that without this mod would be lost.