opt files are for core options, so it doesn’t go in there. The easiest thing to do is to make one of them from the menu (that is, do your frame advance test, go to settings > latency and set it to the correct value, then go to quick menu > overrides and save a game override) and it will create the proper folders/files with the proper names so you have an example to copy. It’s going to be [config]/[corename]/[gamename].cfg.
Ok, I’ve got it working.
I have a couple of additional questions.
From the quick menu, I can access the latency faster, why do I have to go to the main menu?
If I have the latency disabled, load the game, modify the latency, and save the override, the file is created with two lines:
run_ahead_enabled = "true"
run_ahead_frames = "2"
Every time I load the game it is activated and deactivated automatically, even if it is deactivated in the main menu.
If I have the latency activated before loading the game, when I save the override, only the line run_ahead_frames = "2"
is created, but, it is not activated automatically, if previously, not
Which one do I do?
And my last question:
When I have the files, where do I upload them?
The settings are accessible from either place, so whatever’s most convenient.
You’ll want to leave out the run_ahead_enabled = “true” line so that people have the choice to enable it or not on their own.
github would be a good place. If you set up a repo for it, that will allow other people to clone your repo easily and it will easily integrate into our workflows for distribution if/when the time comes for that.
Thanks for your patience, I’m going to get “hands on” with that.
I thought we could have an option in the menu, or in the quick menu of each core, to activate automatically for each game that has those options. Otherwise, you have to enable latency and save the override for each game (which creates the line “true”), or enable latency in the main menu and have it active in all of them.
Sorry if I insist on the name, but placing the exact name for each game can be an unnecessary task.
If instead of loading each independent game “Super Mario World (USA)” you load only with the name “Super Mario World” and ignore the brackets, you would only have to make a single file, because in No-Intro Mario World are 8, but in Tosec are 700. And they all have the same lag. O_o
In arcade is similar, SF2 world warrior are like 100 and champion edition the same.
And if a new dump comes out, there will be no need to make the file.
Two mini bugs.
I activate Run-Ahead in the main menu, load the game and activate Run-Ahead, it does not load the preset. You must restart before loading the game and activating it.
If I have the value 1 in Run-Ahead, active or deactivated, it doesn’t matter. And in the game, I set to 1 and save the override. The config file is not saved with frames = “1”. It saves the line enabled = “true”. It assumes the value 1 by default and does not set it, that happens with any number.
I think they did a good job explaining what Run-Ahead was when it was implemented and launched and the same goes for when the RetroArch team implemented Pre-emptive Frames.