Hourly Autosaves

by Shados

Autosaves the game (using a configurable prefix) on every hour of game-time

Utilities
10 months ago
0.18 - 2.0
1.73K

g Prefix and number of saves

8 months ago

Hello!
Need help with 2 questions...
1. How do I set a prefix so that the save file specifies the date and time in this format: 26/01/2025_14:57 ? I don't quite understand how to do this and is it even possible?
2. Is it possible to add a function so that the user can manually set the number of saves? For example, I specify 24, and the mod saves only the last 24 hours, then cyclically overwrites the saves, starting with the oldest date? That is, in fact, the user always has saves only for the last 24 hours (if 24 is specified).

7 months ago
  1. Not possible. Factorio mods do not have access to the wall-clock time or current date, as having that access could very easily lead to desync issues.
  2. Not possible. Factorio mods do not have the ability to see existing save files, and thus don't have the ability to remove or overwrite them, again because it could lead to desync issues.

New response