Oxygen Not Included

Oxygen Not Included

Not enough ratings
[OUTDATED] Lazy Saver+
   
Award
Favorite
Favorited
Unfavorite
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
126.807 KB
8 Jan, 2023 @ 10:21pm
14 Jan, 2023 @ 8:57pm
5 Change Notes ( view )

Subscribe to download
[OUTDATED] Lazy Saver+

In 1 collection by SuperComicMC
Super Comic's Workshop Mods
5 items
Description
==NOTICE==
This MOD contains experimental features

!! BUG ALERT !!
  • (CRITICAL) The background wall does not save properly (01/15/2023 KST)

==SYSTEM REQUIREMENTS==
Minimum: 6.0GB+ RAM

==COMPATIBILITY==
  • Existing saved files can also be loaded.
  • Files saved using Mod can also be loaded without Mod.
  • Not recommended for use with Fast Save Mod.

Description
This MOD utilizes more memory space to reduce the time and cost of storage.
Save files are not created immediately and are written to disk after some time.
The stored data exists in memory until it is written to disk, force quit the game can cause the stored data to disappear.

To prevent incorrect information from being recorded, the game automatically pauses when a save is started.

VS. Vanilla : +174.11%p fast.
VS. Fast Save MOD (Aggressive + Delegates) : +58.92%p fast.


MOD option
Enable forced delay
Enabling forced delay will take longer to save, but will help increase your average framerate.
Instead of one long freeze, you'll get multiple short freezes.

Forced delay period (ms)
Setting this value higher will take longer to save, but will increase the average frame rate.
Setting this value to a lower value will save faster, but will reduce the average frame rate.

Tip: Set this value to 500 or higher if freezes last longer than 3 seconds while saving



Other
Github : here [github.com]
20 Comments
NoahS2 17 Jul, 2023 @ 4:52pm 
this mod is causing problem when i try to create a new game
Murden 20 Jun, 2023 @ 9:15am 
This is exciting! I play ONI a lot and so much time is wasted in the daily auto-save.
SuperComicMC  [author] 19 Jun, 2023 @ 4:34pm 
@Murden
My initial plan was to create a copy and process it as you said, but I thought copying the entire memory would take more time.

Ok so, what is the cause of the "hang" phenomenon that humans feel?
If something doesn't move for half a second you'll feel the situation disconnected.
This MOD prevents all objects from being stored in 1 frame, and uses more frames to process them.
This way, the game system may stop updating, but the camera will be able to move and you will feel less disconnected.
However, this method has a fatal drawback. If there is a conflict between the information at the start of saving and the information at the time of actual saving, it cannot be recovered.

So along the way I'm working on adapting the idea of saving to parallel threads by changing the way a bit.
Although there are downsides to this approach, the initial version seemed to work just fine.
However, I can't say this works very well as I'm getting a lot of bug reports from a lot of users.
Murden 19 Jun, 2023 @ 9:56am 
I think I misunderstood what your mod does. I thought you were saving everything to memory and then later saving to disk in another thread. What do you mean when you say "It's all about saving one object and then taking a little break"? Do you save different parts of the game state while the game is running? (hence the need to pause?)
Pavel 3 Apr, 2023 @ 1:36am 
Good news, im waiting.
SuperComicMC  [author] 2 Apr, 2023 @ 8:44pm 
@Sgt_Imalas
There are many problems that keep popping up for unknown reasons, including the error you talked about.

And, I'm having trouble pinpointing the cause of them.
However, I don't think we can ignore such problems any longer.

So, I started re-working this mod.

I'm doing my best to make a better mod by using the information I gained while developing this mod as much as possible.:steamthumbsup:
Sgt_Imalas 31 Mar, 2023 @ 3:20pm 
Please ILmerge your dlls.
apart from that, mod breaks world gen
Pavel 10 Feb, 2023 @ 6:28am 
During the game, the tiles work fine, even if the save has already been broken, until I exited the game and re-entered, I did not see that it had been breaking the save for about 6 cycles.
Pavel 10 Feb, 2023 @ 6:19am 
I sometimes accidentally released the pause and most likely because of this it did not save the back tiles. If anything, I had a value of about 150.
SuperComicMC  [author] 10 Feb, 2023 @ 6:10am 
@Pavel
Unfortunately, No.
I haven't been able to reproduce the problem, so I don't know what the cause is.

However, it is speculated that the problem occurs when the user takes any action after the save has started.
If possible, never do anything other than operate the camera after saving starts.

This MOD does not increase save speed.
It's all about saving one object and then taking a little break so that the game doesn't freeze as much as possible.