diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-16 16:02:36 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-16 16:02:36 -0500 |
| commit | 66633ead443819df5aacc87b3fd1fdee85cddfde (patch) | |
| tree | 02ae6b7b82d090e3d6953fb1278c269725c65a30 /libs/plugin_python/src/pybind11-qt/pybind11_qt_basic.cpp | |
| parent | d7f4ef89b50861696a6fc2d74d29aabbed8c391b (diff) | |
Fix looksValid() for games with nested data directories (e.g. Oblivion Remastered)
Some UE5 games have their binary nested under a subdirectory of the Steam
installdir even though the appmanifest points one level up. looksValid()
was checking only for the binary at the game root, causing "does not seem
to contain a game Mod Organizer can manage" when manually browsing.
Add a fallback: if the binary isn't found at root, resolve the game's
%GAME_PATH%-based dataDirectory and check if that path exists. The data
path is unique enough to positively identify the game directory.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/pybind11-qt/pybind11_qt_basic.cpp')
0 files changed, 0 insertions, 0 deletions
