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

    Config getting overwritten randomally

    Scheduled Pinned Locked Moved Help and Support
    config
    4 Posts 2 Posters 890 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.
    • M
      matthewj
      last edited by matthewj

      After I load a rom a few times I see at the bottom in yellow text "saving new config /opt/retropie/configs/mame-libretro/retroarch.cfg" then none of my controls work.

      I'm have config_save_on_exit set to false in /opt/retropie/configs/all/retroarch.cfg if that makes a difference.

      This is getting frustrating, why is the config getting overwritten. I have everything set the way I want it. How can I stop this?

      Pi Model: 3
      RetroPie Version Used: 4.0.1
      Built From: floobs attractmode v5 image
      USB Devices connected: none
      Controller used: recalbox gpio driver
      Emulator: mame-libretro

      After a few reboots when i start a game(any game) I see the retropie background (which you normally don't when selecting a game) then i see "saving new config /opt/retropie/configs/mame-libretro/retroarch.cfg". them my controller doesn't work and the game runs slowly.

      When i look in that file after i see that the line "#include "/opt/retropie/configs/all/retroarch.cfg"" has been removed.

      Thanks.

      -Matt

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @matthewj
        last edited by

        @matthewj look up! 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

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • M
          matthewj
          last edited by

          My bad. I'll revise.

          1 Reply Last reply Reply Quote 0
          • M
            matthewj
            last edited by

            update

            When I look in /opt/retropie/configs/mame-libretro/retroarch.cfg i see


            Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

            input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
            config_save_on_exit = "false"
            video_smooth = "true"
            video_shader_enable = "true"
            video_shader = "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature.glslp"

            ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

            when it should look like this when its working


            input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
            config_save_on_exit = "false"
            video_smooth = "true"
            video_shader_enable = "true"
            video_shader = "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature.glslp"

            #include "/opt/retropie/configs/all/retroarch.cfg"

            Not sure what is writing jiberish to the config. Is there a way somewhere that I can run a command before the rom is loaded, ie." cp retroarch.cfg.good retroarch.cfg "? That fixes my problem as well.

            -Matthew

            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.