xor-bits Posted April 26, 2024 Share Posted April 26, 2024 Normally each autosave and manual save causes a huge stutter while the game is saving (like 1-2 seconds in a big map). This stutter could be eliminated on Linux and MacOS using the fork syscall to clone the game process (it is done by the OS with some magic to make it nearly free). The original process can continue running the game while the new process can save the game in the background (the background process won't see any changes to the game world because it will live in a snapshot). This is basically what Factorio offers on Linux and MacOS to save the game without the lag spike. One big problem with this is that Unity might make it difficult to do. Link to comment https://forums.kleientertainment.com/forums/topic/155782-stutterless-saves-on-linuxmacos-using-the-fork-syscall/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.