sighsorry-Fast_AssetBundle_Loader icon

Fast AssetBundle Loader

Faster loading with large size mods by caching asset bundles

Last updated 3 weeks ago
Total downloads 442
Total rating 0 
Categories Mods Tweaks Server-side Client-side AI Generated
Dependency string sighsorry-Fast_AssetBundle_Loader-1.0.0
Dependants 6 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

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