From d90c0b51314fdf13ec9b84a0c6c03cbc94fdb324 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 26 Sep 2024 21:08:31 +0900 Subject: [PATCH] ES_DE: adding custom systems support --- config/retrodeck/helper_files/es_systems.xml | 19 +++++++++++++++++++ .../retrodeck/reference_lists/features.json | 4 ++++ functions/prepare_component.sh | 1 + 3 files changed, 24 insertions(+) create mode 100644 config/retrodeck/helper_files/es_systems.xml diff --git a/config/retrodeck/helper_files/es_systems.xml b/config/retrodeck/helper_files/es_systems.xml new file mode 100644 index 00000000..1adae1a6 --- /dev/null +++ b/config/retrodeck/helper_files/es_systems.xml @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/config/retrodeck/reference_lists/features.json b/config/retrodeck/reference_lists/features.json index 44dfad7b..1a2cb6ab 100644 --- a/config/retrodeck/reference_lists/features.json +++ b/config/retrodeck/reference_lists/features.json @@ -168,6 +168,10 @@ "ryujinx_firmware": { "filename": "Install-firmware-through-Ryujinx.txt", "location": "$bios_folder/switch/firmware" + }, + "custom_systems": { + "filename": "es_systems.xml", + "location": "$rdhome/ES-DE/custom_systems/es_systems.xml" } }, "compression_targets": { diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index 03765a58..dea53a16 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -66,6 +66,7 @@ prepare_component() { set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings" dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" dir_prep "$rdhome/ES-DE/collections" "/var/config/ES-DE/collections" + dir_prep "$rdhome/ES-DE/custom_systems" "/var/config/ES-DE/custom_systems" dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs" log d "Generating roms system folders" #es-de --home /var/config/ES-DE --create-system-dirs