RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How do I find out what the default values are for unset options in retroarch.cfg?

    Scheduled Pinned Locked Moved Help and Support
    retroarch.cfg
    9 Posts 4 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      crackofdawn
      last edited by

      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?

      edmaul69E caver01C 2 Replies Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @crackofdawn
        last edited by

        @crackofdawn everything you set in the individual configs override the all config. And individual game config override the systems config.

        C 1 Reply Last reply Reply Quote 0
        • caver01C
          caver01 @crackofdawn
          last edited by

          @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.

          My 4-player cocktail style cabinet built as a custom "roadcase"

          C 1 Reply Last reply Reply Quote 0
          • C
            crackofdawn @caver01
            last edited by

            @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.

            caver01C 1 Reply Last reply Reply Quote 0
            • C
              crackofdawn @edmaul69
              last edited by

              @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?

              caver01C 1 Reply Last reply Reply Quote 0
              • caver01C
                caver01 @crackofdawn
                last edited by

                @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.

                My 4-player cocktail style cabinet built as a custom "roadcase"

                1 Reply Last reply Reply Quote 0
                • caver01C
                  caver01 @crackofdawn
                  last edited by caver01

                  @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.

                  My 4-player cocktail style cabinet built as a custom "roadcase"

                  1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator
                    last edited by

                    if you want to find out what the default is, run the emulator and locate the option in the RGUI (select + retropad X)

                    1 Reply Last reply Reply Quote 1
                    • C
                      crackofdawn
                      last edited by

                      OK, that gives me some options to try, will see what I can find out with experimentation.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.