mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Rework Configurator menus
This commit is contained in:
parent
29e6f8eb6d
commit
750df44487
|
@ -11,11 +11,12 @@ source /app/libexec/functions.sh
|
||||||
|
|
||||||
# Welcome
|
# Welcome
|
||||||
# - Move RetroDECK
|
# - Move RetroDECK
|
||||||
# - Change RetroArch Options
|
# - RetroArch Presets
|
||||||
# - Enable/Disable Rewind Setting
|
# - Change Rewind Setting
|
||||||
|
# - Enable/Disable Rewind
|
||||||
# - RetroAchivement Login
|
# - RetroAchivement Login
|
||||||
# - Login prompt
|
# - Login prompt
|
||||||
# - Change Standalone Emulator Options (Behind one-time power user warning dialog)
|
# - Emulator Options (Behind one-time power user warning dialog)
|
||||||
# - Launch RetroArch
|
# - Launch RetroArch
|
||||||
# - Launch Citra
|
# - Launch Citra
|
||||||
# - Launch Dolphin
|
# - Launch Dolphin
|
||||||
|
@ -27,10 +28,13 @@ source /app/libexec/functions.sh
|
||||||
# - Launch RPCS3
|
# - Launch RPCS3
|
||||||
# - Launch XEMU
|
# - Launch XEMU
|
||||||
# - Launch Yuzu
|
# - Launch Yuzu
|
||||||
# - Compress Games
|
# - Tools and Troubleshooting
|
||||||
# - Manual single-game selection
|
|
||||||
# - Troubleshooting Tools
|
|
||||||
# - Multi-file game check
|
# - Multi-file game check
|
||||||
|
# - Basic BIOS file check
|
||||||
|
# - Advanced BIOS file check
|
||||||
|
# - Compress Games
|
||||||
|
# - Manual single-game selection
|
||||||
|
# - Multi-file compression (CHD)
|
||||||
# - Reset
|
# - Reset
|
||||||
# - Reset Specific Emulator
|
# - Reset Specific Emulator
|
||||||
# - Reset RetroArch
|
# - Reset RetroArch
|
||||||
|
@ -234,9 +238,9 @@ configurator_power_user_warning_dialog() {
|
||||||
|
|
||||||
configurator_power_user_changes_dialog() {
|
configurator_power_user_changes_dialog() {
|
||||||
emulator=$(zenity --list \
|
emulator=$(zenity --list \
|
||||||
--title "RetroDECK Configurator Utility - Power User Options" --cancel-label="Back" \
|
--title "RetroDECK Configurator Utility - Emulator Options" --cancel-label="Back" \
|
||||||
--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 \
|
||||||
--text="Which emulator do you want to configure?" \
|
--text="Which emulator do you want to launch?" \
|
||||||
--hide-header \
|
--hide-header \
|
||||||
--column=emulator \
|
--column=emulator \
|
||||||
"RetroArch" \
|
"RetroArch" \
|
||||||
|
@ -625,7 +629,8 @@ configurator_troubleshooting_tools_dialog() {
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Multi-file game structure check" "Verify the proper structure of multi-file or multi-disc games" \
|
"Multi-file game structure check" "Verify the proper structure of multi-file or multi-disc games" \
|
||||||
"Basic BIOS file check" "Show a list of systems that BIOS files are found for" \
|
"Basic BIOS file check" "Show a list of systems that BIOS files are found for" \
|
||||||
"Advanced BIOS file check" "Show advanced information about common BIOS files" )
|
"Advanced BIOS file check" "Show advanced information about common BIOS files" \
|
||||||
|
"Compress Games" "Compress games to CHD format for systems that support it" )
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
|
|
||||||
|
@ -641,6 +646,10 @@ configurator_troubleshooting_tools_dialog() {
|
||||||
configurator_check_bios_files_advanced
|
configurator_check_bios_files_advanced
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Compress Games" )
|
||||||
|
configurator_compress_games_dialog
|
||||||
|
;;
|
||||||
|
|
||||||
"" ) # No selection made or Back button clicked
|
"" ) # No selection made or Back button clicked
|
||||||
configurator_welcome_dialog
|
configurator_welcome_dialog
|
||||||
;;
|
;;
|
||||||
|
@ -806,16 +815,15 @@ configurator_welcome_dialog() {
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" \
|
||||||
--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" \
|
||||||
"Move Files" "Move files between internal/SD card or to custom locations" \
|
"Move RetroDECK" "Move RetroDECK files between internal/SD card or to a custom location" \
|
||||||
"RetroArch Presets" "Change RetroArch presets, log into RetroAchievements etc" \
|
"RetroArch Presets" "Change RetroArch presets, log into RetroAchievements etc." \
|
||||||
"Emulator Options" "Launch and configure each emulators settings (for advanced users)" \
|
"Emulator Options" "Launch and configure each emulators settings (for advanced users)" \
|
||||||
"Compress Games" "Compress games to CHD format for systems that support it" \
|
"Tools and Troubleshooting" "Run RetroDECK troubleshooting tools for common issues" \
|
||||||
"Troubleshooting Tools" "Run RetroDECK troubleshooting tools for common issues" \
|
|
||||||
"Reset" "Reset specific parts or all of RetroDECK" )
|
"Reset" "Reset specific parts or all of RetroDECK" )
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
|
|
||||||
"Move Files" )
|
"Move RetroDECK" )
|
||||||
configurator_generic_dialog "This option will move the RetroDECK data folder (ROMs, saves, BIOS etc.) to a new location.\n\nPlease choose where to move the RetroDECK data folder."
|
configurator_generic_dialog "This option will move the RetroDECK data folder (ROMs, saves, BIOS etc.) to a new location.\n\nPlease choose where to move the RetroDECK data folder."
|
||||||
configurator_move_dialog
|
configurator_move_dialog
|
||||||
;;
|
;;
|
||||||
|
@ -828,11 +836,7 @@ configurator_welcome_dialog() {
|
||||||
configurator_power_user_warning_dialog
|
configurator_power_user_warning_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Compress Games" )
|
"Tools and Troubleshooting" )
|
||||||
configurator_compress_games_dialog
|
|
||||||
;;
|
|
||||||
|
|
||||||
"Troubleshooting Tools" )
|
|
||||||
configurator_troubleshooting_tools_dialog
|
configurator_troubleshooting_tools_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue