aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/mobase/deprecation.cpp
diff options
context:
space:
mode:
authorSulfurNitride <lukew19@proton.me>2026-06-24 23:20:46 -0500
committerSulfurNitride <lukew19@proton.me>2026-06-24 23:20:46 -0500
commit91aef6e4d96cc88b3d71a4a7a6b365650c401f5c (patch)
treefaf2a83a440952cb3178d05a83b7895604daf5c1 /libs/plugin_python/src/mobase/deprecation.cpp
parente4fefc7f186a77174c93d6894b5c9252785b98cc (diff)
Fix VFS empty dirs in overwrite and add LOOT Sort button
VFS: Remove physical directory creation from mo2_lookup auto-mkdir. Previously, any dotless path component that missed the VFS tree was immediately created on disk, leaving hundreds of empty directories in overwrite (Shaders/, STRINGS/, DLLPlugins/, etc.) after a session. Now a phantom virtual node is inserted instead — createFile() already calls create_directories on the parent path, so the real directory materialises on disk only when a file is actually written inside it. mo2_rmdir already handles phantom (disk-absent) directories correctly. LOOT: Add lootmanager.h/cpp which downloads the latest win64 .7z from the GitHub releases API, extracts it to ~/.local/share/fluorine/tools/loot/ using the bundled 7zz or any system 7z tool, and exposes isLootInstalled() / getLootExePath(). Add a Sort button to the plugins tab that downloads LOOT on first use (same progress-dialog pattern as SLR) then launches LOOT.exe hooked through the active Proton via ProcessRunner so it sees the full merged VFS. Button is hidden for games that don't use LOOT sorting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/mobase/deprecation.cpp')
0 files changed, 0 insertions, 0 deletions