FastAssetBundleLoader
Game loads faster with large size mods by caching asset bundles.
It speeds up repeated mod startup by caching slow asset bundles into reusable files under BepInEx/cache.
The implementation is based on the same general approach as DiFFoZ's BepInExFasterLoadAssetBundles, but is adapted and trimmed for this Valheim-focused project.
https://thunderstore.io/c/lethal-company/p/DiFFoZ/BepInEx_Faster_Load_AssetBundles_Patcher/
What it does
- It caches Valheim mod asset bundles that are stored in LZ4HC format into reusable LZ4 cache files, so subsequent loads can be faster.
- This is patcher.dll so it needs to be placed in BepInEx/patchers folder
Cache behavior
- Cache files are stored under
BepInEx/cache/ValheimFasterLoadAssetBundles by default.
- First run of game might not be enough to warm up all cache. So 3rd load can be faster than 2nd.
- To make a complete cache, load into actual world not just lobby
- Cache could take up to few GB of your disk space according to the mods you are using. (More than 3GB in my case)
Other mods to load the game faster
- StartupAccelerator
- LocalizationCache
I have tested with following combination to measure loading time.
- Modpack only = 246s
- FastAssetBundleLoader + Modpack = 170s
- StartupAccelerator + Modpack = 202s
- LocalizationCache + Modpack = 218s
- FastAssetBundleLoader + LocalizationCache + Modpack = 145s
- FastAssetBundleLoader + StartupAccelerator + Modpack = 127s