• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Tip/Fix: How to Improve Mod Load Times

EvilPolygons

Active member
First off, I'm sure some folks already know about this fix, but I've only just discovered it and want to share the knowledge.

My load times were starting to get ridiculous because of the number of mods I have installed. Specifically, the "Loading Blocks..." part of the process was hitting 2 minutes or more. So I started investigating, trying to narrow down exactly which mods were causing the slowdown, and why.

What I discovered is that it really has little to do with the number of custom blocks a mod adds, or even the size of the assets bundled up in a mod's .unity3d file. It's almost completely down to modders choosing LZMA compression instead of the much faster LZ4. The worst offenders were Guppycur's custom block mod and Cannon's addon mod. But about half the mods I tested used LMZA compression, so I'd say it's a common problem.

Using a tool I found on github named UABEA (a remake of the original but outdated UABE tool), I was able to open and recompress the unity3d files from various custom block mods and get an 80% to 90% improvement in load times. Initially I tested with Guppycur's custom blocks mod and the difference was pretty remarkable.

My best load times have now gone from 2:00 minutes to 1:04, and that's just after recompressing a handful of mods.

The UABEA tool is easy to use -- you just run it, select the unity3d file you want to open, and recompress with the LZ4 option. You can't overwrite the original, so you'll have to rename the files afterwards, but that's all there is to it.
 
Awesome. Yeh I think that block mod pre-dated the lz4 addon to our export script. One day I'll update my mods. One day... soon(tm).
 
Back
Top