How do I find out what the default values are for unset options in retroarch.cfg?
-
Example: audio_driver, audio_out_rate, etc.
I have some custom setttings here that fixed some sound issues on the SNES emulator but I have issues with Final Fantasy Tactics (its super slow and the audio is terrible) and I'm wanting to dry setting some psx-specific settings. But, I have no idea what the value is for these fields when they're unset so I can manually set them as a starting point (the retroarch.cfg file doesn't specify what the default is for any of these fields if they're not set, and googling for the last 3 hours has turned up nothing).
Also, is there any way to override the 'all' config for a specific emulator without manually specifying a value? By that I mean, can I set up a retroarch.cfg psx file that overrides audio_driver to be 'default' instead of having to manually specify something? If I set audio_driver="" will that override the alsathread audio driver I have set in retroarch.cfg with whatever retroarch thinks should be the default?
-
@crackofdawn everything you set in the individual configs override the all config. And individual game config override the systems config.
-
@crackofdawn said in How do I find out what the default values are for unset options in retroarch.cfg?:
audio_driver
This seems to be pretty well documented inside.
-
@caver01 Nothing in that link shows what the default audio_driver is. It only specifies all the possible options, not which one will actually be used if the value isn't set at all.
-
@edmaul69 said in How do I find out what the default values are for unset options in retroarch.cfg?:
@crackofdawn everything you set in the individual configs override the all config. And individual game config override the systems config.
Yes, understood, but is it possible to 'unset' a value in an individual config? Example:
the 'all' retroarch.cfg file has:
audio_driver = alsathread
If I want to completely unset that to use the 'default' audio_driver (whatever that may be, I can't seem to find that info anywhere), is it possible to do (in psx/retroarch.cfg) something like:
audio_driver = ""
to unset the alsathread setting only for the psx emulator?
-
@crackofdawn That's true, but it does say that the setting itself is an override, so to set the default, you would put a # in front of the line to comment it out.
But you are right, in doing so, you don't know what audio driver is getting used. You could probably ask someone on the RetroArch forums or dive into the code to find out.
-
@crackofdawn Because a driver is specified in the /all/retroarch.cfg, explicitly, you cannot "unspecify" by leaving that line commented on system-specific (or ROM-specific) configs. You could comment it out though for testing, and if it helps, just setup a rom-specific config and cycle through the driver options until you find the one that works.
-
if you want to find out what the default is, run the emulator and locate the option in the RGUI (select + retropad X)
-
OK, that gives me some options to try, will see what I can find out with experimentation.
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.