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 10.0k 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.
    • mituM
      mitu Global Moderator @Knuckles78
      last edited by

      @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 Reply Quote 0
      • K
        Knuckles78 @mitu
        last edited by Knuckles78

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

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

          @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
          
          IanDaemonI 1 Reply Last reply Reply Quote 0
          • IanDaemonI
            IanDaemon @mitu
            last edited by IanDaemon

            @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
            ClydeC 1 Reply Last reply Reply Quote 0
            • ClydeC
              Clyde @IanDaemon
              last edited by

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

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

                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 IanDaemonI 2 Replies Last reply Reply Quote 1
                • K
                  Knuckles78 @mitu
                  last edited by

                  @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
                  • IanDaemonI
                    IanDaemon @mitu
                    last edited by IanDaemon

                    @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
                    ClydeC 1 Reply Last reply Reply Quote 0
                    • ClydeC
                      Clyde @IanDaemon
                      last edited by Clyde

                      @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
                      • IanDaemonI
                        IanDaemon
                        last edited by

                        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

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

                          1 Reply Last reply Reply Quote 0
                          • D
                            declure
                            last edited by declure

                            Solution worked (remove the corrupted file) but since I have way too many mame games with different emulators set, this isn't really a file I wanted to "start over" on. Similar to what @jackyracer already said, just wanted to remind and confirm that in my case I copied the bad file to my computer, still opened (thank goodness), copied and pasted the cfg text from the old file to a newly made emulators.cfg file, and moved the new file back over in the same place. All fixed, but most importantly, no damage done.

                            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.