Per rom core-config file?
-
Hi all,
Apologies if this is a naive question, but I've searched for a while and couldn't find much on this topic.
I have been using per rom config files for some specific items, and it works great - mostly getting overlays per rom.
Now, there are a few more recent roms that actually benefit from a change in the core settings for mame2003 - specifically, changing the Frameskip option to a higher value (5 seems to do the trick).
However, when I do so, it seems to change the value and save it in the
/opt/retropie/configs/all/retroarch-core-options.cfg
file, which then means every rom I play has Frameskip set to 5. I wouldn't be as upset if it was interpreted as "if frameskip drops, feel free to skip up to 5 per cycle", but it rather seems that it constantly skips 5 frames or something.
The option in particular is
mame2003-frameskip = "5"
in that file, but if I add it to the
<rom name>.zip.cfg file where I store the overlay overrides, it doesn't seem to affect the values set in the core configuration file.
Is there a way for me to have this value set only for a specific rom? Is there a specific location I should add it to? Or is there a separate frameskip setting that I can edit in the per-rom config file?
Thanks!
-
@pjft use the retroarch GUI (select + X retropad button), quick menu > options > change frameskip > scroll to top and choose 'create 'gamename' options file' (or something to that effect)
it will then create a .opt file in the
/configs/mame-libretro/MAME 2003/
folder, or somewhere around there. -
@dankcushions You, sir, rock!
That is indeed correct. The option to save the per-rom file, though, only shows up if in the Settings > Configuration menu we have enabled the rom-specific option, and/or the per-core settings option.
After I did that, the option to save that file came up and worked like a charm.
Thank you! Have a great day.
-
@dankcushions said in Per rom core-config file?:
@pjft use the retroarch GUI (select + X retropad button), quick menu > options > change frameskip > scroll to top and choose 'create 'gamename' options file' (or something to that effect)
it will then create a .opt file in the
/configs/mame-libretro/MAME 2003/
folder, or somewhere around there.I have a question about this and the way Retroarch saves settings. I've read the documentation but I'm just looking for clarification.
In my example, I enabled cheats by editing the /opt/retropie/configs/all/retroarch-core-options.cfg file. I only did this so that I could try Defender using the 8-way game pad method (which configured automatically once cheats are enabled) as follows:
https://retropie.org.uk/forum/topic/13835/how-to-get-8-way-4-way-joystick-controls-in-defender-and-stargateHowever, after enabling the cheats, I noticed that it also enabled a cheat automatically in Track & Field (the 'Run Like Hell' button). I don't know how many other cheats might be enabled this way, so I turned off cheats and instead, created an .opt file just for Defender from the Retroarch 'Quick Menu' GUI.
That works perfectly, except I noticed that if I enabled cheats from the 'Quick Menu' for any other game (temporarily - without creating an .opt file for that rom), the setting still saves/writes to the retroarch-core-options.cfg file automatically and it's set that way next time I open any rom.
So, is it normal behavior for Retroarch to auto-save those particular settings from the GUI (even if I don't have Retroarch setup to save any settings on exit)? I'm guessing these settings are treated different than those used for shaders etc. where I would use the .cfg overrides?
-
@rumblinbuffalo I use cheats the odd time in mame2003 for eh... testing purposes. Yeah, testing.
I have never observed cheats being persistent after an exit. Are you by any chance creating a save state that you are re-loading when you go back into the game?
Because if you create a save state it will obviously save every setting that was in place when that save state was created. -
@jonnykesh No. I don't have any save states or anything enabled. I'm using a fairly basic image.
I just checked again to verify. I do not save any configuration on exit. If I'm playing a game, and pop onto the RGUI Quick Menu and enable cheats, then use them (for 'testing purposes' as you say :) and exit the rom, they'll still be turned on in the next rom I open. If I examine the retroarch-core-config.cfg file, it will be updated to the setting I last used. It is definitely remembering the setting on exit. But if I added a shader or changed the aspect ratio on the RGUI, those settings won't save automatically.
-
@rumblinbuffalo That sounds like a pain. It also sounds like you aren't using the official image.
Are you using the official image from the website? -
@jonnykesh Absolutely. I've never used anything but an official image.
And fairly basic in that on my current setup I haven't made very many changes to the basic image (no shaders etc).
-
@jonnykesh I just double-checked on my second build (which is pretty much a stock image 4.3) and it had the same behavior.
The cheats "enabled" setting persists after closing retroarch.
This is not a major deal - I can simply shut it off once I've made my .opt file for any given game, I just found it interesting that those options would save when others don't and wanted to understand how/why it worked.
-
I should have looked harder. I found the clarification I needed. Those options are saved by design:
BuZz
@BoogieMan core options are managed from RGUI (select+x) -> quick menu -> options
They are saved automatically.
See documentation for more info on using retroarch.
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.