mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
Add latest binding-icons
Add current controller profile Update finit, post_update and Configurator for controller profile
This commit is contained in:
parent
a422e0451c
commit
ac87ac06a0
10655
emu-configs/defaults/retrodeck/RetroDECK_controller_config.vdf
Normal file
10655
emu-configs/defaults/retrodeck/RetroDECK_controller_config.vdf
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1960,7 +1960,7 @@ finit() {
|
||||||
fi
|
fi
|
||||||
if [[ "$finit_options_choices" =~ (rd_controller_profile|Enable All) ]]; then
|
if [[ "$finit_options_choices" =~ (rd_controller_profile|Enable All) ]]; then
|
||||||
rsync -a "/app/retrodeck/binding-icons/" "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/"
|
rsync -a "/app/retrodeck/binding-icons/" "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/"
|
||||||
# TODO move controller profile file to where it needs to go
|
cp -f "$emuconfigs/retrodeck/defaults/RetroDECK_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add packaged extras, after the ROMS folder has been initialized
|
# Add packaged extras, after the ROMS folder has been initialized
|
||||||
|
|
|
@ -75,6 +75,7 @@ post_update() {
|
||||||
# - Prepackaged DOOM!
|
# - Prepackaged DOOM!
|
||||||
# - Update RPCS3 vfs file contents. migrate from old location if needed
|
# - Update RPCS3 vfs file contents. migrate from old location if needed
|
||||||
# - Disable ESDE update checks for existing installs
|
# - Disable ESDE update checks for existing installs
|
||||||
|
# - Offer user option of installing custom controller config
|
||||||
# - Notify user of default PSX core change
|
# - Notify user of default PSX core change
|
||||||
|
|
||||||
mkdir -p "$mods_folder"
|
mkdir -p "$mods_folder"
|
||||||
|
@ -115,6 +116,12 @@ post_update() {
|
||||||
|
|
||||||
set_setting_value $es_settings "ApplicationUpdaterFrequency" "never" "es_settings"
|
set_setting_value $es_settings "ApplicationUpdaterFrequency" "never" "es_settings"
|
||||||
|
|
||||||
|
configurator_generic_dialog "As part of this update, we are offering a new official RetroDECK controller profile!\nIt is an optional component that helps you get the most out of RetroDECK with a new in-game radial menu for unified hotkeys across emulators.\n\nThe files need to be installed outside of the normal ~/retrodeck folder, so we wanted your permission before proceeding.\nIf you decide to not install the profile now, it can always be done later through the Configurator.\n\nThe files will be installed at the following shared Steam locations:\n\n$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/\n$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf"
|
||||||
|
if [[ $(configurator_generic_question_dialog "RetroDECK Official Controller Profile" "Would you like to install the official RetroDECK controller profile?") == "true" ]]; then
|
||||||
|
rsync -a "/app/retrodeck/binding-icons/" "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/"
|
||||||
|
cp -f "$emuconfigs/retrodeck/defaults/RetroDECK_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf"
|
||||||
|
fi
|
||||||
|
|
||||||
configurator_generic_dialog "As part of this update, the default PSX emulator has changed!\n\nIf you are currently playing PSX games and have not changed the default emulator on your own, you will need to switch back to the previous default emulator (Swanstation) for your existing saves to work.\nIf you have changed the default emulator yourself, please change it again to your previous choice.\n\nSee the wiki or Discord if you have more questions on this change!"
|
configurator_generic_dialog "As part of this update, the default PSX emulator has changed!\n\nIf you are currently playing PSX games and have not changed the default emulator on your own, you will need to switch back to the previous default emulator (Swanstation) for your existing saves to work.\nIf you have changed the default emulator yourself, please change it again to your previous choice.\n\nSee the wiki or Discord if you have more questions on this change!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
BIN
res/binding-icons/RD-emblem-encrypted-unlocked.png
Normal file
BIN
res/binding-icons/RD-emblem-encrypted-unlocked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 292 B |
|
@ -40,6 +40,7 @@ source /app/libexec/functions.sh
|
||||||
# - Multi-file compression (CHD)
|
# - Multi-file compression (CHD)
|
||||||
# - Download ES themes
|
# - Download ES themes
|
||||||
# - Download PS3 firmware
|
# - Download PS3 firmware
|
||||||
|
# - Install RetroDECK controller profile
|
||||||
# - Backup RetroDECK userdata
|
# - Backup RetroDECK userdata
|
||||||
# - Reset
|
# - Reset
|
||||||
# - Reset Specific Emulator
|
# - Reset Specific Emulator
|
||||||
|
@ -814,6 +815,7 @@ configurator_tools_and_troubleshooting_dialog() {
|
||||||
"Compress Games" "Compress games to CHD format for systems that support it" \
|
"Compress Games" "Compress games to CHD format for systems that support it" \
|
||||||
"Download/Update Themes" "Download new themes for RetroDECK or update existing ones" \
|
"Download/Update Themes" "Download new themes for RetroDECK or update existing ones" \
|
||||||
"Download PS3 Firmware" "Download PS3 firmware for use with the RPCS3 emulator" \
|
"Download PS3 Firmware" "Download PS3 firmware for use with the RPCS3 emulator" \
|
||||||
|
"Install RetroDECK controller profile" "Install the custom RetroDECK controller profile and required icons" \
|
||||||
"Backup RetroDECK Userdata" "Compress important RetroDECK user data folders" )
|
"Backup RetroDECK Userdata" "Compress important RetroDECK user data folders" )
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
|
@ -856,6 +858,16 @@ configurator_tools_and_troubleshooting_dialog() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Install RetroDECK controller profile" )
|
||||||
|
configurator_generic_dialog "Starting with version 0.7.0b, we are offering a new official RetroDECK controller profile!\nIt is an optional component that helps you get the most out of RetroDECK with a new in-game radial menu for unified hotkeys across emulators.\n\nThe files need to be installed outside of the normal ~/retrodeck folder, so we wanted your permission before proceeding.\n\nThe files will be installed at the following shared Steam locations:\n\n$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/\n$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf"
|
||||||
|
if [[ $(configurator_generic_question_dialog "RetroDECK Official Controller Profile" "Would you like to install the official RetroDECK controller profile?") == "true" ]]; then
|
||||||
|
rsync -a "/app/retrodeck/binding-icons/" "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/"
|
||||||
|
cp -f "$emuconfigs/retrodeck/defaults/RetroDECK_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf"
|
||||||
|
fi
|
||||||
|
configurator_generic_dialog "The RetroDECK controller profile install is complete.\nSee the Wiki for more details on how to use it to its fullest potential!"
|
||||||
|
configurator_tools_and_troubleshooting_dialog
|
||||||
|
;;
|
||||||
|
|
||||||
"Backup RetroDECK Userdata" )
|
"Backup RetroDECK Userdata" )
|
||||||
configurator_generic_dialog "This tool will compress important RetroDECK userdata (basically everything except the ROMs folder) into a zip file.\n\nThis process can take several minutes, and the resulting zip file can be found in the ~/retrodeck/backups folder."
|
configurator_generic_dialog "This tool will compress important RetroDECK userdata (basically everything except the ROMs folder) into a zip file.\n\nThis process can take several minutes, and the resulting zip file can be found in the ~/retrodeck/backups folder."
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue