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

    Runcommand won't save emulator changes

    Scheduled Pinned Locked Moved Help and Support
    runcommand
    9 Posts 4 Posters 655 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.
    • J
      JimmyFromTheBay
      last edited by JimmyFromTheBay

      All of a sudden, I can no longer change my custom emulator in Runcommand.

      For arcade games my default is lr-mame2003. If I want to run a game in something else like lr-fbneo, I can change it ONCE with the Runcommand menu and that'll work fine.

      But if I want to change it a second time, or remove that custom choice, Runcommand simply ignores me and continues running it in whatever I changed it to first. The only way to fix it is to manually edit EMULATORS.CFG in /opt/retropie/configs.hdmi/all.

      It's the same for all systems. I've had this issue occasionally in the past but it was always fixed by shutting down and rebooting. Now that no longer seems to be helping. Any ideas?

      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

      mituM 1 Reply Last reply Reply Quote 0
      • windgW
        windg
        last edited by windg

        Try to uninstall and reinstall
        runcommand .

        You can did this from here :

        RetroPie-Setup > Manage packages > Manage core packages .

        My English isn't at a good level.

        J 1 Reply Last reply Reply Quote 1
        • J
          JimmyFromTheBay @windg
          last edited by

          @windg Made no difference, sadly :(

          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @JimmyFromTheBay
            last edited by

            @JimmyFromTheBay said in Runcommand won't save emulator changes:

            The only way to fix it is to manually edit EMULATORS.CFG in /opt/retropie/configs.hdmi/all.

            This is not a standard RetroPie path - if you've installed some 3rd party scripts, then the changes may impact how runcommand works. What are the permissions on the emulators.cfg file ?

            J 1 Reply Last reply Reply Quote 0
            • J
              JimmyFromTheBay @mitu
              last edited by JimmyFromTheBay

              @mitu That's where it's always been, I didn't move it there. Although I have installed a bunch of RetroPie-Extra scripts recently. Permissions are:

              perms.jpg

              Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                @mitu That's where it's always been, I didn't move it there

                It's not RetroPie's default, so there's something extra you installed that altered the path.

                Permissions are ok, but there might be something in the file that trips runcommand. Open the file in a text editor and make sure that

                • there are no extraneous characters or lines
                • line endings are UNIX style and not Windows/DOS.
                J 1 Reply Last reply Reply Quote 0
                • J
                  JimmyFromTheBay @mitu
                  last edited by JimmyFromTheBay

                  @mitu said in Runcommand won't save emulator changes:

                  @mitu That's where it's always been, I didn't move it there
                  

                  It's not RetroPie's default, so there's something extra you installed that altered the path.

                  I'm perplexed by this, because I have a backup of my old Pi 3 that was made in June 2021 and the file is in the same place in that one too. I'm not aware of it ever having been anywhere else on any of my Pis. Where should it be? Would just moving it there help?

                  Permissions are ok, but there might be something in the file that trips runcommand. Open the file in a text editor and make sure that

                  • there are no extraneous characters or lines

                  I often (but not always) notice that if it's had a problem, there's a rogue blank line in the middle of the file, or half a line chopped off. I always fix those and previously that's sorted it.

                  • line endings are UNIX style and not Windows/DOS.

                  [blank expression]

                  Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sleve_mcdichael @JimmyFromTheBay
                    last edited by sleve_mcdichael

                    @JimmyFromTheBay said in Runcommand won't save emulator changes:

                    I'm perplexed by this, because I have a backup of my old Pi 3 that was made in June 2021 and the file is in the same place in that one too. I'm not aware of it ever having been anywhere else on any of my Pis. Where should it be? Would just moving it there help?

                    It looks like it's related to this which looks like it's a custom fork of RetroPie-Setup with separate configs for CRT and HDMI modes.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JimmyFromTheBay @sleve_mcdichael
                      last edited by JimmyFromTheBay

                      Hmm, looks like some freaky-ass invisible characters just got in there somehow. I cut-and-pasted the contents into a new Notepad file, saved it as a plain .TXT file, dropped that in in place of the old one and renamed it to .CFG and now it all seems fine.

                      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                      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.