Makes the Armoury and Melk load faster, and makes the Premium Store load MUCH faster. Also makes the Mourningstar itself load faster, and makes the Psykhanium load MUCH faster.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.4
Added option to toggle suppressing the "Cache Regeneration required" notification that appears when game version has changed (default is off).
Added Icon Caching. Prevents generated item icons from being unloaded (and reloaded) by scrolling or exiting out of item list views.
Added option to toggle Icon Caching (default is off). For now, this will not 'release' previously generated icons when disabled, but will allow normal unloading and generating where an icon has not yet been generated for an item.
Added warning text when accessing premium store so that people are less likely to try and purchase premium store items that appear to be free due to DarkCache.
Version 1.3.2
Added prefetching and caching functionality for the new Commissary cosmetics stores.
Added toggles in mod options for the new cache items.
Removed old operative and weapon cosmetics cache items.
Fixed crashing when loading directly into the Psykhanium from main menu, as is possible with mods like Psych Ward and Modular Menu Buttons.
Version 1.3.1
Added placeholder file to hub_preload_data directory so Vortex doesn't delete it.
Version 1.3
Added Mourningstar preloading (off by default).
Added mod options for toggling any cache item.
Added chat alerts announcing setting changes.
Reintroduced incompatibility with CharWallets and refixed it.
Changed Mourningstar caching and preloading to default to off so that people whose systems have less memory don't have issues upon adding the mod.
Added warning text to be shown when Mourningstar caching is enabled.
Lots of internal refactoring and reorganising.
Moved all developer mode output to print() rather than DMF:echo() so output is shown in DMF developer console.
Version 1.2.4
Fixes issue where operative cosmetics store would constantly reload, preventing use.
Added caching for Brunt's Armoury.
Version 1.2.3
Fixed incompatibilty issue with the CharWallets mod where incorrect contracts info was displayed.
Version 1.2.2
Fixed issue where an error would be shown if player started game with all caches but hub caching disabled and then went to buy something from the credits store.
Fixed issue where toggling a cache would not take effect due to related cache not being rebuilt.
Added a bit more text to hub caching explanation indicating that (currently) the cache won't be disabled properly until player restarts client.
Changed all the ModNexus filenames back to just "DarkCache" so things work better for Vortex users. Sorry you guys for this last change.
Reworked settings so caches aren't rebuilt at character change when no mod settings have changed.
Version 1.2
Fixed issue where item icons were loading slowly or not at all when viewing weapon skins and trinkets. Item icon caching was disabled for this fix.
Fixed issue where premium store was not showing owned assets as such.
Fixed issue where contracts list was not updating after rerolling tasks.
Fixed issue where loaders attempted to reload Mourningstar when exiting psykhanium.
Fixed issue where Mourningstar would apparently try to reload despite caching when exiting psykhanium.
Added text output confirming setting changes.
Added special text explanations with setting confirmations where appropriate.
Reworked all caching toggles (except Mourningstar since it works differently) to simply rebuild the relevant cache when a related setting is changed. They should all work now.
Added caching for the Armoury's cosmetics store.
Added caching for the Armoury's weapon cosmetics store.
Version 1.1
Fixed issue where psykhanium was crashing.
Version 1
Added prefetching and caching for Armoury, Melk, Contracts List, Mission Board & Premium Store.
This mod implements prefetching and caching of both the Mourningstar itself, and many of the menus accessible within it such as those of the Armoury, Melk, and the Premium Store. You should find that all the menus load very quickly with this mod. The caching of the Mourningstar level itself is done during the first load, so while your initial load into the Mourningstar won't be any faster, all your subsequent ones should be. [UPDATE] Version 1.3 includes preloading of the Mourningstar, starting as soon as Darktide starts, and should shave some time off loading into the game. Note that this requires that some data be generated during loading the Mourningstar, so your first load after enabling preloading will not be any faster; subsequent ones will.
WARNING: The Mourningstar caching will increase memory usage, in particular when you are in a mission, as the assets for the Mourningstar and the mission will be in memory. If this causes you any issues and you want to use the other features of the mod, you can disable the Mourningstar caching in the mod options. Please note though that due to how it works, (currently) you have to restart the game for it to release the Mourningstar assets entirely.
Features
Prefetching and caching for both of the Armoury's stores.
Prefetching and caching for Melk's Requisitorium including the Contracts menu.
Prefetching and caching for the Commissary's cosmetics stores.
Prefetching and caching of the Mission Board. This is actually off by default because, honestly, it didn't do much for me personally.
Prefetching and caching of the Premium Store. No more watching Hallowette wave her arms around for ten seconds.
Caching of the Mourningstar level itself. For me this reduced my loading time from about 25 seconds to about 10 seconds.
Much faster Psykhanium loading. For me this was about 3 seconds.
Mod options for toggling cache items, just in-case you have issues with one of them.
Preloading of the Mourningstar, saving time loading in. For me the saving is about ten seconds.
Installation
This mod uses the Darktide Mod Loader and Darktide Mod Framework (you'll be prompted to install them when you go to download this mod), which are available on this site. Once you have those in place, you can install this mod by extracting the DarkCache folder into your mods folder, then adding DarkCache to your mod_load_order.txt.
Usage
The mod comes with settings for each category of caching so that you can toggle things if something isn't working right. You can access them via the Mod Options menu by hitting Escape, or simply by hitting F4. Mourningstar caching and preloading is disabled by default so that players whose systems have less memory do not immediately run into problems when they add the mod. For everyone else, I recommend enabling both Mourningstar caching and preloading.
If you like my work, please consider supporting me via my Buy Me A Coffee.