[Core config] Override Core option with --appendconfig

I’ve tried all the day to override a core option with appendconfig but it doesn’t work. My goal is to launch genesis plus gx core with pal option for pal game (with default the game is launched in ntsc if the game is multi-region).

I’ve creatd a option file to override the option core corresponding to this :slight_smile: genesis_plus_gx_opt_over_region_eur.cfg

The file contains this :

genesis_plus_gx_region_detect = "pal"

When i launch retroarch the file is correclty found as i can see in debug log :

[INFO] [Config]: loading config from: E:\Emu\Programs\RetroArch\config\genesis_plus_gx\genesis_plus_gx.cfg.
[INFO] Config: appending config "E:\Emu\Programs\RetroArch\config\genesis_plus_gx\genesis_plus_gx_opt_over_region_jap.cfg"
[INFO] Loading dynamic libretro core from: "E:\Emu\Programs\RetroArch\cores\genesis_plus_gx_libretro.dll"
[INFO] [overrides] no core-specific overrides found at E:\Emu\Programs\RetroArch\config\Genesis Plus GX\Genesis Plus GX.cfg.
[INFO] [overrides] no game-specific overrides found at E:\Emu\Programs\RetroArch\config\Genesis Plus GX\Sonic The Hedgehog (JAP).cfg.
[INFO] Shaders: preset directory: E:\Emu\Programs\RetroArch\shaders\presets
[INFO] Shaders: no game-specific preset found at E:\Emu\Programs\RetroArch\shaders\presets\Genesis Plus GX\Sonic The Hedgehog (JAP).cgp.
[INFO] Shaders: no game-specific preset found at E:\Emu\Programs\RetroArch\shaders\presets\Genesis Plus GX\Sonic The Hedgehog (JAP).glslp.
[INFO] Shaders: no core-specific preset found at E:\Emu\Programs\RetroArch\shaders\presets\Genesis Plus GX\Genesis Plus GX.cgp.
[INFO] Shaders: no core-specific preset found at E:\Emu\Programs\RetroArch\shaders\presets\Genesis Plus GX\Genesis Plus GX.glslp.
[INFO] Environ SET_VARIABLES.
[INFO] Environ SET_CONTROLLER_INFO.

But later in log i can see that the core option is not overrided :

[INFO] Environ GET_VARIABLE genesis_plus_gx_region_detect:
[INFO]  auto

Did i do something wrong?

1 Like

Core options are a little different from typical RetroArch settings and I don’t think you can override them. However, there shouldn’t be any reason to do what you’re describing, as the ‘auto’ setting should do it… automatically. Is it not working?

I already think about that. The pb is i have to generate a specific file option with core_detect=pal for each eur games, ntsc-u for each us game etc … And I have several hundred games … I created a little launcher genesis.bat who have to launch retroarch with pal option if the file contains (EUR) in the filename, ntsc-u if the file contains (USA) in the filename etc … That’s the way all my roms are named.

The solution i found is : I created 3 differents configuration files in 3 differents directory.

Example for europe configuration :

genesis_plus_gx_eur (directory)

            |-------> genesis_plus_gx_eur.cfg

            |-------> core_options.cfg (with core_detect=pal)

When Retroarch load the confirguation file it automatically load the core_option in the same directory with the correct region setting assosiated with the configuration file.

Is the only solution i found without having to create core option file per game.