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

    SNES emulator creating garbage file

    Scheduled Pinned Locked Moved Help and Support
    snesretroarch
    10 Posts 2 Posters 2.3k 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.
    • Q
      qweta
      last edited by

      Every once in a while at startup of a game in the SNES emulator it will say "saved new file to ../snes/retroarch.cfg" and completely break all inputs. I have to restore the config to default and everything works fine again. It does not appear to be any game in particular and happens at random times. Here is a pastebin of the modified config. When restored its default and standard.

      Pastebin: http://pastebin.com/4efA8776

      Please help,

      Thank you

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

        I would like to see your "restored / default config" please also. If you update retropie-setup this should be fixed (but you will need to reset your configuration again) - it happens when the config doesn't end in a linefeed char - did you manually edit your config / or use the rp-video-manager tool ?

        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
        • Q
          qweta
          last edited by

          Here is the standard distro version: http://pastebin.com/SAUnHith

          To restore it i logged in and copied the retroarch.cfg.rp-dist over the retroarch.cfg.

          I have never manually edited the snes config file beyond this restore process.

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

            Strange, as I have been updated to reproduce this from the default configs. However the update of retropie-setup should still fix it, even though I don't know the cause in this case.

            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
            • BuZzB
              BuZz administrators @qweta
              last edited by BuZz

              @qweta Please could I see your /opt/retropie/configs/all/retroarch.cfg file also. In case it's connected to have save config on exit enabled.

              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
              • Q
                qweta
                last edited by

                all/retroarch.cfg: http://pastebin.com/TDgfEdaX

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

                  Thanks. Can't see any issues there. I will try reproducing the issue though with the 4.0 image.

                  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
                  • Q
                    qweta
                    last edited by

                    Thank you. For your reference I am on the latest retropie with a Raspberry Pi 3. It does not happen all the time, but tend to happen the first time you play the snes after booting. Thats not 100% though. I dislike intermittent problems, but this seems like one.

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

                      Did you start from a fresh 4.0 image ?

                      The problem I am aware of happened if the system/retroarch.cfg didn't end in a linefeed (eg an incomplete line). In that case you get the following

                      1. Load game (all is fine)
                      2. on Exit runcommand edits the config to make sure #include is at the end (which is a workaround for another problem). If the file didn't end in a linefeed you get it appended to the existing last line.
                      3. Load again and this time the #include isn't working as it's part of another line not its own line. RetroArch overwrites the file.

                      However I have been unable to reproduce this with a default install as the config does end in a linefeed, so it's currently a mystery - there must be another bug somewhere that either causes the config file to end up without a complete last line, or something else is going on.

                      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
                      • Q
                        qweta
                        last edited by

                        It was a fresh install yes. I did have the xbox driver installed for a while but then ended up uninstalling that reverting back to xpad. I dont know if that helps. As far as editing config files directly the only thing i did was in relation to that xbox driver to flip A and B for nes games. That has been reverted with no ill affects i can tell and like i said the xbox driver uninstalled and reverted back to xpad.

                        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.