• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Cannot change back emulator choice per Rom (solved)

Scheduled Pinned Locked Moved Help and Support
runcommandemulator
26 Posts 12 Posters 9.6k 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
    mitu Global Moderator @benjiman
    last edited by 26 May 2018, 10:56

    @benjiman What is the problem that you're having ? Simply deleting one file might not solve it.

    B 2 Replies Last reply 26 May 2018, 21:11 Reply Quote 0
    • B
      benjiman @mitu
      last edited by 26 May 2018, 21:11

      @mitu I chose a default ROM and find out it won't run the game so I try and change it and it sticks as the 1st choice. I also can't remove ROM choice. No error messages just stays as it is.

      1 Reply Last reply Reply Quote 0
      • B
        benjiman @mitu
        last edited by 26 May 2018, 23:43

        @mitu example if I chose mame4all I hope it works cause it's Going to stay on that ROM. I have heard it can be caused by adding games through a flash drive which is how I do it.

        M 1 Reply Last reply 27 May 2018, 04:39 Reply Quote 0
        • M
          mitu Global Moderator @benjiman
          last edited by mitu 27 May 2018, 04:39

          @benjiman No, that's not the way you get a problem emulators.cfg. The file you seek is in /opt/retropie/configs/<system>/, where <system> is the name of the ROM folder.
          If you used the arcade folder for your ROMs and then, through the Runcommand launch menu, changed the emulator for a certain ROM, the file that keeps this setting is /opt/retropie/configs/arcade/emulators.cfg. To change its permissions (which seems to be your problem), you can exit Emulationstation, then run from the command prompt (using a keyboard):

          sudo chown pi:pi /opt/retropie/configs/arcade/emulators.cfg
          chmod +w /opt/retropie/configs/arcade/emulators.cfg
          
          B 1 Reply Last reply 27 May 2018, 06:18 Reply Quote 0
          • B
            benjiman @mitu
            last edited by 27 May 2018, 06:18

            @mitu thank you 😎

            1 Reply Last reply Reply Quote 0
            • A
              ahmad8mk
              last edited by 1 Aug 2018, 14:24

              I did exactly what mentioned here but still can`t change anything any ideas. @mitu

              1 Reply Last reply Reply Quote 0
              • A
                ahmad8mk
                last edited by 1 Aug 2018, 16:20

                I did exactly what mentioned here but still can`t change anything any ideas @Aryetis

                1 Reply Last reply Reply Quote 0
                • J
                  jackyracer
                  last edited by 26 May 2019, 13:58

                  Hi! I know this entry is pretty old, but since I got the same problem very frequently I thought I‘d share what I did to resolve it, so people who might still find this thread during their search (as I did recently) have something else to try ;) On my system it really seemed to be the configs/all/emulators.cfg file which somehow got corrupted, and weird stuff got written to the file. If I opened it with notepad I simply had to remove that weird stuff/characters and then was able to write to the file again (e.g. changing an emulator for a specific rom, remove it again and so on). So I didn’t have to delete the file and lose all settings/changes made to it (which can be quite a lot). Maybe this helps someone...

                  K P 2 Replies Last reply 24 Nov 2019, 22:34 Reply Quote 2
                  • K
                    Knuckles78 @jackyracer
                    last edited by 24 Nov 2019, 22:34

                    @jackyracer Complete new here having the exact same problem. Could you possibly help guide me to that config file?

                    M 1 Reply Last reply 25 Nov 2019, 04:35 Reply Quote 0
                    • M
                      mitu Global Moderator @Knuckles78
                      last edited by 25 Nov 2019, 04:35

                      @Knuckles78 The emulators.cfg file is in \\retropie\configs\all - if you're using File Shares to access your RetroPie installation.

                      K 1 Reply Last reply 18 Dec 2019, 13:17 Reply Quote 0
                      • K
                        Knuckles78 @mitu
                        last edited by Knuckles78 18 Dec 2019, 13:17

                        @mitu I’m accessing it directly through terminal. I attempted the “sudo chown pi:pi etc.” you posted previously with no results. Like I said I’m pretty new and I think it’s because I’m still in Raspberry pi rather than RetroPie inside terminal.

                        M 1 Reply Last reply 18 Dec 2019, 13:33 Reply Quote 0
                        • M
                          mitu Global Moderator @Knuckles78
                          last edited by 18 Dec 2019, 13:33

                          @Knuckles78 said in Cannot change back emulator choice per Rom (solved):

                          I’m accessing it directly through terminal

                          The command I posted works from the terminal. How are you checking that it's working/not-working ? You can list the rights on the file(s) by running:

                          ls -l /opt/retropie/configs/all/emulators.cfg
                          ls -l /opt/retropie/configs/arcade/emulators.cfg
                          
                          I 1 Reply Last reply 18 Dec 2019, 14:21 Reply Quote 0
                          • I
                            IanDaemon @mitu
                            last edited by IanDaemon 18 Dec 2019, 14:21

                            @mitu I love the ls -l look. Aside from requiring the extra characters that more than double the command's length it's great. XD

                            • 5 Favorite Arcade Games in MAME
                            • Cocktail Cabinet Games
                            • Check out the MAME RoW
                            C 1 Reply Last reply 18 Dec 2019, 18:03 Reply Quote 0
                            • C
                              Clyde @IanDaemon
                              last edited by 18 Dec 2019, 18:03

                              @IanDaemon -l stands for "long listing format" with good reason. :)

                              1 Reply Last reply Reply Quote 0
                              • M
                                mitu Global Moderator
                                last edited by 18 Dec 2019, 18:07

                                You can always create 'aliases' for long commands. ll is a oft used alias of ls -l, just add

                                alias ll='ls -l'
                                

                                to your $HOME/.profile and that's all.
                                Favorite command today apt-get moo.

                                K I 2 Replies Last reply 18 Dec 2019, 21:49 Reply Quote 1
                                • K
                                  Knuckles78 @mitu
                                  last edited by 18 Dec 2019, 21:49

                                  @mitu Thank you for your help, I’m taking the time to understand more about the terminal. I watched a few videos, and now what you’re saying to me makes more sense.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    IanDaemon @mitu
                                    last edited by IanDaemon 19 Dec 2019, 01:30

                                    @mitu /home/pi/.profile doesn't exist. Is that a file with no extension that I create?
                                    Nevermind. I just found the file. I couldn't see it in the terminal, but PIXEL could see itl

                                    • 5 Favorite Arcade Games in MAME
                                    • Cocktail Cabinet Games
                                    • Check out the MAME RoW
                                    C 1 Reply Last reply 19 Dec 2019, 12:34 Reply Quote 0
                                    • C
                                      Clyde @IanDaemon
                                      last edited by Clyde 19 Dec 2019, 12:34

                                      @IanDaemon Files and directories with a leading . in their names are hidden in Linux. To list them with ls, use the -a ("all") option. You can combine multiple options after one -, so -l -a becomes -la (or -al, as the order doesn't matter for options without further parameters).

                                      ls -la
                                      

                                      edit: You could create another alias to list hidden files, e.g. lla:

                                      alias lla='ls -la'
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • I
                                        IanDaemon
                                        last edited by 19 Dec 2019, 15:04

                                        Cool! Thanks. In PIXEL/LXDE I have "show hidden files/folders" enabled as my default.

                                        • 5 Favorite Arcade Games in MAME
                                        • Cocktail Cabinet Games
                                        • Check out the MAME RoW
                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pxs @jackyracer
                                          last edited by 26 Apr 2021, 12:00

                                          @jackyracer You are a lifesaver, just had this issue and found this, Thankyou

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]