aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-17 23:59:40 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-17 23:59:48 -0600
commit480a57cf037a46f176128e6c94aa5616fcf704a3 (patch)
tree35be94099e2669f518c623acdf8fe23ee82e55a8 /libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
parent91e1d7f9f03ab3fd77cee94c1eac2abf89254e50 (diff)
Fix Wine prefix deployment, INI handling, and data directory paths
- Fix data directory path to use ~/.var/app/com.fluorine.manager consistently (was ~/.local/share/fluorine in committed code) - Fix VFS helper path in fuseconnector.cpp to use fluorineDataDir() - Fix localAppFolder() to resolve Wine prefix AppData/Local on Linux instead of returning XDG ~/.local/share - Add localAppName() virtual method for correct AppData folder mapping (Enderal→"enderal", Nehrim→"Oblivion") - Fix mergeTweak() to use direct INI parser instead of QSettings which corrupts backslashes and URL-encodes spaces in keys - Make resolveWineDataDirName() more robust with existence checks and fallback chain (documentsDirectory → gameShortName → gameName) - Add comprehensive debug logging throughout Wine prefix deployment - Fix INI case handling: copy instead of symlink for case-mismatched INIs, ensure both proper-case and lowercase aliases exist - Remove native build script (Flatpak only) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp')
-rw-r--r--libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp b/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
index 1e8e9e9..effc806 100644
--- a/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
+++ b/libs/game_bethesda/src/games/falloutnv/gamefalloutnv.cpp
@@ -40,7 +40,7 @@ bool GameFalloutNV::init(IOrganizer* moInfo)
registerFeature(dataArchives);
registerFeature(std::make_shared<FalloutNVBSAInvalidation>(dataArchives.get(), this));
registerFeature(std::make_shared<GamebryoSaveGameInfo>(this));
- registerFeature(std::make_shared<GamebryoLocalSavegames>(this, "fallout.ini"));
+ registerFeature(std::make_shared<GamebryoLocalSavegames>(this, "Fallout.ini"));
registerFeature(std::make_shared<FalloutNVModDataChecker>(this));
registerFeature(
std::make_shared<FalloutNVModDataContent>(m_Organizer->gameFeatures()));
@@ -213,15 +213,15 @@ void GameFalloutNV::initializeProfile(const QDir& path, ProfileSettings settings
if (settings.testFlag(IPluginGame::CONFIGURATION)) {
if (settings.testFlag(IPluginGame::PREFER_DEFAULTS) ||
- !QFileInfo(myGamesPath() + "/fallout.ini").exists()) {
- copyToProfile(gameDirectory().absolutePath(), path, "fallout_default.ini",
- "fallout.ini");
+ !QFileInfo(myGamesPath() + "/Fallout.ini").exists()) {
+ copyToProfile(gameDirectory().absolutePath(), path, "Fallout_default.ini",
+ "Fallout.ini");
} else {
- copyToProfile(myGamesPath(), path, "fallout.ini");
+ copyToProfile(myGamesPath(), path, "Fallout.ini");
}
- copyToProfile(myGamesPath(), path, "falloutprefs.ini");
- copyToProfile(myGamesPath(), path, "falloutcustom.ini");
+ copyToProfile(myGamesPath(), path, "FalloutPrefs.ini");
+ copyToProfile(myGamesPath(), path, "FalloutCustom.ini");
copyToProfile(myGamesPath(), path, "GECKCustom.ini");
copyToProfile(myGamesPath(), path, "GECKPrefs.ini");
}
@@ -282,7 +282,7 @@ QString GameFalloutNV::gameNexusName() const
QStringList GameFalloutNV::iniFiles() const
{
- return {"fallout.ini", "falloutprefs.ini", "falloutcustom.ini", "GECKCustom.ini",
+ return {"Fallout.ini", "FalloutPrefs.ini", "FalloutCustom.ini", "GECKCustom.ini",
"GECKPrefs.ini"};
}