the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Faster Workshop (Workshop Lag Fix)

Interface/Menu Faster Workshop (Workshop Lag Fix) reg2k

Faster Workshop

Faster Workshop is an F4SE plugin that optimizes workshop loading times by replacing some of the most expensive and inefficient regions of workshop loading code with far more efficient versions.

On top of this, it also does two more things:
  • Provides a hotkey to instantly enter Workshop mode.
  • Fixes the issue with workshop icons not loading when navigating through them quickly.

Testers with a current workshop load time of ~15s (from activating a Workshop to having the build menu appear) report a drop in load time to less than half a second. Those with a lower starting load time report near-instantaneous Workshop loads with the plugin installed.

About

As you acquire more mods that add content to your game, you may have noticed the game freezing up (video freezes and you cannot move) for increasingly longer periods of time when you attempt to start Workshop mode. Even when these mods have nothing to do with the Workshop!

What's going on?

Spoiler:
Show


Do I need this mod?

When you start workshop mode, is there any noticeable delay before the build menu appears? If so, this mod can help.

If you do not currently experience any lag when starting Workshop mode, congratulations! You have a beefy-enough rig, or do not have many (workshop) mods installed. But do keep this mod in mind in case you need it in the future. The rate of load time increase is not linear in the number of mods you have installed - it is far worse, so you may see load times shoot up quickly if you install certain kinds of mods. (see About section for more detailed information)

How it works (technical)

Spoiler:
This F4SE plugin rewrites code that handles workshop object loading. On the first workshop load of the game session, the plugin goes through the constructible objects once and maps keywords to their constructible objects. Now, instead of looping through the entire COBJ list every time a mapping of COBJ to KWYD is needed, it is a constant-time operation to look up this information from the prebuilt map. Conditions will now only be evaluated on COBJs that belong in the workshop category, instead of all loaded COBJs.


Installation

Install with your preferred mod manager, or copy the files in the download to your Fallout 4 Data folder.
Make sure that you start the game with the F4SE loader, otherwise F4SE will not be active.

This is an in-memory code patch. It does not attach any scripts to objects or your save and is safe to install or remove at any time.

Requirements

Fallout 4 game version 1.10.50 or higher.
Fallout 4 Script Extender (F4SE), 0.6.4 or higher.
The Mod Configuration Menu, if you want to assign a hotkey for starting Workshop mode. Not necessary otherwise.

Acknowledgements

Many thanks to the xSE team, for F4SE.
Author
GA_Darkerside
Downloads
1,976
Views
2,585
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from GA_Darkerside

Top