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
AML MUST BE REINSTALLED/REAPPLIED AFTER DML UPDATES. IT IS A PATCH.


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
  • Just install or remove mods (Directly or with Vortex) - AML 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.


Updates
  • After updating Darktide Mod Loader you will need to re-install AML, since it is a patch.


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 requires opening a cmd prompt which can cause the game to lose focus.



For mod authors
This supports rules defined in additional tables you can add to your .mod file: load_before, load_after, and require
Also supported is logging the .version field, if present
Several existing mods have preset values included, but you can use these fields in your mod to have AML sort yours automatically.

Require will skip loading and warn the user that a requirement is missing.
Example:

return {
  run = function()
    ...
  end,

  load_after = {
    "weapon_customization",
    "for_the_drip",
  },
  require = {
"weapon_customization",
  },
  version = "24.07.05",

  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