From 38f0cdc585feb0418ab5c2f1fbb229d0519d3bca Mon Sep 17 00:00:00 2001 From: icenine451 Date: Thu, 25 May 2023 09:58:37 -0400 Subject: [PATCH 1/2] Change input texture install from cp to rsync --- tools/configurator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configurator.sh b/tools/configurator.sh index 76bf4c1a..c5e2a478 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -377,7 +377,7 @@ configurator_dolphin_input_textures_dialog() { set_setting_value $dolphingfxconf "HiresTextures" "True" dolphin ( mkdir "/var/data/dolphin-emu/Load/DynamicInputTextures" - cp -rf "/app/retrodeck/extras/DynamicInputTextures/*" "/var/data/dolphin-emu/Load/DynamicInputTextures/" + rsync -a "/app/retrodeck/extras/DynamicInputTextures/" "/var/data/dolphin-emu/Load/DynamicInputTextures/" ) | zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ @@ -415,7 +415,7 @@ configurator_primehack_input_textures_dialog() { set_setting_value $primehackgfxconf "HiresTextures" "True" primehack ( mkdir "/var/data/primehack/Load/DynamicInputTextures" - cp -rf "/app/retrodeck/extras/DynamicInputTextures/*" "/var/data/primehack/Load/DynamicInputTextures/" + rsync -a "/app/retrodeck/extras/DynamicInputTextures/" "/var/data/primehack/Load/DynamicInputTextures/" ) | zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ From 198e9886716e2416f222c5c580efed84b7940135 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Thu, 25 May 2023 10:05:54 -0400 Subject: [PATCH 2/2] Disable disabling "load custom textures" on input texture disable --- tools/configurator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configurator.sh b/tools/configurator.sh index c5e2a478..e7a71ca8 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -360,7 +360,7 @@ configurator_dolphin_input_textures_dialog() { if [ $? == 0 ] then - set_setting_value $dolphingfxconf "HiresTextures" "False" dolphin + # set_setting_value $dolphingfxconf "HiresTextures" "False" dolphin # TODO: Break out a preset for texture packs so this can be enabled and disabled independently. rm -rf "/var/data/dolphin-emu/Load/DynamicInputTextures" configurator_process_complete_dialog "disabling Dolphin custom input textures" else @@ -398,7 +398,7 @@ configurator_primehack_input_textures_dialog() { if [ $? == 0 ] then - set_setting_value $primehackgfxconf "HiresTextures" "False" primehack + # set_setting_value $primehackgfxconf "HiresTextures" "False" primehack # TODO: Break out a preset for texture packs so this can be enabled and disabled independently. rm -rf "/var/data/primehack/Load/DynamicInputTextures" configurator_process_complete_dialog "disabling Primehack custom input textures" else