How to set different core options for multiple systems using same core?
-
I am using lr-gambatte for both Game Boy and Game Boy Color. Obviously when launched as a GB system I want the core to emulate GB hardware; when launched as GBC I want it to emulate GBC hardware. This can be set in the GUI under Quick Menu-Options-Emulated hardware. Changing it saves a line to /opt/retropie/configs/all/retroarch-core-options.cfg:
gambatte_gb_hwmode = "GB"
or
gambatte_gb_hwmode = "GBC"The problem with retroarch-core-options.cfg is there's only one such file for all of Retroarch, and it seems indifferent to which system is being launched. And as far as I can tell, all the system-specific config files, like /opt/retropie/configs/gbc/retroarch.cfg, cannot determine core options like this one... right? Copying this line in there does nothing.
I know I can make per-game core options ".opt" files in /opt/retropie/configs/all/retroarch/config/Gambatte, but to do that for every single GBC game is incredibly tedious. What I want is a way to override retroarch-core-options.cfg per system. (Or maybe a way to put a conditional into retroarch-core-options.cfg?)
This seems like it must be a pretty basic question, since having multiple systems that use the same core is built right into RetroPie — but I've searched and searched and truly cannot find the answer. Maybe I'm using the wrong search terms?
Thanks in advance for any help.
-
@bronto Oops. So, only five minutes later and, yup, indeed, I was being pretty dumb. Probably the reason nobody has ever asked or answered this question is because if I leave it set to GBC hardware across the board, the GB-only games will still use my chosen "custom" palette, so there's no real need to change the hardware emulation to "GB." Duh. I guess the question about per-system core options becomes completely academic. No need to answer. Thanks.
-
ok well i am going to reply anyways for anybody who wants to know how to do this. so if you only have 2 systems that use the same core options, you only need to do this for one system as the other will use the default core options location. so say you want gb and gbc to use different core options, copy the file retroarch-core-options.cfg in "/opt/retropie/configs/all/" into "/opt/retropie/configs/gb/" . now open up /opt/retropie/configs/gb/retroarch.cfg and add this line:
core_options_path = "/opt/retropie/configs/gb/retroarch-core-options.cfg"
now the gb will use the new retroarch-core-options .cfg and gbc will use the original one.
-
@edmaul69 Thanks so much! Now that I know how, I'm gonna do that after all, so that I can change some other options too. And I suspect I'll be using it for other systems in the future. I really appreciate the help!
-
@bronto im using it for playstation. For games that need analog controls i am creating their own individual config files, but they point to the new core options. That way i dont have to keep changing from standard and analog controls. I use it for gb and gbc as well. I have a super gameboy section that is both together using overlay borders that were from the super gameboy. That way it looks as much like super gameboy as possible. But i like playing gameboy games in green too.
-
Guys
Could i use something similar to use 2 different bezels ofr gb/gbc as at the minute i am doing it per core but both are using the same bezel :(
thanks
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.