What is "non-blocking saving"?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
voddan
Fast Inserter
Fast Inserter
Posts: 124
Joined: Sat Jun 03, 2017 9:22 pm
Contact:

What is "non-blocking saving"?

Post by voddan »

When trying to host a game I am presented with several settings, one of which is "allow non-blocking saving".

What does it mean? What does this setting changes? How does it work?
Can it be used for a single-play game?
Is it only available on Windows?

Thanks!
posila
Factorio Staff
Factorio Staff
Posts: 5371
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: What is "non-blocking saving"?

Post by posila »

It's experimental feature contributed by a community member.
When autosaving, the game will fork itself and save will run in the fork in background, so it won't pause the game. It is not available on Windows at all, only on Linux and macOS.
I think there is an option to enable it in single player too.
It would be cool if you used it, but be carefull, it might cause crashes or corrupt saves, so backup your saves often.
voddan
Fast Inserter
Fast Inserter
Posts: 124
Joined: Sat Jun 03, 2017 9:22 pm
Contact:

Re: What is "non-blocking saving"?

Post by voddan »

Thanks, posila! A few questions:

- The GUI contained that option even thou I was on Windows. Is it as intended?
- Where in the GUI do I find that option for single player?
- Is there a genuine way to contribute to Factorio on the level of source code? Was it a special arrangement?
nuhll
Filter Inserter
Filter Inserter
Posts: 946
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: What is "non-blocking saving"?

Post by nuhll »

I can activate it under windows 10, does it now work on windows also?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14403
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: What is "non-blocking saving"?

Post by Rseding91 »

nuhll wrote: Sun Jun 02, 2019 10:51 am I can activate it under windows 10, does it now work on windows also?
No. It's in the server settings because those are editable runtime when connected to a server which may or may not support it.
If you want to get ahold of me I'm almost always on Discord.
nuhll
Filter Inserter
Filter Inserter
Posts: 946
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: What is "non-blocking saving"?

Post by nuhll »

Rseding91 wrote: Mon Jun 03, 2019 10:23 pm
nuhll wrote: Sun Jun 02, 2019 10:51 am I can activate it under windows 10, does it now work on windows also?
No. It's in the server settings because those are editable runtime when connected to a server which may or may not support it.
I mean when i self host a game. The saves dont destrupt the game, so i thought its working!?
Post Reply

Return to “Technical Help”