Skip to content

Commit

Permalink
Virtualize both FalloutNV / _Epic for plugins.txt
Browse files Browse the repository at this point in the history
- Apparently BGS shipped with the launcher using one and the game using the other. (The game uses the original directory.)
  • Loading branch information
Silarn committed Sep 30, 2023
1 parent 7f754ab commit c3a946e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/gamefalloutnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,13 @@ MappingType GameFalloutNV::mappings() const

for (const QString& profileFile : {"plugins.txt", "loadorder.txt"}) {
result.push_back({m_Organizer->profilePath() + "/" + profileFile,
localAppFolder() + "/" + gameDirectoryName() + "/" + profileFile,
localAppFolder() + "/" + gameShortName() + "/" + profileFile,
false});
if (selectedVariant() == "Epic Games") {
result.push_back(
{m_Organizer->profilePath() + "/" + profileFile,
localAppFolder() + "/" + gameDirectoryName() + "/" + profileFile, false});
}
}

return result;
Expand Down

0 comments on commit c3a946e

Please sign in to comment.