mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45: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
|
||||
calloutFlags=1
|
||||
calloutFlags\default=false
|
||||
confirmClose=true
|
||||
confirmClose\default=true
|
||||
confirmClose=false
|
||||
confirmClose\default=false
|
||||
displayTitleBars=true
|
||||
displayTitleBars\default=true
|
||||
enable_discord_presence=true
|
||||
|
@ -532,4 +532,4 @@ citra_username=RetroDECK
|
|||
enable_telemetry=false
|
||||
enable_telemetry\default=false
|
||||
web_api_url=https://api.citra-emu.org
|
||||
web_api_url\default=true
|
||||
web_api_url\default=true
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
config_file_format^citra
|
||||
target_file^$citraconf
|
||||
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_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
|
||||
|
|
|
@ -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_hardcore^ChallengeMode^true^Cheevos
|
||||
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_hardcore^ChallengeMode^true^Achievements
|
||||
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
|
||||
target_file^$yuzuconf
|
||||
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_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
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
citra^Citra (Nintendo 3DS Standalone)
|
||||
duckstation^Duckstation (Sony Playstation Standalone)
|
||||
citra^Citra (Nintendo 3DS Standalone Emulator)
|
||||
dolphin^Dolphin (GameCube / Wii Standalone Emulator)
|
||||
duckstation^Duckstation (Sony Playstation Standalone Emulator)
|
||||
gb^Nintendo GameBoy
|
||||
gba^Nintendo GameBoy Advance
|
||||
gbc^Nintendo GameBoy Color
|
||||
genesis^Sega Genesis/Master System
|
||||
gg^Sega GameGear
|
||||
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)
|
||||
retroarch^RetroArch (Multi-emulator Frontend)
|
||||
snes^Nintendo Super Nintendo
|
||||
yuzu^Yuzu (Nintendo Switch Standalone)
|
||||
yuzu^Yuzu (Nintendo Switch Standalone Emulator)
|
||||
|
|
|
@ -64,9 +64,18 @@ snes=false
|
|||
yuzu=false
|
||||
|
||||
[savestate_auto_load]
|
||||
ppsspp=true
|
||||
retroarch=true
|
||||
|
||||
[savestate_auto_save]
|
||||
duckstation=true
|
||||
pcsx2=true
|
||||
retroarch=true
|
||||
|
||||
[ask_to_exit]
|
||||
citra=false
|
||||
dolphin=false
|
||||
duckstation=false
|
||||
pcsx2=false
|
||||
primehack=false
|
||||
yuzu=false
|
||||
|
|
|
@ -51,10 +51,10 @@ DSPThread = True
|
|||
Backend = Pulse
|
||||
EnableJIT = False
|
||||
[Interface]
|
||||
ConfirmStop = True
|
||||
ConfirmStop = False
|
||||
CursorVisibility = 0
|
||||
OnScreenDisplayMessages = True
|
||||
PauseOnFocusLost = True
|
||||
ShowActiveTitle = True
|
||||
UseBuiltinTitleDatabase = True
|
||||
UsePanicHandlers = True
|
||||
UsePanicHandlers = True
|
||||
|
|
|
@ -11,7 +11,7 @@ StartFullscreen = false
|
|||
PauseOnFocusLoss = true
|
||||
PauseOnMenu = true
|
||||
SaveStateOnExit = false
|
||||
ConfirmPowerOff = true
|
||||
ConfirmPowerOff = false
|
||||
LoadDevicesFromSaveStates = true
|
||||
ApplyGameSettings = true
|
||||
AutoLoadCheats = true
|
||||
|
|
|
@ -12,7 +12,7 @@ Language = en_US
|
|||
ForceLagSync2 = False
|
||||
DiscordPresence = True
|
||||
UISound = False
|
||||
AutoLoadSaveState = 2
|
||||
AutoLoadSaveState = 0
|
||||
EnableCheats = False
|
||||
CwCheatRefreshRate = 77
|
||||
CwCheatScrollPosition = 0.000000
|
||||
|
@ -515,4 +515,4 @@ VRRescaleHUD = True
|
|||
VRCameraPitch = 0
|
||||
VRHeadRotationScale = 5.000000
|
||||
VRHeadRotationEnabled = False
|
||||
VRHeadRotationSmoothing = False
|
||||
VRHeadRotationSmoothing = False
|
||||
|
|
|
@ -48,7 +48,7 @@ DisableScreenSaver = True
|
|||
KeepWindowOnTop = False
|
||||
Fullscreen = True
|
||||
[Interface]
|
||||
ConfirmStop = True
|
||||
ConfirmStop = False
|
||||
LanguageCode =
|
||||
OnScreenDisplayMessages = True
|
||||
PauseOnFocusLost = False
|
||||
|
|
|
@ -52,7 +52,6 @@ pretty_system_names_reference_list="$emuconfigs/defaults/retrodeck/reference_lis
|
|||
citraconf="/var/config/citra-emu/qt-config.ini"
|
||||
duckstationconf="/var/config/duckstation/settings.ini"
|
||||
melondsconf="/var/config/melonDS/melonDS.ini"
|
||||
ppssppconf="/var/config/ppsspp/PSP/SYSTEM/ppsspp.ini"
|
||||
ryujinxconf="/var/config/Ryujinx/Config.json"
|
||||
xemuconf="/var/config/xemu/xemu.toml"
|
||||
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
|
||||
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
|
||||
|
||||
primehackconf="/var/config/primehack/Dolphin.ini"
|
||||
|
|
|
@ -82,7 +82,9 @@ post_update() {
|
|||
# - Move Dolphin and Primehack save folder names
|
||||
# - Move PPSSPP saves/states to appropriate folders
|
||||
# - 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
|
||||
|
||||
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" "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"
|
||||
fi
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@ source /app/libexec/global.sh
|
|||
# Welcome
|
||||
# - Presets & Settings
|
||||
# - Global: Presets & Settings
|
||||
# - Enable/Disable widescreen
|
||||
# - Enable/Disable Widescreen
|
||||
# - Enable/Disable Ask-To-Exit
|
||||
# - RetroAchievements Login
|
||||
# - RetroAchievements Logout
|
||||
# - 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 \
|
||||
--column="Choice" --column="Action" \
|
||||
"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 Logout" "Disable RetroAchievements service in ALL supported systems" \
|
||||
"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
|
||||
;;
|
||||
|
||||
"Enable/Disable Ask-to-Exit" )
|
||||
change_preset_dialog "ask_to_exit"
|
||||
configurator_global_presets_and_settings_dialog
|
||||
;;
|
||||
|
||||
"RetroAchievements Login" )
|
||||
local cheevos_creds=$(get_cheevos_token_dialog)
|
||||
if [[ ! "$cheevos_creds" == "failed" ]]; then
|
||||
|
|
Loading…
Reference in a new issue