aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/typings/generate.py
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-11 16:51:28 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-11 16:51:28 -0500
commit5769638d5c2a32d452610319e0488d3af35fefc3 (patch)
tree4b443f245a163e164aa1f4e12937ec985dcf78b0 /libs/plugin_python/typings/generate.py
parent732407e91a7336d15810f7e3d5933ebcdec6a96b (diff)
Fix LOOT disabling plugins: handle Bethesda asterisk format in plugins.txt
LOOT writes plugins.txt in Bethesda format where *Plugin.esp = enabled and Plugin.esp (no prefix) = disabled. MO2's reader didn't strip the asterisk, so it tried to find plugins literally named "*Plugin.esp", failed to match, and marked them all as inactive. Two-pass approach: detect whether file uses asterisks. If yes (LOOT/Bethesda format), only *-prefixed plugins are active. If no (MO2's own format), all listed plugins are active. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/typings/generate.py')
0 files changed, 0 insertions, 0 deletions