mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
Getting rid of the "Separate Update Folder" option (#2719)
* real fix this time ? * should be all of it * Update en_US.ts
This commit is contained in:
parent
064c3161c3
commit
faae1218fa
5 changed files with 0 additions and 35 deletions
|
@ -75,7 +75,6 @@ static double trophyNotificationDuration = 6.0;
|
||||||
static bool useUnifiedInputConfig = true;
|
static bool useUnifiedInputConfig = true;
|
||||||
static bool overrideControllerColor = false;
|
static bool overrideControllerColor = false;
|
||||||
static int controllerCustomColorRGB[3] = {0, 0, 255};
|
static int controllerCustomColorRGB[3] = {0, 0, 255};
|
||||||
static bool separateupdatefolder = false;
|
|
||||||
static bool compatibilityData = false;
|
static bool compatibilityData = false;
|
||||||
static bool checkCompatibilityOnStartup = false;
|
static bool checkCompatibilityOnStartup = false;
|
||||||
static std::string trophyKey;
|
static std::string trophyKey;
|
||||||
|
@ -352,10 +351,6 @@ void setVkGuestMarkersEnabled(bool enable) {
|
||||||
vkGuestMarkers = enable;
|
vkGuestMarkers = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getSeparateUpdateEnabled() {
|
|
||||||
return separateupdatefolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool getCompatibilityEnabled() {
|
bool getCompatibilityEnabled() {
|
||||||
return compatibilityData;
|
return compatibilityData;
|
||||||
}
|
}
|
||||||
|
@ -517,10 +512,6 @@ void setIsMotionControlsEnabled(bool use) {
|
||||||
isMotionControlsEnabled = use;
|
isMotionControlsEnabled = use;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setSeparateUpdateEnabled(bool use) {
|
|
||||||
separateupdatefolder = use;
|
|
||||||
}
|
|
||||||
|
|
||||||
void setCompatibilityEnabled(bool use) {
|
void setCompatibilityEnabled(bool use) {
|
||||||
compatibilityData = use;
|
compatibilityData = use;
|
||||||
}
|
}
|
||||||
|
@ -781,7 +772,6 @@ void load(const std::filesystem::path& path) {
|
||||||
isAutoUpdate = toml::find_or<bool>(general, "autoUpdate", false);
|
isAutoUpdate = toml::find_or<bool>(general, "autoUpdate", false);
|
||||||
isAlwaysShowChangelog = toml::find_or<bool>(general, "alwaysShowChangelog", false);
|
isAlwaysShowChangelog = toml::find_or<bool>(general, "alwaysShowChangelog", false);
|
||||||
isSideTrophy = toml::find_or<std::string>(general, "sideTrophy", "right");
|
isSideTrophy = toml::find_or<std::string>(general, "sideTrophy", "right");
|
||||||
separateupdatefolder = toml::find_or<bool>(general, "separateUpdateEnabled", false);
|
|
||||||
compatibilityData = toml::find_or<bool>(general, "compatibilityEnabled", false);
|
compatibilityData = toml::find_or<bool>(general, "compatibilityEnabled", false);
|
||||||
checkCompatibilityOnStartup =
|
checkCompatibilityOnStartup =
|
||||||
toml::find_or<bool>(general, "checkCompatibilityOnStartup", false);
|
toml::find_or<bool>(general, "checkCompatibilityOnStartup", false);
|
||||||
|
@ -977,7 +967,6 @@ void save(const std::filesystem::path& path) {
|
||||||
data["General"]["autoUpdate"] = isAutoUpdate;
|
data["General"]["autoUpdate"] = isAutoUpdate;
|
||||||
data["General"]["alwaysShowChangelog"] = isAlwaysShowChangelog;
|
data["General"]["alwaysShowChangelog"] = isAlwaysShowChangelog;
|
||||||
data["General"]["sideTrophy"] = isSideTrophy;
|
data["General"]["sideTrophy"] = isSideTrophy;
|
||||||
data["General"]["separateUpdateEnabled"] = separateupdatefolder;
|
|
||||||
data["General"]["compatibilityEnabled"] = compatibilityData;
|
data["General"]["compatibilityEnabled"] = compatibilityData;
|
||||||
data["General"]["checkCompatibilityOnStartup"] = checkCompatibilityOnStartup;
|
data["General"]["checkCompatibilityOnStartup"] = checkCompatibilityOnStartup;
|
||||||
data["Input"]["cursorState"] = cursorState;
|
data["Input"]["cursorState"] = cursorState;
|
||||||
|
@ -1150,7 +1139,6 @@ void setDefaultValues() {
|
||||||
emulator_language = "en_US";
|
emulator_language = "en_US";
|
||||||
m_language = 1;
|
m_language = 1;
|
||||||
gpuId = -1;
|
gpuId = -1;
|
||||||
separateupdatefolder = false;
|
|
||||||
compatibilityData = false;
|
compatibilityData = false;
|
||||||
checkCompatibilityOnStartup = false;
|
checkCompatibilityOnStartup = false;
|
||||||
backgroundImageOpacity = 50;
|
backgroundImageOpacity = 50;
|
||||||
|
|
|
@ -35,7 +35,6 @@ bool getPlayBGM();
|
||||||
int getBGMvolume();
|
int getBGMvolume();
|
||||||
bool getisTrophyPopupDisabled();
|
bool getisTrophyPopupDisabled();
|
||||||
bool getEnableDiscordRPC();
|
bool getEnableDiscordRPC();
|
||||||
bool getSeparateUpdateEnabled();
|
|
||||||
bool getCompatibilityEnabled();
|
bool getCompatibilityEnabled();
|
||||||
bool getCheckCompatibilityOnStartup();
|
bool getCheckCompatibilityOnStartup();
|
||||||
int getBackgroundImageOpacity();
|
int getBackgroundImageOpacity();
|
||||||
|
@ -105,7 +104,6 @@ void setNeoMode(bool enable);
|
||||||
void setUserName(const std::string& type);
|
void setUserName(const std::string& type);
|
||||||
void setUpdateChannel(const std::string& type);
|
void setUpdateChannel(const std::string& type);
|
||||||
void setChooseHomeTab(const std::string& type);
|
void setChooseHomeTab(const std::string& type);
|
||||||
void setSeparateUpdateEnabled(bool use);
|
|
||||||
void setGameInstallDirs(const std::vector<std::filesystem::path>& dirs_config);
|
void setGameInstallDirs(const std::vector<std::filesystem::path>& dirs_config);
|
||||||
void setAllGameInstallDirs(const std::vector<GameInstallDir>& dirs_config);
|
void setAllGameInstallDirs(const std::vector<GameInstallDir>& dirs_config);
|
||||||
void setSaveDataPath(const std::filesystem::path& path);
|
void setSaveDataPath(const std::filesystem::path& path);
|
||||||
|
|
|
@ -318,7 +318,6 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices,
|
||||||
// General
|
// General
|
||||||
ui->consoleLanguageGroupBox->installEventFilter(this);
|
ui->consoleLanguageGroupBox->installEventFilter(this);
|
||||||
ui->emulatorLanguageGroupBox->installEventFilter(this);
|
ui->emulatorLanguageGroupBox->installEventFilter(this);
|
||||||
ui->separateUpdatesCheckBox->installEventFilter(this);
|
|
||||||
ui->showSplashCheckBox->installEventFilter(this);
|
ui->showSplashCheckBox->installEventFilter(this);
|
||||||
ui->discordRPCCheckbox->installEventFilter(this);
|
ui->discordRPCCheckbox->installEventFilter(this);
|
||||||
ui->userName->installEventFilter(this);
|
ui->userName->installEventFilter(this);
|
||||||
|
@ -450,8 +449,6 @@ void SettingsDialog::LoadValuesFromConfig() {
|
||||||
QString translatedText_FullscreenMode =
|
QString translatedText_FullscreenMode =
|
||||||
screenModeMap.key(QString::fromStdString(Config::getFullscreenMode()));
|
screenModeMap.key(QString::fromStdString(Config::getFullscreenMode()));
|
||||||
ui->displayModeComboBox->setCurrentText(translatedText_FullscreenMode);
|
ui->displayModeComboBox->setCurrentText(translatedText_FullscreenMode);
|
||||||
ui->separateUpdatesCheckBox->setChecked(
|
|
||||||
toml::find_or<bool>(data, "General", "separateUpdateEnabled", false));
|
|
||||||
ui->gameSizeCheckBox->setChecked(toml::find_or<bool>(data, "GUI", "loadGameSizeEnabled", true));
|
ui->gameSizeCheckBox->setChecked(toml::find_or<bool>(data, "GUI", "loadGameSizeEnabled", true));
|
||||||
ui->showSplashCheckBox->setChecked(toml::find_or<bool>(data, "General", "showSplash", false));
|
ui->showSplashCheckBox->setChecked(toml::find_or<bool>(data, "General", "showSplash", false));
|
||||||
QString translatedText_logType = logTypeMap.key(QString::fromStdString(Config::getLogType()));
|
QString translatedText_logType = logTypeMap.key(QString::fromStdString(Config::getLogType()));
|
||||||
|
@ -600,8 +597,6 @@ void SettingsDialog::updateNoteTextEdit(const QString& elementName) {
|
||||||
text = tr("Console Language:\\nSets the language that the PS4 game uses.\\nIt's recommended to set this to a language the game supports, which will vary by region.");
|
text = tr("Console Language:\\nSets the language that the PS4 game uses.\\nIt's recommended to set this to a language the game supports, which will vary by region.");
|
||||||
} else if (elementName == "emulatorLanguageGroupBox") {
|
} else if (elementName == "emulatorLanguageGroupBox") {
|
||||||
text = tr("Emulator Language:\\nSets the language of the emulator's user interface.");
|
text = tr("Emulator Language:\\nSets the language of the emulator's user interface.");
|
||||||
} else if (elementName == "separateUpdatesCheckBox") {
|
|
||||||
text = tr("Enable Separate Update Folder:\\nEnables installing game updates into a separate folder for easy management.\\nThis can be manually created by adding the extracted update to the game folder with the name \"CUSA00000-UPDATE\" where the CUSA ID matches the game's ID.");
|
|
||||||
} else if (elementName == "showSplashCheckBox") {
|
} else if (elementName == "showSplashCheckBox") {
|
||||||
text = tr("Show Splash Screen:\\nShows the game's splash screen (a special image) while the game is starting.");
|
text = tr("Show Splash Screen:\\nShows the game's splash screen (a special image) while the game is starting.");
|
||||||
} else if (elementName == "discordRPCCheckbox") {
|
} else if (elementName == "discordRPCCheckbox") {
|
||||||
|
@ -760,7 +755,6 @@ void SettingsDialog::UpdateSettings() {
|
||||||
Config::setVblankDiv(ui->vblankSpinBox->value());
|
Config::setVblankDiv(ui->vblankSpinBox->value());
|
||||||
Config::setDumpShaders(ui->dumpShadersCheckBox->isChecked());
|
Config::setDumpShaders(ui->dumpShadersCheckBox->isChecked());
|
||||||
Config::setNullGpu(ui->nullGpuCheckBox->isChecked());
|
Config::setNullGpu(ui->nullGpuCheckBox->isChecked());
|
||||||
Config::setSeparateUpdateEnabled(ui->separateUpdatesCheckBox->isChecked());
|
|
||||||
Config::setLoadGameSizeEnabled(ui->gameSizeCheckBox->isChecked());
|
Config::setLoadGameSizeEnabled(ui->gameSizeCheckBox->isChecked());
|
||||||
Config::setShowSplash(ui->showSplashCheckBox->isChecked());
|
Config::setShowSplash(ui->showSplashCheckBox->isChecked());
|
||||||
Config::setDebugDump(ui->debugDump->isChecked());
|
Config::setDebugDump(ui->debugDump->isChecked());
|
||||||
|
|
|
@ -135,13 +135,6 @@
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>10</number>
|
<number>10</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="separateUpdatesCheckBox">
|
|
||||||
<property name="text">
|
|
||||||
<string>Enable Separate Update Folder</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="showSplashCheckBox">
|
<widget class="QCheckBox" name="showSplashCheckBox">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
|
@ -1474,10 +1474,6 @@
|
||||||
<source>Emulator</source>
|
<source>Emulator</source>
|
||||||
<translation>Emulator</translation>
|
<translation>Emulator</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Enable Separate Update Folder</source>
|
|
||||||
<translation>Enable Separate Update Folder</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Default tab when opening settings</source>
|
<source>Default tab when opening settings</source>
|
||||||
<translation>Default tab when opening settings</translation>
|
<translation>Default tab when opening settings</translation>
|
||||||
|
@ -1742,10 +1738,6 @@
|
||||||
<source>Emulator Language:\nSets the language of the emulator's user interface.</source>
|
<source>Emulator Language:\nSets the language of the emulator's user interface.</source>
|
||||||
<translation>Emulator Language:\nSets the language of the emulator's user interface.</translation>
|
<translation>Emulator Language:\nSets the language of the emulator's user interface.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Enable Separate Update Folder:\nEnables installing game updates into a separate folder for easy management.\nThis can be manually created by adding the extracted update to the game folder with the name "CUSA00000-UPDATE" where the CUSA ID matches the game's ID.</source>
|
|
||||||
<translation>Enable Separate Update Folder:\nEnables installing game updates into a separate folder for easy management.\nThis can be manually created by adding the extracted update to the game folder with the name "CUSA00000-UPDATE" where the CUSA ID matches the game's ID.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Show Splash Screen:\nShows the game's splash screen (a special image) while the game is starting.</source>
|
<source>Show Splash Screen:\nShows the game's splash screen (a special image) while the game is starting.</source>
|
||||||
<translation>Show Splash Screen:\nShows the game's splash screen (a special image) while the game is starting.</translation>
|
<translation>Show Splash Screen:\nShows the game's splash screen (a special image) while the game is starting.</translation>
|
||||||
|
|
Loading…
Add table
Reference in a new issue