Oxygen Not Included

Oxygen Not Included

25 ratings
Multi threaded simulation
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
40.232 MB
Sep 6 @ 5:24am
Sep 15 @ 7:46am
5 Change Notes ( view )

Subscribe to download
Multi threaded simulation

Description
ATTENTION

  1. In summary, ONI uses two threads. One is main program, for duplicants / critters / plants / buildings / etc, another is for simulation like heat transfer, fluid movement. This mod enable multi threads for simulation.

  2. This mod is written by C# and C++. If your game crashes while loading, please install newest Visual C++ Redistributable Package[learn.microsoft.com]. You can also find a copy in the mod folder.

  3. To support multi threads and avoid threads conflict, it is necassary to reconstruct the algorithm of original game. Therefore the simulation result might be different with original game.

  4. Your game fps may not increase with this mod. In most cases, the performance bottleneck is main program.

  5. If the core number of your CPU is less than 4, it is a bad idea to try this mod.

  6. This mod ONLY supports windows OS.

  7. Except 7/8/13, the others 12 features listed in this post[forums.kleientertainment.com] are removed from this mod.


Report error or learn more about this mod[forums.kleientertainment.com]
40 Comments
staticicarus Sep 25 @ 8:43pm 
Whoa, this is very cool.
MiserableGamer Sep 20 @ 6:11am 
Managed to spend some time on this, and got it working, I can confirm it indeed does utilise more cores, however, at standard speed it's ok, but if run speed is increased there are massive framerate issues, like its only displaying 1 frame out of 3
SkyMyName Sep 18 @ 8:48am 
You can download it here: https://www.allinoneruntimes.org
SkyMyName Sep 18 @ 8:46am 
@NAREBOX I was try it nearly one week ago but it's didn't work like you. But today somehow it work after I installed AIO Runtimes
Samys94 Sep 16 @ 1:08pm 
Can confirm it works on linux using proton(I used protonge).
For those looking to try it on linux you need to also install the vcredist, top comment here explains how. Reddit Link

To continue onto my previous comment, it unfortunately runs identically performance wise, however, its still great to have in case at one point the simulation spikes for some reason.
Although native version runs better for me, would like to use this there too, linux does have "libSimDLL.so", the .so being the linux dll equivalent.
R9MX4  [author] Sep 15 @ 8:34am 
@NAREBOX
It seems that you have encountered the same problem as @MiserableGamer
Sorry that I can't give you any effective advice.
NAREBOX Sep 14 @ 2:56pm 
Hello @R9MX4 First of all, thank you very much for creating this amazing mod. Unfortunately, it didn’t work. I have all versions of the C++ packages updated, my Windows 11 is on the latest 24H2 build, and I’m using a Ryzen 7 5700X3D. When I try to load the save with your mod enabled along with the others, a Unity window opens, then closes along with the game without showing any warning. https://imgur.com/a/DBP0KK1
DarkEviL Sep 13 @ 11:42pm 
When the mod was activated, the game worked fine, but the next day, when loading a save, the game started to crash. At first I thought it was a conflict with Piped Everything, but then I disabled Fast Track and the save loaded normally.
ShadowWeaver Sep 13 @ 7:46pm 
Huge thanks to R9MX4 for the Multi Threaded Simulation mod! 🙏 My ONI performance skyrocketed, finally all 20 cores of my Intel Core Ultra 7 265KF are being put to good use. After the upgrade, the game used to struggle as soon as my colony got a bit complex, but now it runs beautifully. Really appreciate your work!
R9MX4  [author] Sep 13 @ 7:34pm 
@MiserableGamer
My suggestion is manually uninstall Redistributable Package, reboot, then install the new one.
If the strategy not work, maybe you can try to download the visual studio 2022 and install the c/c++ module.

I am sorry I can't give more effective suggestion.