aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout4
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout4')
-rw-r--r--libs/game_bethesda/src/games/fallout4/fallout4dataarchives.cpp8
-rw-r--r--libs/game_bethesda/src/games/fallout4/gamefallout4.cpp16
2 files changed, 12 insertions, 12 deletions
diff --git a/libs/game_bethesda/src/games/fallout4/fallout4dataarchives.cpp b/libs/game_bethesda/src/games/fallout4/fallout4dataarchives.cpp
index c0931ce..035b771 100644
--- a/libs/game_bethesda/src/games/fallout4/fallout4dataarchives.cpp
+++ b/libs/game_bethesda/src/games/fallout4/fallout4dataarchives.cpp
@@ -22,8 +22,8 @@ QStringList Fallout4DataArchives::archives(const MOBase::IProfile* profile) cons
QStringList result;
QString iniFile = profile->localSettingsEnabled()
- ? QDir(profile->absolutePath()).absoluteFilePath("fallout4.ini")
- : localGameDirectory().absoluteFilePath("fallout4.ini");
+ ? QDir(profile->absolutePath()).absoluteFilePath("Fallout4.ini")
+ : localGameDirectory().absoluteFilePath("Fallout4.ini");
result.append(getArchivesFromKey(iniFile, "SResourceArchiveList"));
result.append(getArchivesFromKey(iniFile, "SResourceArchiveList2"));
@@ -36,8 +36,8 @@ void Fallout4DataArchives::writeArchiveList(MOBase::IProfile* profile,
QString list = before.join(", ");
QString iniFile = profile->localSettingsEnabled()
- ? QDir(profile->absolutePath()).absoluteFilePath("fallout4.ini")
- : localGameDirectory().absoluteFilePath("fallout4.ini");
+ ? QDir(profile->absolutePath()).absoluteFilePath("Fallout4.ini")
+ : localGameDirectory().absoluteFilePath("Fallout4.ini");
if (list.length() > 255) {
int splitIdx = list.lastIndexOf(",", 256);
setArchivesToKey(iniFile, "SResourceArchiveList", list.mid(0, splitIdx));
diff --git a/libs/game_bethesda/src/games/fallout4/gamefallout4.cpp b/libs/game_bethesda/src/games/fallout4/gamefallout4.cpp
index 8939a3c..02d30cb 100644
--- a/libs/game_bethesda/src/games/fallout4/gamefallout4.cpp
+++ b/libs/game_bethesda/src/games/fallout4/gamefallout4.cpp
@@ -43,7 +43,7 @@ bool GameFallout4::init(IOrganizer* moInfo)
registerFeature(std::make_shared<Fallout4ScriptExtender>(this));
registerFeature(dataArchives);
- registerFeature(std::make_shared<GamebryoLocalSavegames>(this, "fallout4custom.ini"));
+ registerFeature(std::make_shared<GamebryoLocalSavegames>(this, "Fallout4Custom.ini"));
registerFeature(std::make_shared<Fallout4ModDataChecker>(this));
registerFeature(
std::make_shared<Fallout4ModDataContent>(m_Organizer->gameFeatures()));
@@ -139,15 +139,15 @@ void GameFallout4::initializeProfile(const QDir& path, ProfileSettings settings)
if (settings.testFlag(IPluginGame::CONFIGURATION)) {
if (settings.testFlag(IPluginGame::PREFER_DEFAULTS) ||
- !QFileInfo(myGamesPath() + "/fallout4.ini").exists()) {
- copyToProfile(gameDirectory().absolutePath(), path, "fallout4_default.ini",
- "fallout4.ini");
+ !QFileInfo(myGamesPath() + "/Fallout4.ini").exists()) {
+ copyToProfile(gameDirectory().absolutePath(), path, "Fallout4_default.ini",
+ "Fallout4.ini");
} else {
- copyToProfile(myGamesPath(), path, "fallout4.ini");
+ copyToProfile(myGamesPath(), path, "Fallout4.ini");
}
- copyToProfile(myGamesPath(), path, "fallout4prefs.ini");
- copyToProfile(myGamesPath(), path, "fallout4custom.ini");
+ copyToProfile(myGamesPath(), path, "Fallout4Prefs.ini");
+ copyToProfile(myGamesPath(), path, "Fallout4Custom.ini");
}
}
@@ -226,7 +226,7 @@ QString GameFallout4::gameNexusName() const
QStringList GameFallout4::iniFiles() const
{
- return {"fallout4.ini", "fallout4prefs.ini", "fallout4custom.ini"};
+ return {"Fallout4.ini", "Fallout4Prefs.ini", "Fallout4Custom.ini"};
}
QStringList GameFallout4::DLCPlugins() const