on_save event or similar mechanism ?
Posted: Fri Mar 08, 2019 12:57 pm
Hello.
I'd like to add a save file backup functionality, so that every time a save or autosave is written, it is immediately replicated on another location, but it doesn't seem like there's any API event triggered when this happens.
Is there any plan to add such an event ?
Or does anyone have an idea how I might work around this, in order to achieve wanted behaviour ?
At first I thought I'd use one of the many ways one can monitor file changes on *nix systems, and fire the backup based on that, but all things considered I'd prefer something which doesn't rely on a given OS or file system for compatibiliy's sake, that's why I looked into the official API.
Regular sync on saves folder is another option, but I'd definitely prefer something that's tied to the game rather than the OS or filesystem, for the same reasons as stated above.
Thanks in advance !
I'd like to add a save file backup functionality, so that every time a save or autosave is written, it is immediately replicated on another location, but it doesn't seem like there's any API event triggered when this happens.
Is there any plan to add such an event ?
Or does anyone have an idea how I might work around this, in order to achieve wanted behaviour ?
At first I thought I'd use one of the many ways one can monitor file changes on *nix systems, and fire the backup based on that, but all things considered I'd prefer something which doesn't rely on a given OS or file system for compatibiliy's sake, that's why I looked into the official API.
Regular sync on saves folder is another option, but I'd definitely prefer something that's tied to the game rather than the OS or filesystem, for the same reasons as stated above.
Thanks in advance !