How to load a configuration file from the command line?

Good morning all !

I use RetroArch with a front end (Attract Mode). I use the PUAE Libretro core for the Amiga 1200 & for the Amiga CD32.

The problem is that the PUAE Libretro core is used for two different machines & the configuration file retroarch-core-options.cfg is not the same.

How to load a RetroArch configuration file in the front end ? The standard command is:

retroarch.exe -L c:\attract\emulators\retroarch\cores\puae_libretro.dll "[romfilename]"

How to load a configuration file in this command line ?

Thanks best regards !

1 Like

You can load different retroarch config files using the -c /path/to/config.cfg switch, but that doesn’t work for core options, unfortunately.

1 Like

Hello thank you for your reply :slight_smile:

Will it work to change the Amiga 1200 model to Amiga CD32 ? If not, how do you proceed ?

Greetings

I don’t think it will.

You could make an issue on the core’s github tracker and see what the developers suggest. They might be willing to split it into 2 separate cores or something. Dunno.

I have a temporary solution… I create a RetroArch folder for the Amiga 1200 & another folder (for example RetroArch CD32) for the Amiga CD32 with each their configuration file… but it takes double the size…

Next in Attract Mode I specify the RetroArch CD32 folder to launch the PUAE Libretro core for the Amiga CD32…

OK thanks greetings !

1 Like