CrusherPerformanceFix
Fixes idle crushers which have any items in their inventory breaking game performance.
By Gratak
Last updated | 3 weeks ago |
Total downloads | 209 |
Total rating | 2 |
Categories | Misc |
Dependency string | Gratak-CrusherPerformanceFix-1.1.1 |
Dependants | 0 other packages depend on this package |
README
CrusherPerformanceFix
Description
Fixes idle crushers which have any items in their inventory breaking game performance. This is done by adding a customizable delay on how often crushers will check if they are able to start any new recipee. For my game this almost doubled my frame rate in late game. This does not decrease the frequency beyond the first cycle as long as there are enough input maerials delivered at all times. This mechanic is similar to the cooldown machines have in Satisfactory.
Additionally, with 1.1 of this mod it now improves the performance of inserters into crushers by simply allowing one stack on anything into the crusher instead of checking if a resource is crushable. Inserters also no longer show an error if the crusher is full. It also fixes what crushers show when you press "alt", no longer showing nothing when the input inventory is empty but the crusher is still producing. Optionally, it is now also possible to make all crushers lock in the first recipe they produce to avoid accidentally producting something else (mostly happens when sesamte stems are on low supply).
Furthermore, using the BepInEx\config file you can enable the same delay for Crushers and Assemblers. While this has way less of an effect, it might improve performance a bit as well.
This mod also removes the extreme lag that happens when you try to build near the edge of a level by simply disabling a log output of the game (can be reenabled using the config file).
All individual changes done by this mod can be disabled using the config file.
Changelog
- 1.1: Adding inserter into crusher settings, recipe lock in and crusher overlay changes
- 1.1.1: Crushers now display previous recipe in inspector if they are currently idle. Changing default value for inserters adding everything to false. Recommend to use https://thunderstore.io/c/techtonica/p/Jinx666/CrusherPerformanceBoost/ together with this mod to get the same performance while still checking for correct input.
Installation
If you are using Techtonica Mod Loader, you can ignore these steps.
Note, this mod requires use of the BepInEx Update function. If you have not already done so for another mod, follow these instructions:
- Find your game install folder.
- Navigate to BepInEx\config.
- Open BepInEx.cfg.
- Find the setting "HideGameManagerObject".
- Set it to "true".
- Save & close.
Techtonica Mod Loader Installation
You can download the Techtonica Mod Loader from here and use that to install this mod.
Manual Install Instructions
Note: If you are playing on Gamepass, your game version is likely behind the steam version. Please check the version compatibility chart below.
Your game folder is likely in one of these places:
• Steam: (A-Z):/steam/steamapps/common/Techtonica
• Gamepass: (A-Z):/XboxGames/Techtonica/Content
• Gamepass: Could also be in C:/Program Data/WindowsApps
- Download BepInEx v5.4.21 from here
- Follow the installation instructions here
- Download and install any dependencies.
- Extract the contents of the .zip file for this mod.
- Drag the "BepInEx" folder into your game folder.
- Change config options.
Disclaimer
Note: NEW Games must be loaded, saved, and reloaded for mods to take effect. Existing saves will auto-apply mods. Please be sure to backup your saves before using mods: AppData\LocalLow\Fire Hose Games\Techtonica USE AT YOUR OWN RISK! Techtonica Devs do not provide support for Mods, and cannot recover saves damaged by mod usage.
Some assets may come from Techtonica or from the website created and owned by Fire Hose Games, who hold the copyright of Techtonica. All trademarks and registered trademarks present in any images are proprietary to Fire Hose Games.