ES_DE: adding custom systems support

This commit is contained in:
XargonWan 2024-09-26 21:08:31 +09:00
parent d777c782b5
commit d90c0b5131
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!--
This is an example of a custom system, you can add as many as you want by following this template.
More info on the official ES-DE Documentation:
https://gitlab.com/es-de/emulationstation-de/-/blob/master/USERGUIDE.md#game-system-customizations
-->
<systemList>
<!--
<system>
<name>mysystem</name>
<fullname>An example fake system</fullname>
<path>%ROMPATH%/mysystem</path>
<extension>.bin .BIN .chd .CHD .cue .CUE .iso .ISO .7z .7Z .zip .ZIP</extension>
<command label="MyEmulator">%EMULATOR_SOMETHING% %ROM%</command>
<platform>mysystem</platform>
<theme>mysystem</theme>
</system>
-->
</systemList>

View file

@ -168,6 +168,10 @@
"ryujinx_firmware": { "ryujinx_firmware": {
"filename": "Install-firmware-through-Ryujinx.txt", "filename": "Install-firmware-through-Ryujinx.txt",
"location": "$bios_folder/switch/firmware" "location": "$bios_folder/switch/firmware"
},
"custom_systems": {
"filename": "es_systems.xml",
"location": "$rdhome/ES-DE/custom_systems/es_systems.xml"
} }
}, },
"compression_targets": { "compression_targets": {

View file

@ -66,6 +66,7 @@ prepare_component() {
set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings" 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/gamelists" "/var/config/ES-DE/gamelists"
dir_prep "$rdhome/ES-DE/collections" "/var/config/ES-DE/collections" 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" dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs"
log d "Generating roms system folders" log d "Generating roms system folders"
#es-de --home /var/config/ES-DE --create-system-dirs #es-de --home /var/config/ES-DE --create-system-dirs