aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games_native/src/basicgameplugin.h
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-16 16:02:36 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-16 16:02:36 -0500
commit66633ead443819df5aacc87b3fd1fdee85cddfde (patch)
tree02ae6b7b82d090e3d6953fb1278c269725c65a30 /libs/basic_games_native/src/basicgameplugin.h
parentd7f4ef89b50861696a6fc2d74d29aabbed8c391b (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/basic_games_native/src/basicgameplugin.h')
0 files changed, 0 insertions, 0 deletions