Page 1 of 1

Autosave interval should be based on real life time spent in-game

Posted: 13 Aug 2021 16:07
by kcl504sandboxgamer
Recently, I was annoyed for accidentally closing OpenTTD on Android and delaying some really annoying processes, especially when placing signals. This is because the game will undergo autosave every game months by default, and this value is not based on real-life time. This leads to a problem that if I pause the game time and build a lot of things, the progress will be ruined if OpenTTD is accidentally closed, since there aren't any autosave files to recover.

Therefore, the autosave system needs an upgrade. I suggest 10 real-life minutes to be the default autosave interval, but the value needs to be configurable.

Re: Autosave interval should be based on real life time spent in-game

Posted: 13 Aug 2021 16:26
by Eddi
+1

Re: Autosave interval should be based on real life time spent in-game

Posted: 13 Aug 2021 17:57
by Taschi
An alternative solution to this problem might be to create an exit save when OpenTTD is terminated.

Re: Autosave interval should be based on real life time spent in-game

Posted: 14 Aug 2021 00:47
by kcl504sandboxgamer
Well in this case exit save need to be also performed when OpenTTD is terminated by the system, not just when the "exit game" button is pressed.

Re: Autosave interval should be based on real life time spent in-game

Posted: 14 Aug 2021 13:09
by Taschi
kcl504sandboxgamer wrote: 14 Aug 2021 00:47 Well in this case exit save need to be also performed when OpenTTD is terminated by the system, not just when the "exit game" button is pressed.
Yes, but at least on PC (both on Windows and on anything Unix-like) that is no problem - when a process is terminated by the OS, it generally first gets a request from the OS to orderly terminate itself, at which point an exit save can be created.

I am not an expert on Android but would assume that holds true there as well, especially because I have seen games which do automatically persist their state when closed.

Re: Autosave interval should be based on real life time spent in-game

Posted: 14 Sep 2021 18:24
by RIS
+1