For BATTLETECH 1.3.0
Turbine is a BattleTech mod that lighten and speed up the game's resource loading.
This mod does not modify game data or save games. This mod does not fix memory leaks, either. Rest your eyes.
- GitHub: https://github.com/Sheep-y/BattleTech_Turbine
- Nexus Mods: https://www.nexusmods.com/battletech/mods/288
- Install BTML and ModTek.
- Download this mod, extract in the mod folder. i.e. You should see
BATTLETECH\Mods\Turbine\Turbine.dll
. - Launch and play as normal. This mod has no settings.
- If the game crash or hang up during a loading screen or blank screen, delete the mod and try again.
Note: Turbine 1.x couldn't be loaded as ModTek, but it has been updated since 2.0. Please delete old Turbine and do not use both at the same time.
Tested with janxious's BTML v0.6.4 and ModTek v0.4.2.
It should otherwise work with all mods, including those that add new files for the game to load.
The mod has a few functional parts. Version 1.x is a major rewrite of BattleTech's DataManager, but its main ideas has since been implemented by the game.
- The resource load loop has been rewritten to run faster.
- Two lightweight duplicate resource filters are added, one check loading requests and the other checks complete notifications.
- The json pre-processor has been rewritten to not use regular expression.
- The csv line reader (for version manifest) has been optimised to use quick split if possible.
- Data hashing code has been replaced with a multi-thread implementation.
- VFX name list is cached instead of rebuilt every time.
- Unparsed CombatConstants is cached in memory in compressed form.
- Thanks Denedan for finding the two original performance issues
- Thanks Matthew Spencer for doing very detailed and amazing profiling so that I know where to start hacking, and suggested ways to speed the game up further.
- Thanks LadyAlekto and many brave RogueTech users on the BATTLETECHGAME discord for testing the mod despite its high tendency to explode their games.
- Thanks HBS the game developer for giving me a ComStar experience when working on this mod. Can't get any closer to maintaining Lostech.