Giter Site home page Giter Site logo

battletechperformancefix's Introduction

This mod is fully compatible with https://github.com/Sheep-y/BattleTech_Turbine

Requirements

For an install guide see here: https://github.com/janxious/ModTek/wiki/The-Drop-Dead-Simple-Guide-to-Installing-BTML-&-ModTek-&-ModTek-mods

What does this mod do?

  • LoadFixes
    • Swap the default json parser for a faster one, and falling back to the slow parser if necessary
    • (Decrease load times, less useful in BattleTech 1.3)
  • NoSalvageSoftlock
    • Prevents the game from softlocking (causing you to lose progress) in case of more than 7 salvage picks
  • MissingAssetsContinueLoad
    • If the game fails to locate an asset from the manifest, create a dummy item in its place
    • This fix can allow you to progress past some types of infinite loads
  • DataLoaderGetEntryCheck
    • Disables file exists & modify checks in a critical code path. Speeds up loading by about 1 second in vanilla.
  • DynamicTagsFix
    • Restores some broken code in 1.3 that was not allowing mods to see user faction tags.
    • (This fix is provided by HBS_Eck. Thanks!)
  • BTLightControllerThrottle (disabled by default)
    • Very large cpu usage reduction. Causes lights to look like crap, useful for very low spec machines.
  • ShopTabLagFix
    • Prevents BattleTech from sorting the item list every single time an item is added.
    • Exponential speedup (Hoarders/Late game players will see the most benefit)
  • MDDB_InMemoryCache
    • Prevent the hang on HBS logo + general game speedup by transferring the disk MDDB to an in memory one.
  • ContractLagFix
    • Speeds up Contract generation in the command center, and removes some stutter from battle when completing objectives.
  • MechLabFix
    • Replace the MechLab UI with a virtual one, which allocates only enough prefabs for what you're currently seeing on the screen.
    • This fix sees more gain for late game players with lots of items inventory.
  • DMFix
    • Fix exponential dependency checking explosion (Drops around 2 minutes from loads in roguetech).
  • RemovedFlashpointFix
    • This fix removes invalid flashpoints allowing saves to load if a user created flashpoint was removed from the mods in use.
  • DisableSimAnimations
    • Make all simgame room transitions instant.

Experimental patches

  • MDDB_TagsetQueryInChunks
    • Prevent the game from softlocking/infinite loading when MDDB builds queries too large for sqlite3 to handle.

Upcoming patches

  • ParallelizeLoad (Disabled by default: Experimental, Dangerous)
    • An in progress patch, it is recommended you do not enable this patch at this time.
  • LLA (Disabled by default: Experimental, Dangerous)
    • Lazily load assets, unstable, not recommended.

How do I disable/enable X

Set it to true or false in BATTLETECH/Mods/BattletechPerformanceFix/Settings.json

Comparisons (Right side is with fix applied)

Store Fix (249 unique items in sell list)


MechlabThottling + ItemsList Fix (249 unique items in list)


Load times (Note: both sides include Sheep-y's Turbine fix)

experimentalLazyRoomInitialization

  • Delay loading of rooms on Leopard until you actually require them

experimentalLoadFixes

  • Speed up JSON processing by only stripping comments & correcting if required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.