From 592b938c81b55d919a9a65ca086080ce4e98ee28 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Mon, 8 May 2023 14:39:48 -0400 Subject: [PATCH] Add example preset config --- .../retrodeck/reference_lists/presets/example.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emu-configs/defaults/retrodeck/reference_lists/presets/example.txt diff --git a/emu-configs/defaults/retrodeck/reference_lists/presets/example.txt b/emu-configs/defaults/retrodeck/reference_lists/presets/example.txt new file mode 100644 index 00000000..5891ec7c --- /dev/null +++ b/emu-configs/defaults/retrodeck/reference_lists/presets/example.txt @@ -0,0 +1,11 @@ +config_file_format^retroarch # This is the config file format, used in functions like get_setting_value and set_setting_value +target_file^$examplefile # This is the target file that should be updated. This will be the actively-used config file by whatever emulator is being set up. This can be a variable name as well! +defaults_file^$emuconfigs/retroarch/retroarch.cfg # This is the file that is referenced when presets are disabled. This should be the "shipped" config file for this emulator +change^cheevos^Enabled^true^Cheevos # This is a preset configuration line. The syntax is ^^^^ +change^borders^overlay_file^/var/config/retroarch/borders/snes.cfg # This is another preset configuration line, for the preset section called "borders" in retrodeck.cfg. Also, there is no defined "setting section" on this line + + +OTHER NOTES: +- The name of the presets configuration file for any given system MUST be _presets.cfg +- The is whatever name is given to this system in retrodeck.cfg, it is not tied to the actual emulator name. +- Whatever name is given to a system in retrodeck.cfg is how it will appear in the dialogs, so make it look nice. It also must match exactly in any preset sections it appears in!