PCSX2 config file variables corrections

This commit is contained in:
icenine451 2023-05-15 10:58:32 -04:00
parent 5751691ce4
commit ad43349c25
3 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
config_file_format^pcsx2
target_file^$pcsx2qtconf
target_file^$pcsx2conf
defaults_file^$emuconfigs/PCSX2/PCSX2.ini
change^cheevos^Enabled^true^Achievements
change^cheevos^Username^$cheevos_username^Achievements

View file

@ -2,5 +2,5 @@
change^DSP^Backend^Pulse^primehack^$primehackconf
change^Settings^AspectRatio^1^primehack^$primehackgfxconf
# Update "ask on quit" and "save on quit" on supported emulators (PCSX2, Duckstation)
change^UI^ConfirmShutdown^false^pcsx2^$pcsx2qtconf
change^Main^ConfirmPowerOff^false^duckstation^$duckstationconf
change^UI^ConfirmShutdown^false^pcsx2^$pcsx2conf
change^Main^ConfirmPowerOff^false^duckstation^$duckstationconf

View file

@ -90,9 +90,9 @@ post_update() {
set_setting_value $rd_conf "borders_folder" "$rdhome/borders"
conf_read
mv -f "$pcsx2qtconf" "$pcsx2qtconf.bak"
generate_single_patch "$emuconfigs/PCSX2/PCSX2.ini" "$pcsx2qtconf.bak" "/var/config/PCSX2/inis/PCSX2-cheevos-upgrade.patch" pcsx2
deploy_single_patch "$emuconfigs/PCSX2/PCSX2.ini" "/var/config/PCSX2/inis/PCSX2-cheevos-upgrade.patch" "$pcsx2qtconf"
mv -f "$pcsx2conf" "$pcsx2conf.bak"
generate_single_patch "$emuconfigs/PCSX2/PCSX2.ini" "$pcsx2conf.bak" "/var/config/PCSX2/inis/PCSX2-cheevos-upgrade.patch" pcsx2
deploy_single_patch "$emuconfigs/PCSX2/PCSX2.ini" "/var/config/PCSX2/inis/PCSX2-cheevos-upgrade.patch" "$pcsx2conf"
rm -f "/var/config/PCSX2/inis/PCSX2-cheevos-upgrade.patch"
mv -f "$duckstationconf" "$duckstationconf.bak"
generate_single_patch "$emuconfigs/duckstation/settings.ini" "$duckstationconf.bak" "/var/config/duckstation/duckstation-cheevos-upgrade.patch" pcsx2