Warhammer 40,000: Darktide
0 of 0

File information

Last updated

Original upload

Created by

Altarion

Uploaded by

Altarion

Virus scan

Safe to use

About this mod

Automatically orders and loads valid mods without requiring mod_load_order.txt or vortex load order management

Requirements
Permissions and credits
Changelogs
Requirements


Installation
  • Vortex: Install with Vortex normally. You may be prompted if you want AML to override DML, it needs to.
  • Manual: Place the base folder directly into your Darktide/mods folder. You should be prompted to overwrite a file.You can now ignore mod_load_order entirely!
    The mod overwrites a single file, mods/base/mod_manager.lua


Usage
  • Install/remove other mods as normal - SML will handle load order.
  • Launch Darktide as normal
    All valid mods in the mods/ folder will be loaded and sorted to satisfy their dependencies, and then alphabetically. mod_load_order.txt is ignored.


Removal
  • Vortex Only: Uninstall AML in Vortex. Make sure mods/base/mod_manager.lua exists. If not, then..
  • Re-install Darktide Mod Loader or just replace mods/base/mod_manager.lua


Enabling/Disabling mods
  • Vortex: Enable or Disable directly in Mods list
  • Manual: Add an underscore before a mod's folder name to not load it (eg _afk)


A log of the last game load is available in mods/auto_mod_loader_log.txt

mod_load_order.txt and Vortex's managed load order are ignored

Try using borderless/windowed mode if the game minimizes on launch - Gathering the list of mods quickly opens a cmd prompt which can cause the game to lose focus.



For mod authors
This supports additional tables in your .mod file: load_before and load_after.
Several existing mods have preset values included, but you can use these fields in your mod to have AML sort yours automatically.
Example:

return {
  run = function()
    ...
  end,
  load_after = {
    "weapon_customization",
    "for_the_drip",
  },
  packages = {},
}


Explanation
This is a single-file patch of Darktide Mod Loader's mods/base/mod_manager.lua. The rest of Darktide Mod Loader is not included.
The added code is at the top of the file with two clearly marked hooks placed lower down.
It changes the process of loading the list of mods from reading mod_load_order.txt to gathering a list of valid mod folders in the mods/ directory, and sorts it based on load_before/after rules.


Credits
Darktide Mod Loader, which is required, and without which this would do nothing