Cities: Skylines

Cities: Skylines

99 ratings
Autosave - Cloud available
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
42.496 KB
Apr 13, 2015 @ 8:58am
May 20, 2015 @ 7:32pm
13 Change Notes ( view )

Subscribe to download
Autosave - Cloud available

Description
This mod enables the auto saving feature, saving the game every X minutes ( 5 minutes by default ). With the ability to define how many saves we desire for each city. The mod is highly configurable and we have the possibility to customize most of the aspects of the auto saving.

Config file path
----------------------------------------

--------------------------------
NOTE: The config file isn't located anymore at the exe game path. The mod will move your config file to the new location, you shouldn't have to do anything so special about this.
--------------------------------

Windows:
C:\Users\<username>\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods\CSLAutosave\CSLAutosave.ini
Mac:
/Users/<username>/Library/Application Support/Colossal Order/Cities_Skylines/Addons/Mods/CSLAutosave/CSLAutosave.ini
Linux:
/home/<username>/.local/share/Colossal Order/Cities_Skylines/Addons/Mods/CSLAutosave/CSLAutosave.ini

Creating the config file
----------------------------------------
After enabling the mod and play in any city, the mod will create the default config file 'CSLAutosave.ini'.

Groups of Saves/Slots
----------------------------------------
The group of saves are different autosaves with different save_time,save_slots,etc... Using this concept, we can control everthing about our autosave.

For example, if we want 2 saves that are saved every 5 minutes, other 30 minutes, and another ones every 10 minutes controlled by the speed of game.
And the best of all, they will work together and you can choose whatever you want :)

How to create groups
----------------------------------------
The 'default' group is created when the mod runs at first time.

Here is an example to create the group 'foo':

1. We add the name of the new group in active_groups, separated by comma.
active_groups=default, foo

Note: The name should be something without spaces, accents.

2. Enter in a city and exit to the main menu.

3. Now, in the config file you should see a set of new parameters for the group 'foo'.
foo.save_time=5.0
foo.use_game_time=False
foo.xxxxx=

How to make that one group don't save when is going to save another one
---------------------------------------------------------------------------
By default, all the groups are active and saved when the time is required. But some users don't like this behaviour because one two groups of saves are saving at
the same time, there's a big pause and it's a big anoying for them. For that reason appeared the parameter 'skip_save_on_groups'.

Let's give an example, we have three group working at once:

---------------------------------------------------
//'default' saving every 5 minutes
default.save_time=5.0
//'group_10' saving every 10 minutes
group_10.save_time=10.0
//'group_30' saving every 30 minutes
group_30.save_time=30.0
---------------------------------------------------

If we want that 'default' won't save when 'group_10' or 'group_30' save, we would set the follow:
default.skip_save_on_groups=group_10, group_30

And the same for 'group_10', because we don't want that it will save when 'group_30' saves:
group_10.skip_save_on_groups=group_30

NOTE: It's important to notice that the 'save_times' need to be multiple, in other situations the exclusion won't work.

Parameters description
----------------------------------------
Here is a description of the parameters and the default values.

// If one of the groups ( their names sepparated by commas ) is going to be saved also, this one is no saved.
skip_save_on_groups=

// Interval in minutes of the autosave ( minimum value 0.5 )
save_time=5.0

// If you we set this to 'True' the speed of the game will affect the time. The more speed, the faster will save ( pause doesn't stop the saving ).
use_game_time=False

// How many saves/slots we desire
save_slots=3

// If we want to create unique slots/saves for each city ( based on its name )
saved_per_city=True

// If we desire a separated save/slot when the game is paused
save_pause_separately=True

// Customize the start and the end of the name of the slots. Use them to defirenciate the different groups.
//If you don't use them, the save between groups will be overwritten.

saved_preffix=
saved_suffix=_auto_save

// If we desire to have the save names always in lowercase and without white spaces
save_normalized_names=False

// If we desire to have the save names always in lowercase and without white spaces
save_normalized_names=False

// If this saves will be on Steam Cloud
save_cloud=False

// This hack is used for generate the snapshot of the savegame.
save_cloud_image_hack=True

Note about the cloud saves
----------------------------------------
At the moment, there is a problem with the snapshots of the saves, that are not generated if we want to save in the cloud. It's something from the API of the game and I can't do that.

So, I could take around the problem, but it takes more time to create the save in the cloud. Because of that, I suggest to use them like a long time period save ( in a different group ).
And, if you have a group of saves that are work period of time ( like 5 minutes or something like that ), try to disable the hack. The save in the cloud should have a snapshot also :-)

Helping and reporting a log
----------------------------------------
In case that something is not working and you want to help this mod. You can enable the log file in the mod and it would be really helpfull to solve problems.

To activate it, create a file called CSLAutosave.log where it's situated the config file CSLAutosave.ini. Open the game and play. After close the game or go to the main menu, you should have information that you can share with me :P

Steam achievements
----------------------------------------
As we know, if we enable any mod in the game, the Steam Achievements are disabled. If we want them, we should use the mod:

Achievement Enabler
Popular Discussions View All (3)
13
Jun 25, 2015 @ 8:19pm
Errors and Crashes Reporting
Vincent
11
Apr 13, 2015 @ 6:00pm
Improvement Suggestions ( AKA Wishlist )
Vincent
7
Jun 23, 2015 @ 12:20am
Save Config Examples
Deadshot Omega
57 Comments
尚寂新 Jun 24, 2017 @ 11:22pm 
how to setting tihs mod?
MadTech Jul 1, 2015 @ 3:40pm 
Worked well for me, when setting the save time to every 60 minutes. No crashes, some lag which returned to normal after about 15 seconds.

Now unsubscribed because latest patch (1.1.1b) adds a configureable autosave option in the main menu/options screen. :-)
geminian_mike May 22, 2015 @ 10:45am 
@tcgames65 i'll take the 'break the saves' option. thx :)
tcgames65 May 21, 2015 @ 5:01am 
To geminian_mike First send me a link of your video when you are finish with you project. I would like to see it. I was thinking for your setup of the config file you could try this; You need 200 files right? Well if you take 200 and make 5 groups with 40 slots, 10 groups at 20 slots. (depends on how much typing you want to do) then set your time for each save (time = to what you think you will need) Then use the skip group line. (you will have to check with o0kami about how to add more then one group or groups for the skip group line.) Plus I would add one last group called theend with a 10 to 30 min save so you can stop the saving before the saving goes back to the first file and starts over. That would be if you did all the work at one time
tcgames65 May 21, 2015 @ 5:00am 
To geminian_mike pt2
Otherwise if you break it up over time I think it would be best to move your saves to another folder after each day you work on it adding Dates to the save name. That way you can have 2 groups default and theend with more time of the last group so you can stop the game. I hope that helps.
Vincent  [author] May 20, 2015 @ 7:38pm 
New version of the mod!

- Fixed the error that appeared in the version 1.1 when we were using the save on the cloud. ( @tcgames65: Thanks for the warning )
- Fixed the error detecting the oldest save. ( @geminian_mike: thanks for the warning )

BTW:
I had problems to enable the mods after the version 1.1. I had to unsubscribe and subscribe every single mod from outside of the game ( @tcgames65 thanks! )
geminian_mike May 20, 2015 @ 3:49pm 
Upon restarting the game, the save slots automatically jumps back to 1, which overwrote my save files. (I'm trying to do 200 slots and make a time lapse). Is it able to add a config line that includes the time of the save on the name, or basically preventing this?
Vincent  [author] May 20, 2015 @ 11:06am 
NOTE:

After the new patch, it seems that there are some errors and there's a chance that it won't work properly. I'm investigating it.

Thank you for your patient :)
MRTRM May 19, 2015 @ 12:07pm 
does it work with the new game upgrade?
Vincent  [author] May 10, 2015 @ 12:02pm 
Hi!

New version of the mod uploaded.

Added the new parameter 'skip_save_on_groups' for the group. It makes that several groups don't save at the same time and will only save the one/s that we will choose.

For more info, read the description of the mod.
Thank you!