MDL - Mod Dynamic Loader 1.4.4 for Helldivers 2
Author ID: 174513429

WHAT IT DOES
  - Adds an "MDL Settings" tab to the in-game ESC menu.
  - Load, stop and reload Lua mods while the game is running - no restart, no Deploy.
  - Shows your HD2 Arsenal / HD2MM library with icons, grouped by type:
      SCRIPT - LIVE            script addons you can start and stop right here
      SCRIPT / MIXED / RESOURCE - LAUNCH ONLY
                               mods the game loads only when it starts; the ? next to
                               the group explains why and how to turn them on in Arsenal
  - Frame cost per running mod, optional reduced update rate, background log writing.
  - Works on its own. Addons made for Bingus Shared Loader keep working, and MDL can
    also run next to Bingus Shared Loader in either load order.

INSTALL
  1. Close the game.
  2. Import this ZIP into HD2 Arsenal (or HD2MM), enable it, click Deploy.
  3. Start the game, press ESC and open the MDL Settings tab.
  Bingus Shared Loader is not required for MDL. Keep it if your other mods ask for it.

LIVE LUA MODS
  Put each mod in its own folder:
    %LOCALAPPDATA%\MDL\Helldivers2\Mods\<name>\mod.lua      (optional icon.png)
  Only install mods you trust: a Lua mod runs with the same access as the game.

SETTINGS
  %LOCALAPPDATA%\MDL\Helldivers2\MDL.cfg (created on first start). Inside "ui = { ... }":
    native_tab = false          floating panel on the right instead of the ESC tab
    tab_text = "MDL SETTINGS"   title of the ESC tab
    tab_x, tab_top, tab_width, tab_bottom = numbers
                                panel position and size in the tab (1080p units)
  Close the game before editing the file.

COMPATIBILITY
  - Mod Options Menu also adds a 4th ESC tab. When it is installed MDL uses the
    floating panel instead (set native_tab = true to add both).
  - After a game update MDL looks up everything it needs again at start. Anything it
    cannot find switches itself off (for example the tab falls back to the floating
    panel) instead of guessing.

TROUBLESHOOTING
  Log: %LOCALAPPDATA%\MDL\Helldivers2\Logs\MDL.log - please attach it to bug reports.

UNINSTALL
  Disable MDL in Arsenal / HD2MM and Deploy. You can delete %LOCALAPPDATA%\MDL afterwards.

CREDITS
  Addon discovery and startup registry based on Bingus Shared Loader v18 by CowboyBingus.
  LuaJIT (MIT licence).

----------------------------------------------------------------------------------------
中文说明
  - 在 ESC 菜单中加入 "MDL Settings" 页签：游戏运行中加载、停止、重载 Lua mod，无需重启。
  - 显示 Arsenal / HD2MM 的 mod 库（含图标），按类型分组；LAUNCH ONLY 组只能随游戏启动，
    点旁边的 ? 查看原因和 Arsenal 操作步骤。
  - 安装：关闭游戏 → 导入 Arsenal 或 HD2MM → 启用 → Deploy → 进游戏按 ESC。
  - Live mod 目录：%LOCALAPPDATA%\MDL\Helldivers2\Mods\<名称>\mod.lua。只安装可信的 mod。
  - 问题反馈请附上 %LOCALAPPDATA%\MDL\Helldivers2\Logs\MDL.log。
