• 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

Can´t change emulators - Tried a command and now its weird.

Scheduled Pinned Locked Moved Help and Support
commandsraspberry pi3helppermissions
13 Posts 3 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.
  • L
    lesk @mitu
    last edited by lesk 30 Apr 2018, 20:25

    @mitu
    Thanks for the reply!

    I have used the Runcommand launch menu. It was when I was trying to change emulators for arcade games that I discovered that, whenever I choose an emulator for the rom it gave me that permission denied message in the bottom.

    That's when I searched this forum for a solution. Found the thread I linked to. It gave a list of commands to try, and I tried them.
    Now it's all messed up.

    Unfortunately, I've spent a lot of hours setting up Retropie the way I want it. Fortunately, I made a backup yesterday before this happen.

    But. If I go use my backup, I will still not be able to change emulators. Any idéa why?

    M 1 Reply Last reply 1 May 2018, 03:24 Reply Quote 0
    • M
      mitu Global Moderator @lesk
      last edited by 1 May 2018, 03:24

      @lesk said in Can´t change emulators - Tried a command and now its weird.:

      But. If I go use my backup, I will still not be able to change emulators. Any idéa why?

      Post the error you get when changing the emulators and it's not working and we'll try to figure it out.

      L 1 Reply Last reply 1 May 2018, 10:23 Reply Quote 0
      • L
        lesk @mitu
        last edited by 1 May 2018, 10:23

        @mitu
        I get this error:
        /opt/retropie/configs/all/<bunch of letters that seems random> permission denied

        It appears for like a half second on the bottom left screen when I try changing emulators.

        To make things even weirder... It stopped when I used this command: sudo chown -R pi:pi /opt/retropie/configs. But only when I choose default emulator for all roms. Changing video setting for emulator, or changing specific emulator for rom still gives me that message.

        M 1 Reply Last reply 1 May 2018, 11:28 Reply Quote 0
        • M
          mitu Global Moderator @lesk
          last edited by mitu 5 Jan 2018, 12:35 1 May 2018, 11:28

          @lesk There's no such thing as default emulator for all ROMs, you can only set a default emulator for a system or a ROM since there is no single emulator to run every type of ROMs. What exactly are you trying to accomplish ? Be specific - which ROM, which system, etc. ?

          L 1 Reply Last reply 1 May 2018, 13:30 Reply Quote 0
          • L
            lesk @mitu
            last edited by 1 May 2018, 13:30

            @mitu said in Can´t change emulators - Tried a command and now its weird.:

            @lesk There's no such thing as default emulator for all ROMs, you can only set a default emulator for a system or a ROM since there is no single emulator to run every type of ROMs. What exactly are you trying to accomplish ? Be specific - which ROM, which system, etc. ?

            Well in the Runcommand launch window it says - Default emulator for all roms.

            Above I wrote:
            " It was when I was trying to change emulators for arcade games that I discovered that, whenever I choose an emulator for the rom it gave me that permission denied message in the bottom."

            But it applies to all systems. Nes, Snes, GBA and Arcade. Those are the ones I've checked.

            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by mitu 5 Jan 2018, 16:47 1 May 2018, 15:46

              I can't reproduce this on a stock 4.4 system. Runcommand will modify the file /opt/retropie/configs/<system>/emulators.cfg, were <system> is the system where you want to change the emulator. The files are owned by the user pi, so if you fiddled with the permissions, check the user has write access to them. As an example, here is my /opt/retropie/configs/emulators.cfg

              lr-fbalpha = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbalpha/fbalpha_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%"
              lr-mame2003 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%"
              advmame = "/opt/retropie/emulators/advmame/bin/advmame %BASENAME%"
              default = "lr-fbalpha"
              
              L 1 Reply Last reply 3 May 2018, 08:35 Reply Quote 0
              • L
                lesk @mitu
                last edited by 3 May 2018, 08:35

                @mitu
                Don't think I´ve fiddled with any permissions. I have followed guides to change themes, add background music and to hide boot text, emulationstation, and the raspberries to show at boot.

                How can I check that the user has write access? I´m a total noob when it comes to linux commands etc.

                M D 2 Replies Last reply 3 May 2018, 08:45 Reply Quote 0
                • M
                  mitu Global Moderator @lesk
                  last edited by 3 May 2018, 08:45

                  @lesk You can list the permissions from the command line with ls

                  # show the permissions for the NES system
                  ls -l /opt/retropie/configs/nes/emulators.cfg
                  L 1 Reply Last reply 3 May 2018, 08:53 Reply Quote 0
                  • L
                    lesk @mitu
                    last edited by 3 May 2018, 08:53

                    @mitu
                    Ah okay.
                    So I press F4 on the keyboard to open up the terminal.
                    Type in ls -l /opt/retropie/configs/nes/emulators.cfg to see what permission the NES system has?

                    Would I see all permissions if I just do ls -l /opt/retropie/configs

                    1 Reply Last reply Reply Quote 0
                    • D
                      dankcushions Global Moderator @lesk
                      last edited by 3 May 2018, 08:53

                      @lesk said in Can´t change emulators - Tried a command and now its weird.:

                      @mitu
                      Don't think I´ve fiddled with any permissions.

                      but then

                      On the last post there is a link to another thread with a command that I first tried:

                      sudo chown -R pi:pi /opt/retropie/configs

                      that's "fiddling with permissions" :)

                      anyway, one thing you can try: https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#reset-ownershippermissions-of-homepiretropie-roms

                      L 1 Reply Last reply 3 May 2018, 11:39 Reply Quote 0
                      • L
                        lesk @dankcushions
                        last edited by 3 May 2018, 11:39

                        @dankcushions said in Can´t change emulators - Tried a command and now its weird.:

                        @lesk said in Can´t change emulators - Tried a command and now its weird.:

                        @mitu
                        Don't think I´ve fiddled with any permissions.

                        but then

                        On the last post there is a link to another thread with a command that I first tried:

                        sudo chown -R pi:pi /opt/retropie/configs

                        that's "fiddling with permissions" :)

                        anyway, one thing you can try: https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#reset-ownershippermissions-of-homepiretropie-roms

                        Hahaha, that just shows how much of a noob I am ^^
                        Thanks, I will try this when I'm back home.

                        1 Reply Last reply Reply Quote 1
                        13 out of 13
                        • First post
                          13/13
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received