Per game overlays

So I have overlays working by having my configs in config/[core name] and Retroarch finds these just fine. But as I have started to add more systems I have noticed there is a possibility of conflict when having various consoles share the same directory. EG both Genesis and SMS using the Genesis_Plus_GX folder.

I have a feeling I’m missing something obvious here but is there a way to store these configs in a [consolename] folder instead? Are these names hard coded or can I use any name I choose and make Retroarch aware of it somewhere?

You can make a directory override config for those situations. IE. “config/Genesis Plus GX/Sega Master System.cfg”. That way any ROM loaded from the “Sega Master System” folder will use settings from that config.