UI Performance Patch (Beta)
Improves campaign/strategy map frame rate (fps) and reduces stuttering when interacting with the game’s UI.
DO NOT USE THIS MOD IF YOU’RE NOT EXPERIENCING PERFORMANCE STUTTERS!
Using Process Monitor, I found that Warhammer 2 does a ton of access calls for UI assets in directories that don’t exist. Eventually the game appears to default to the correct location, but for many players, the game briefly stutters each time the game does these data calls.
Making matters worse, the issue is severely compounded by using mods, since this cascading data call will include every WH2 workshop folder in its searches going forward. For example, if you’re using 20 mods, that’s 20 more data calls EVERY time the game searches for a UI asset.
To mitigate the amount of data calls the game does, I would have to either:
(1) change where the game searches for UI assets, or…
(2) place UI assets in the places the game is looking so it stops constantly searching.
I can’t control where the game searches, so I went with option 2. This mod creates the folder structure the game is searching and dramatically reduces the amount of overhead as result. Not a single script or data table is used.
This mod isn’t a silver bullet to the problem. If you experienced UI stutters before, you’ll probably still experience it with this mod, but maybe a bit less severe.
Thanks to HuntingDog on the official Total War forums for bringing this up in 2019 when he encountered the same issues in TW: Three Kingdoms.[forums.totalwar.com] This thread is the reason I used ProcMon and what inspired the mod.
Thanks to Levie for porting this mod to TW: Three Kingdoms.
Like my work? Buy me a coffee! Just click the tip jar:
[paypal.me]