mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Add PPSSPP to savestate_auto_load preset
Add Citra/Dolphin/Duckstation/PCSX2/Primehack/Yuzu to ask_to_exit preset Reconfigure defaults and existing installs for proper preset functions Add Ask-to-Exit menu item in Configurator
This commit is contained in:
parent
8520c1db92
commit
9ea0403879
|
@ -474,8 +474,8 @@ Updater\update_on_close=false
|
||||||
Updater\update_on_close\default=true
|
Updater\update_on_close\default=true
|
||||||
calloutFlags=1
|
calloutFlags=1
|
||||||
calloutFlags\default=false
|
calloutFlags\default=false
|
||||||
confirmClose=true
|
confirmClose=false
|
||||||
confirmClose\default=true
|
confirmClose\default=false
|
||||||
displayTitleBars=true
|
displayTitleBars=true
|
||||||
displayTitleBars\default=true
|
displayTitleBars\default=true
|
||||||
enable_discord_presence=true
|
enable_discord_presence=true
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
config_file_format^citra
|
config_file_format^citra
|
||||||
target_file^$citraconf
|
target_file^$citraconf
|
||||||
defaults_file^$emuconfigs/citra/qt-config.ini
|
defaults_file^$emuconfigs/citra/qt-config.ini
|
||||||
|
change^ask_to_exit^confirmClose^true^UI
|
||||||
|
change^ask_to_exit^confirmClose\default^true^UI
|
||||||
change^nintendo_button_layout^profiles\1\button_a^button:1,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
change^nintendo_button_layout^profiles\1\button_a^button:1,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
||||||
change^nintendo_button_layout^profiles\1\button_b^button:0,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
change^nintendo_button_layout^profiles\1\button_b^button:0,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
||||||
change^nintendo_button_layout^profiles\1\button_x^button:3,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
change^nintendo_button_layout^profiles\1\button_x^button:3,engine:sdl,guid:030079f6de280000ff11000001000000,port:0^Controls
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
config_file_format^dolphin
|
||||||
|
target_file^$dolphinconf
|
||||||
|
defaults_file^$emuconfigs/dolphin/Dolphin.ini
|
||||||
|
change^ask_to_exit^ConfirmStop^True^Interface
|
|
@ -7,3 +7,4 @@ change^cheevos^Token^$cheevos_token^Cheevos
|
||||||
change^cheevos^LoginTimestamp^$cheevos_login_timestamp^Cheevos
|
change^cheevos^LoginTimestamp^$cheevos_login_timestamp^Cheevos
|
||||||
change^cheevos_hardcore^ChallengeMode^true^Cheevos
|
change^cheevos_hardcore^ChallengeMode^true^Cheevos
|
||||||
change^savestate_auto_save^SaveStateOnExit^true^Main
|
change^savestate_auto_save^SaveStateOnExit^true^Main
|
||||||
|
change^ask_to_exit^ConfirmPowerOff^true^Main
|
||||||
|
|
|
@ -7,3 +7,4 @@ change^cheevos^Token^$cheevos_token^Achievements
|
||||||
change^cheevos^LoginTimestamp^$cheevos_login_timestamp^Achievements
|
change^cheevos^LoginTimestamp^$cheevos_login_timestamp^Achievements
|
||||||
change^cheevos_hardcore^ChallengeMode^true^Achievements
|
change^cheevos_hardcore^ChallengeMode^true^Achievements
|
||||||
change^savestate_auto_save^SaveStateOnShutdown^true^EmuCore
|
change^savestate_auto_save^SaveStateOnShutdown^true^EmuCore
|
||||||
|
change^ask_to_exit^ConfirmShutdown^true^UI
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
config_file_format^ppsspp
|
||||||
|
target_file^$ppssppconf
|
||||||
|
defaults_file^$emuconfigs/PCSX2/PCSX2.ini
|
||||||
|
change^savestate_auto_load^AutoLoadSaveState^2^General
|
|
@ -0,0 +1,4 @@
|
||||||
|
config_file_format^primehack
|
||||||
|
target_file^$primehackconf
|
||||||
|
defaults_file^$emuconfigs/primehack/Dolphin.ini
|
||||||
|
change^ask_to_exit^ConfirmStop^True^Interface
|
|
@ -1,6 +1,8 @@
|
||||||
config_file_format^yuzu
|
config_file_format^yuzu
|
||||||
target_file^$yuzuconf
|
target_file^$yuzuconf
|
||||||
defaults_file^$emuconfigs/yuzu/qt-config.ini
|
defaults_file^$emuconfigs/yuzu/qt-config.ini
|
||||||
|
change^ask_to_exit^confirmClose^true^UI
|
||||||
|
change^ask_to_exit^confirmClose\default^true^UI
|
||||||
change^nintendo_button_layout^player_0_button_a^pad:0,button:0,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
change^nintendo_button_layout^player_0_button_a^pad:0,button:0,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
||||||
change^nintendo_button_layout^player_0_button_b^pad:0,button:1,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
change^nintendo_button_layout^player_0_button_b^pad:0,button:1,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
||||||
change^nintendo_button_layout^player_0_button_x^pad:0,button:2,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
change^nintendo_button_layout^player_0_button_x^pad:0,button:2,port:0,guid:03000000de280000ff11000001000000,engine:sdl^Controls
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
citra^Citra (Nintendo 3DS Standalone)
|
citra^Citra (Nintendo 3DS Standalone Emulator)
|
||||||
duckstation^Duckstation (Sony Playstation Standalone)
|
dolphin^Dolphin (GameCube / Wii Standalone Emulator)
|
||||||
|
duckstation^Duckstation (Sony Playstation Standalone Emulator)
|
||||||
gb^Nintendo GameBoy
|
gb^Nintendo GameBoy
|
||||||
gba^Nintendo GameBoy Advance
|
gba^Nintendo GameBoy Advance
|
||||||
gbc^Nintendo GameBoy Color
|
gbc^Nintendo GameBoy Color
|
||||||
genesis^Sega Genesis/Master System
|
genesis^Sega Genesis/Master System
|
||||||
gg^Sega GameGear
|
gg^Sega GameGear
|
||||||
n64^Nintendo 64
|
n64^Nintendo 64
|
||||||
pcsx2^PCSX2 (Sony Playstation 2 Standalone)
|
pcsx2^PCSX2 (Sony Playstation 2 Standalone Emulator)
|
||||||
|
ppsspp^PPSSPP (Sony PSP Standalone Emulator)
|
||||||
|
primehack^Primehack (Metroid Prime Standalone Emulator)
|
||||||
psx_ra^Sony Playstation (RetroArch Core)
|
psx_ra^Sony Playstation (RetroArch Core)
|
||||||
retroarch^RetroArch (Multi-emulator Frontend)
|
retroarch^RetroArch (Multi-emulator Frontend)
|
||||||
snes^Nintendo Super Nintendo
|
snes^Nintendo Super Nintendo
|
||||||
yuzu^Yuzu (Nintendo Switch Standalone)
|
yuzu^Yuzu (Nintendo Switch Standalone Emulator)
|
||||||
|
|
|
@ -64,9 +64,18 @@ snes=false
|
||||||
yuzu=false
|
yuzu=false
|
||||||
|
|
||||||
[savestate_auto_load]
|
[savestate_auto_load]
|
||||||
|
ppsspp=true
|
||||||
retroarch=true
|
retroarch=true
|
||||||
|
|
||||||
[savestate_auto_save]
|
[savestate_auto_save]
|
||||||
duckstation=true
|
duckstation=true
|
||||||
pcsx2=true
|
pcsx2=true
|
||||||
retroarch=true
|
retroarch=true
|
||||||
|
|
||||||
|
[ask_to_exit]
|
||||||
|
citra=false
|
||||||
|
dolphin=false
|
||||||
|
duckstation=false
|
||||||
|
pcsx2=false
|
||||||
|
primehack=false
|
||||||
|
yuzu=false
|
||||||
|
|
|
@ -51,7 +51,7 @@ DSPThread = True
|
||||||
Backend = Pulse
|
Backend = Pulse
|
||||||
EnableJIT = False
|
EnableJIT = False
|
||||||
[Interface]
|
[Interface]
|
||||||
ConfirmStop = True
|
ConfirmStop = False
|
||||||
CursorVisibility = 0
|
CursorVisibility = 0
|
||||||
OnScreenDisplayMessages = True
|
OnScreenDisplayMessages = True
|
||||||
PauseOnFocusLost = True
|
PauseOnFocusLost = True
|
||||||
|
|
|
@ -11,7 +11,7 @@ StartFullscreen = false
|
||||||
PauseOnFocusLoss = true
|
PauseOnFocusLoss = true
|
||||||
PauseOnMenu = true
|
PauseOnMenu = true
|
||||||
SaveStateOnExit = false
|
SaveStateOnExit = false
|
||||||
ConfirmPowerOff = true
|
ConfirmPowerOff = false
|
||||||
LoadDevicesFromSaveStates = true
|
LoadDevicesFromSaveStates = true
|
||||||
ApplyGameSettings = true
|
ApplyGameSettings = true
|
||||||
AutoLoadCheats = true
|
AutoLoadCheats = true
|
||||||
|
|
|
@ -12,7 +12,7 @@ Language = en_US
|
||||||
ForceLagSync2 = False
|
ForceLagSync2 = False
|
||||||
DiscordPresence = True
|
DiscordPresence = True
|
||||||
UISound = False
|
UISound = False
|
||||||
AutoLoadSaveState = 2
|
AutoLoadSaveState = 0
|
||||||
EnableCheats = False
|
EnableCheats = False
|
||||||
CwCheatRefreshRate = 77
|
CwCheatRefreshRate = 77
|
||||||
CwCheatScrollPosition = 0.000000
|
CwCheatScrollPosition = 0.000000
|
||||||
|
|
|
@ -48,7 +48,7 @@ DisableScreenSaver = True
|
||||||
KeepWindowOnTop = False
|
KeepWindowOnTop = False
|
||||||
Fullscreen = True
|
Fullscreen = True
|
||||||
[Interface]
|
[Interface]
|
||||||
ConfirmStop = True
|
ConfirmStop = False
|
||||||
LanguageCode =
|
LanguageCode =
|
||||||
OnScreenDisplayMessages = True
|
OnScreenDisplayMessages = True
|
||||||
PauseOnFocusLost = False
|
PauseOnFocusLost = False
|
||||||
|
|
|
@ -52,7 +52,6 @@ pretty_system_names_reference_list="$emuconfigs/defaults/retrodeck/reference_lis
|
||||||
citraconf="/var/config/citra-emu/qt-config.ini"
|
citraconf="/var/config/citra-emu/qt-config.ini"
|
||||||
duckstationconf="/var/config/duckstation/settings.ini"
|
duckstationconf="/var/config/duckstation/settings.ini"
|
||||||
melondsconf="/var/config/melonDS/melonDS.ini"
|
melondsconf="/var/config/melonDS/melonDS.ini"
|
||||||
ppssppconf="/var/config/ppsspp/PSP/SYSTEM/ppsspp.ini"
|
|
||||||
ryujinxconf="/var/config/Ryujinx/Config.json"
|
ryujinxconf="/var/config/Ryujinx/Config.json"
|
||||||
xemuconf="/var/config/xemu/xemu.toml"
|
xemuconf="/var/config/xemu/xemu.toml"
|
||||||
yuzuconf="/var/config/yuzu/qt-config.ini"
|
yuzuconf="/var/config/yuzu/qt-config.ini"
|
||||||
|
@ -86,6 +85,11 @@ pcsx2gsconf="/var/config/PCSX2/inis/GS.ini" # This file should be deprecated sin
|
||||||
pcsx2uiconf="/var/config/PCSX2/inis/PCSX2_ui.ini" # This file should be deprecated since moving to PCSX2-QT
|
pcsx2uiconf="/var/config/PCSX2/inis/PCSX2_ui.ini" # This file should be deprecated since moving to PCSX2-QT
|
||||||
pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini" # This file should be deprecated since moving to PCSX2-QT
|
pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini" # This file should be deprecated since moving to PCSX2-QT
|
||||||
|
|
||||||
|
# PPSSPPDL config files
|
||||||
|
|
||||||
|
ppssppconf="/var/config/ppsspp/PSP/SYSTEM/ppsspp.ini"
|
||||||
|
ppssppcontrolsconf="/var/config/ppsspp/PSP/SYSTEM/controls.ini"
|
||||||
|
|
||||||
# Primehack config files
|
# Primehack config files
|
||||||
|
|
||||||
primehackconf="/var/config/primehack/Dolphin.ini"
|
primehackconf="/var/config/primehack/Dolphin.ini"
|
||||||
|
|
|
@ -82,7 +82,9 @@ post_update() {
|
||||||
# - Move Dolphin and Primehack save folder names
|
# - Move Dolphin and Primehack save folder names
|
||||||
# - Move PPSSPP saves/states to appropriate folders
|
# - Move PPSSPP saves/states to appropriate folders
|
||||||
# - Set ESDE user themes folder directly
|
# - Set ESDE user themes folder directly
|
||||||
# - Disable auto-save/load in RA / PCSX2 / Duckstation for proper preset functionality
|
# - Disable auto-save/load in existing RA / PCSX2 / Duckstation installs for proper preset functionality
|
||||||
|
# - Disable ask-on-exit in existing Citra / Dolphin / Duckstation / Primehack installs for proper preset functionality
|
||||||
|
# - Disable auto-load-state in existing PPSSPP installs for proper preset functionality
|
||||||
# - Init Cemu as it is a new emulator
|
# - Init Cemu as it is a new emulator
|
||||||
|
|
||||||
update_rd_conf # Expand retrodeck.cfg to latest template
|
update_rd_conf # Expand retrodeck.cfg to latest template
|
||||||
|
@ -200,6 +202,14 @@ post_update() {
|
||||||
set_setting_value "$duckstationconf" "SaveStateOnExit" "false" "duckstation" "Main"
|
set_setting_value "$duckstationconf" "SaveStateOnExit" "false" "duckstation" "Main"
|
||||||
set_setting_value "$duckstationconf" "Enabled" "false" "duckstation" "Cheevos"
|
set_setting_value "$duckstationconf" "Enabled" "false" "duckstation" "Cheevos"
|
||||||
|
|
||||||
|
set_setting_value "$citraconf" "confirmClose" "false" "citra" "UI"
|
||||||
|
set_setting_value "$citraconf" "confirmClose\default" "false" "citra" "UI"
|
||||||
|
set_setting_value "$dolphinconf" "ConfirmStop" "False" "dolphin" "Interface"
|
||||||
|
set_setting_value "$duckstationconf" "ConfirmPowerOff" "false" "duckstation" "Main"
|
||||||
|
set_setting_value "$primehackconf" "ConfirmStop" "False" "primehack" "Interface"
|
||||||
|
|
||||||
|
set_setting_value "$ppssppconf" "AutoLoadSaveState" "0" "ppsspp" "General"
|
||||||
|
|
||||||
prepare_emulator "reset" "cemu"
|
prepare_emulator "reset" "cemu"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@ source /app/libexec/global.sh
|
||||||
# Welcome
|
# Welcome
|
||||||
# - Presets & Settings
|
# - Presets & Settings
|
||||||
# - Global: Presets & Settings
|
# - Global: Presets & Settings
|
||||||
# - Enable/Disable widescreen
|
# - Enable/Disable Widescreen
|
||||||
|
# - Enable/Disable Ask-To-Exit
|
||||||
# - RetroAchievements Login
|
# - RetroAchievements Login
|
||||||
# - RetroAchievements Logout
|
# - RetroAchievements Logout
|
||||||
# - Enable/Disable RetroAchievements Hardcore Mode
|
# - Enable/Disable RetroAchievements Hardcore Mode
|
||||||
|
@ -179,6 +180,7 @@ configurator_global_presets_and_settings_dialog() {
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Enable/Disable Widescreen" "Enable or disable widescreen in supported systems" \
|
"Enable/Disable Widescreen" "Enable or disable widescreen in supported systems" \
|
||||||
|
"Enable/Disable Ask-to-Exit" "Enable or disable emulators confirming when quitting in supported systems" \
|
||||||
"RetroAchievements Login" "Log into the RetroAchievements service in supported systems" \
|
"RetroAchievements Login" "Log into the RetroAchievements service in supported systems" \
|
||||||
"RetroAchievements Logout" "Disable RetroAchievements service in ALL supported systems" \
|
"RetroAchievements Logout" "Disable RetroAchievements service in ALL supported systems" \
|
||||||
"RetroAchievements Hardcore Mode" "Enable RetroAchievements hardcore mode (no cheats, rewind, save states etc.) in supported emulators" \
|
"RetroAchievements Hardcore Mode" "Enable RetroAchievements hardcore mode (no cheats, rewind, save states etc.) in supported emulators" \
|
||||||
|
@ -191,6 +193,11 @@ configurator_global_presets_and_settings_dialog() {
|
||||||
configurator_global_presets_and_settings_dialog
|
configurator_global_presets_and_settings_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Enable/Disable Ask-to-Exit" )
|
||||||
|
change_preset_dialog "ask_to_exit"
|
||||||
|
configurator_global_presets_and_settings_dialog
|
||||||
|
;;
|
||||||
|
|
||||||
"RetroAchievements Login" )
|
"RetroAchievements Login" )
|
||||||
local cheevos_creds=$(get_cheevos_token_dialog)
|
local cheevos_creds=$(get_cheevos_token_dialog)
|
||||||
if [[ ! "$cheevos_creds" == "failed" ]]; then
|
if [[ ! "$cheevos_creds" == "failed" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue