Page 1 of 1

Non-blocking saves?

Posted: Sat Oct 22, 2022 6:19 pm
by JasonC
I see an incidental reference in the 1.1.70 release notes to "non-blocking saves" (some bug was fixed related to it) with wording along the lines of "when non-blocking saves are used".

I didn't know this was a thing, and the wording implies that it's some sort of option. However, I couldn't find anything in the game settings.

Is non-blocking saves a thing and is it what I think it is? If so, how can I enable it? My saves are starting to take > 5 or 6 seconds which is fine except autosave is becoming disruptive, and it would be super cool if there was some option (even experimental) to have the saves be done in the background instead of suspending the game during the save. I couldn't find anything in Settings, though.

Thanks!

Re: Non-blocking saves?

Posted: Sat Oct 22, 2022 6:22 pm
by DaveMcW

Re: Non-blocking saves?

Posted: Sat Oct 22, 2022 6:33 pm
by quyxkh
It's Linux-only, Windows simply can't support it. To light it up put `non-blocking-saving=true` in your config or hunt down the checkbox in the "the rest" set that shows up if you hold down ctrl+alt when you pick "settings". It's a fan-made feature, someone with source access basically offered it as a patch/pull request/whatver, it has zero official support, it's kept working because keeping it working is simple.

Re: Non-blocking saves?

Posted: Sat Oct 22, 2022 7:51 pm
by Tertius
I would kill for this feature on Windows.

Re: Non-blocking saves?

Posted: Sun Oct 23, 2022 9:24 am
by aka13
Tertius wrote:
Sat Oct 22, 2022 7:51 pm
I would kill for this feature on Windows.
Question is, who would not?

Re: Non-blocking saves?

Posted: Tue Oct 25, 2022 11:51 am
by jodokus31
aka13 wrote:
Sun Oct 23, 2022 9:24 am
Tertius wrote:
Sat Oct 22, 2022 7:51 pm
I would kill for this feature on Windows.
Question is, who would not?
Installing Linux f.e. EndavourOS or Linux Mint is an option before committing a crime :P
Maybe in a VMWare, but it might have some Performance drawbacks
Or install in parallel, which I have done. And now, I mainly use Linux

fun fact: I didn't even enable this function.

Re: Non-blocking saves?

Posted: Fri Oct 28, 2022 1:40 pm
by JasonC
Thanks all; and yeah, Windows, would kill. Devs please PM me your targets' names, last known locations, and photos. :lol:

Re: Non-blocking saves?

Posted: Fri Oct 28, 2022 2:45 pm
by Rseding91
JasonC wrote:
Fri Oct 28, 2022 1:40 pm
Thanks all; and yeah, Windows, would kill. Devs please PM me your targets' names, last known locations, and photos. :lol:
To make it work on windows would require that the windows operating system support process level forking and copy-on-write. So you'll need to contact Microsoft about that one.

Re: Non-blocking saves?

Posted: Fri Oct 28, 2022 3:01 pm
by JasonC
Rseding91 wrote:
Fri Oct 28, 2022 2:45 pm
JasonC wrote:
Fri Oct 28, 2022 1:40 pm
Thanks all; and yeah, Windows, would kill. Devs please PM me your targets' names, last known locations, and photos. :lol:
To make it work on windows would require that the windows operating system support process level forking and copy-on-write. So you'll need to contact Microsoft about that one.
Yeah.

Crap, MS definitely already has their own merc hit squad (pretty sure they're a subgroup of their Legal department), I need to think of an offer with more value. :D