Quick save freezes the game

For posting information about any bugs, crashes, or graphical issues you encounter while playing House Party. Not the place for general, gameplay, or spoiler-related questions.
Forum rules
Please follow all Eek! Forum rules.
Post Reply
cimpleman
Posts: 2
Joined: Sun Sep 06, 2020 11:36 pm

Quick save freezes the game

Whenever I quick-save the game, it freezes for 5-10 seconds.

Maybe I'm incorrect, but I would guess that quick saving is implemented in a synchronous fashion. If it is, then I think it definitely should be changed to be asynchronous. Regardless, quick saving makes the game hang, which makes for a bad user experience
Last edited by cimpleman on Mon Sep 07, 2020 8:35 pm, edited 1 time in total.
ttant
Posts: 1014
Joined: Tue Feb 13, 2018 4:49 pm

Re: Quick save freezes the game

Hang might also be due to hardware issue, like economy mode which stop HDD if not in use (Time taken by windows to wake up the hdd then write on it might produces lag in game if everything is not in memory).
You're right about the fact that async will not hang the game, but it might create other issues as the game has to take a snapshot of all variables at a single time to avoid corruption.
I mean if you start to take a quick save when a NPC state or location changes, there might be consequences (ie: Frank was not near you at first but is at end : if you drink booze, he can caught you.
cimpleman
Posts: 2
Joined: Sun Sep 06, 2020 11:36 pm

Re: Quick save freezes the game

Maybe it would work if the game just makes a copy in memory on the main thread, and then saves it to disc on a separate thread while the game continues afterwards?
eekdon
Posts: 1546
Joined: Tue Feb 13, 2018 4:29 pm

Re: Quick save freezes the game

So replicate the quick/autosave functionality seen in many other single player games? Oh man IDK if the technology is there yet ;)

I've got this in a ticket, we'll look into it.
Image
Post Reply