Jump to content

[BETA] Fast Track - Performance Mod for Oxygen Not Included


Recommended Posts

11 hours ago, sendros said:

Hey, here's a new QoL patch and it doesn't work with FastTrack. Update please

Peter is most assuredly already working on it, let him cook. This may not be an easy update for him given how much of the changes are themselves performance related.

  • Like 1
Link to comment
Share on other sites

This update might take a few days. Klei completely and totally rewrote the entire side screen system, along with several critter systems, which means about 20% of Fast Track needs to be rewritten as well.

  • Like 2
  • Thanks 6
  • Sad 2
  • Sanity 2
Link to comment
Share on other sites

Klei doesn't seem to have any intention of reducing the various calculations generated during game runtime. I used various MODs to prevent my potatoes from turning into mashed potatoes: reduce animation, reduce work, reduce calculations... but every time I update, opening the game on my computer is like opening a memory album. Oh, this is my colony, the next one... this is my other colony planet. God damn it

Link to comment
Share on other sites

Fast Track 0.13.1.0 has been released with support for U51. Klei did integrate some great critter performance improvements, but Fast Track is still showing noticeable performance increases on the standard late game saves I use for testing.

  • Like 5
  • Thanks 5
  • Big Ups 6
  • GL Happy 1
Link to comment
Share on other sites

I tried playing without the mod while waiting for the update, and i noticed that fast track seems to change dupes' hitbox for radbolts.

They were getting obliterated by radbolts that were cruising through at their face level without the mod.

Installed fast track again and radbolts are not hitting them. I don't know if it is intended or not, but i do like it.

Link to comment
Share on other sites

It appears that Fast Track causes severe performance regressions with an opened side panel. Most impactful if it contains a list of dupes or recipes. I tested it with activated and deactivated Fast Track.

Link to comment
Share on other sites

Sometimes I feel like we need ONI 2 with complete engine rewrite that would use GPU physics and SMT like cities skylines 2 that can use 64 CORE CPU like it's nothing.

Or take Dyson Sphere Program, they are like oh man not even 64 core CPU is enough let's do simulation on GPU because why not?

  • Like 1
Link to comment
Share on other sites

On 3/6/2024 at 9:48 AM, imazined said:

It appears that Fast Track causes severe performance regressions with an opened side panel. Most impactful if it contains a list of dupes or recipes. I tested it with activated and deactivated Fast Track.

 

Second this, opening side-panels causes MASSIVE lag.

Link to comment
Share on other sites

Fast Track 0.13.3 has been released. A rounding error has been addressed that sometimes led Radbolts fly through the head of a Duplicant or Pokeshell. A compatibility issue with the latest hotfix that could lead to extreme memory churn has also been fixed.

  • Like 2
  • Thanks 1
  • Big Ups 3
  • Sad Dupe 1
Link to comment
Share on other sites

8 hours ago, oraniancroaxia9410 said:

Is Fast track not compatible with DLC?

it is, you probably dont have it installed correctly. make sure to take the folder inside the zip and put it into /local/, dont simply hit extract.

otherwise you might end up with the structure /local/fasttrack/fasttrack/ModData, which is one layer too deep, it should be /local/fasttrack/ModData

Edited by SGT_Imalas
  • Like 1
Link to comment
Share on other sites

22 hours ago, Peter Han said:

A rounding error has been addressed that sometimes led Radbolts fly through the head of a Duplicant or Pokeshell

I am thorn about this... on one hand a bug was fixed... but on the other i need to redesign a huge chunk of facilities on 3 asteroids :lol:

Link to comment
Share on other sites

My game isn't liking the mod, the game crashed on launch.

 

Exception while loading mod PeterHan.FastTrack at C:/Files/Documents/Klei/OxygenNotIncluded/mods/Local/FastTrack. 
System.BadImageFormatException: 
File name: 'C:\Files\Documents\Klei\OxygenNotIncluded\mods\Local\FastTrack\FastTrack.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00099] in <10441a52cf784e609fef9aaaa8368210>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at KMod.Mod.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at KMod.Manager.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at Global.Awake () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at LaunchInitializer.Update () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
Build: U51-597172-S

Link to comment
Share on other sites

On 3/10/2024 at 5:08 PM, Leofarr said:

My game isn't liking the mod, the game crashed on launch.

 

Exception while loading mod PeterHan.FastTrack at C:/Files/Documents/Klei/OxygenNotIncluded/mods/Local/FastTrack. 
System.BadImageFormatException: 
File name: 'C:\Files\Documents\Klei\OxygenNotIncluded\mods\Local\FastTrack\FastTrack.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00099] in <10441a52cf784e609fef9aaaa8368210>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at KMod.Mod.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at KMod.Manager.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at Global.Awake () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0 
  at LaunchInitializer.Update () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0 
Build: U51-597172-S

The DLL file is corrupt. You may need to reinstall the mod again (settings will be preserved).

Link to comment
Share on other sites

Error in DetailsScreen(Clone).DetailsScreen.OnPrefabInit at (1870.0, 176.0, 0.0)

PeterHan.PLib.Detours.DetourException: Unable to find sideScreenContentBody on type DetailsScreen
  at PeterHan.PLib.Detours.PDetours.DetourField[P,T] (System.String name) [0x0006f] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.Detours.LazyDetouredField`2[P,T].Initialize () [0x00016] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.Detours.LazyDetouredField`2[P,T].get_Get () [0x00000] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.UI.PUIUtils.AddSideScreenContentWithOrdering[T] (System.String targetClassName, System.Boolean insertBefore, UnityEngine.GameObject uiPrefab) [0x0002b] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.UI.PUIUtils.AddSideScreenContent[T] (UnityEngine.GameObject uiPrefab) [0x00000] in <3ec21941392d41d784933cdbbed6a16f>:0
  at ConfigurableSweepy.DetailsScreen_OnPrefabInit_Patch.Postfix () [0x00007] in <3ec21941392d41d784933cdbbed6a16f>:0
  at (wrapper dynamic-method) DetailsScreen.DetailsScreen.OnPrefabInit_Patch9(DetailsScreen)
  at KMonoBehaviour.InitializeComponent () [0x00068] in <3ca21dc18eae422d87255277091f8593>:0
Build: U51-597172-S (FT-0.13.3.0)

 

I guess, there is still a problem with the sidescreen?

Link to comment
Share on other sites

1 minute ago, SharraShimada said:

Error in DetailsScreen(Clone).DetailsScreen.OnPrefabInit at (1870.0, 176.0, 0.0)

PeterHan.PLib.Detours.DetourException: Unable to find sideScreenContentBody on type DetailsScreen
  at PeterHan.PLib.Detours.PDetours.DetourField[P,T] (System.String name) [0x0006f] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.Detours.LazyDetouredField`2[P,T].Initialize () [0x00016] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.Detours.LazyDetouredField`2[P,T].get_Get () [0x00000] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.UI.PUIUtils.AddSideScreenContentWithOrdering[T] (System.String targetClassName, System.Boolean insertBefore, UnityEngine.GameObject uiPrefab) [0x0002b] in <3ec21941392d41d784933cdbbed6a16f>:0
  at PeterHan.PLib.UI.PUIUtils.AddSideScreenContent[T] (UnityEngine.GameObject uiPrefab) [0x00000] in <3ec21941392d41d784933cdbbed6a16f>:0
  at ConfigurableSweepy.DetailsScreen_OnPrefabInit_Patch.Postfix () [0x00007] in <3ec21941392d41d784933cdbbed6a16f>:0
  at (wrapper dynamic-method) DetailsScreen.DetailsScreen.OnPrefabInit_Patch9(DetailsScreen)
  at KMonoBehaviour.InitializeComponent () [0x00068] in <3ca21dc18eae422d87255277091f8593>:0
Build: U51-597172-S (FT-0.13.3.0)

 

I guess, there is still a problem with the sidescreen?

that error is caused by a mod called ConfigurableSweepy which uses PLib, not FastTrack

  • Like 1
Link to comment
Share on other sites

Player.log
My game runs worse and/or about the same with the mod enabled and configured properly, i attached my player.log. For reference I run arch linux on a laptop with a 9750H and a 2080 mobile. I'm in a mid-game save and with the mod i averaged like 15fps and without i averaged like 17

Edited by KhorneTheProto
Link to comment
Share on other sites

3 hours ago, KhorneTheProto said:

Player.log
My game runs worse and/or about the same with the mod enabled and configured properly, i attached my player.log. For reference I run arch linux on a laptop with a 9750H and a 2080 mobile. I'm in a mid-game save and with the mod i averaged like 15fps and without i averaged like 17

The log states:

Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

I guess, you switched to the internal GPU by accident. Thats one part making the game run worse.

 GPUgraphicsMultiThreaded=False means your Graphics run singlethreaded, which makes it worse.

Both can be switched in the ingame options.

Beside that... Your CPU runs only with a base clock speed of 2.6 GHz. Yeah, it can boost up to 4.5, but only for a few seconds. Thats just no gaming-CPU at all. And ONI is a VERY CPU bound game (unlike most of the games out there). Long story short, and i´m just guessing here: Fast track does some more computations than the base game, but in a more efficient way. But due to the performance limits of your CPU itself it runs worse. But: You may experience better overall performance late game, where you would run into a bigger bottleneck with the base game itself. That is something needing some testing.

 

Link to comment
Share on other sites

I'd just like to say thank you so much for this mod. It makes the game run so much smoother at faster speeds that it's a night-and-day difference!

  • Health 1
Link to comment
Share on other sites

Hee Peter!

Thank you for making this mod. I have an issue where the game stutters every 5/6 sec since I got new hardware. (posted about it here); 

 

It seems your mod makes the stutter go down to once every 12 seconds or so. Would you have an idea where the stutter comes from? It's on an AMD 7800x3d and RX7800xt.

Link to comment
Share on other sites

On 11/16/2023 at 9:50 PM, Marcus_BigHouse said:

So... the new 50th update came and it crashes if the game is loaded with this mod.

I'm new here, and I spent hours reading all 16 pages here (amazing work, by the way). So I concluded that this crash is an expected behavior that will need another branch of this amazing mod to be compatible with this new version as well. Am I right?

Also, I installed the mod yesterday. Using on my 500+ cycle save, and all got not more than 5 fps boost (from 12 to 17 +-). Is it because the mod works better with new worlds, or is it because my machine is a potato? (16GB RAM DDR3, I5 4690K, GTX 970). I know it's possible the weakest machine here, but bear in mind that I'm brazilian, so a nice machine costs a bone here (I mean, a living human one lol).

 

Anyway, just wanted to thank you for this amazing work you're doing so far :)

Hey guys! It`s me again.

So, just to point out some interesting performance tests here:

I was playing on a 1500+ world on my "potato" computer with fast track. It was running with less than 10fps and I couldnt take it anymore. So now I updated my rig... a bit too far I might say. I'm now with a 32GB DDR5, I9 14900K, RTX 4080 SUPER. Yeah I know I said computers were very expesive here in Brazil, but I also discovered I dont need two lungs to live (just kidding lol). Anyways, I decided to test how the game would perform with this new rig on that messy world. I was expecting something above 120fps, but to my surprise, the game was running at 45fps WITHOUT and WITH Fast Track. (So yeah.. fast track did no difference on performance in my case now). Im not criticizing the MOD in any way, as you may know I'm very thankful for this MOD had helped me A LOT on my old rig and I totally recommend it.

Anyways, in resume, Im sending a pic for u guys to see for yourselves: No core was throttling for temp issues, but also no core was near in full speed. Only two core seem to be running at 80% MAX.

Im gonna start a new world, since I dont remember most of my **** there lol, since its been some months without playing. And Im still going to use fast track since I trust it a lot.

Thanks! Hope this pic helps

ONI WITH FASTTRACK.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...