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

    Editing es_systems... problem after problem - HELP

    Scheduled Pinned Locked Moved Help and Support
    permissionsroot
    19 Posts 3 Posters 2.7k 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 @Dinsdale
      last edited by mitu

      @Dinsdale said in Editing es_systems... problem after problem - HELP:

      I feel like we are trying to solve the wrong problem here.

      Indeed so. What makes you think that adding the extension to the list will make the ROM actually work ?. Are you sure that the emulator you're using supports .zip files ? Have you installed the lr-mupen64plus emulator, it's the only one that has .zip file support.

      EDIT: the reason the es_systems.cfg file you copied is not writeable is because you have to give the pi user permission to write it. Run

      sudo chown pi:pi <path_to_file>
      

      and it should be editable.

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

        Because I copied the ROMs over and the N64 ROMS where the only ones that didn't show. I investigated and someone had the same issue, added the .ZIP file extension to es_systems.cfg and saved and all was good. It is the lr-mupen64plus emulator I am using. I haven't installed anything else. I've literally got my Pi and installed Retropie.

        I've just ran that command successfully and I still can't save the file once edited with WINSCP.

        Permission denied.
        Error code: 3
        Error message from server: Permission denied

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

          Can you run

          ls -l /opt/retropie/configs/all/emulationstation/es_systems.cfg
          

          and post the output ? What is the actual file name you've copied and it doesn't show up ?

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

            -rw-r--r-- 1 pi pi 11296 Oct 21 19:50 /opt/retropie/configs/all/emulationstation/es_systems.cfg

            I'm not sure if this is relevant, but I'm not logged in as "pi". I created a user and used this guide: https://raspi.tv/2012/how-to-create-a-new-user-on-raspberry-pi

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

              @Dinsdale said in Editing es_systems... problem after problem - HELP:

              I'm not sure if this is relevant, but I'm not logged in as "pi".

              It's quite relevant, since the RetroPie image you're using is using the pi user to run almost everything related to emulation and the configurations created take this into account.

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

                Bingo. Just successfully edited this... so, thank you - ok - I'll load a test ROM and see if the edit makes a difference HOWEVER, for security sake, I would like my new user to have the same permissions as Pi. How do I do that? I thought I did with the link I posted above.

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

                  @Dinsdale You don't - if you're not sure what your doing, please stick with the defaults and use the pi user for all intents and purposes. Is there a reason you want a different user ?

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

                    It worked, by the way. The ROMs now show up.

                    Ok, I will - but in the interest of learning - where have I gone wrong assigning my permissions?

                    You’re right when you say I’m not sure what I’m doing, but I’m interested to learn.

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

                      @Dinsdale said in Editing es_systems... problem after problem - HELP:

                      Ok, I will - but in the interest of learning - where have I gone wrong assigning my permissions?

                      Well, you actually didn't assign any permissions to your new user, you just set it to be able to run sudo. That blog post pre-dates the release of Raspbian (2013) and although the advice may be sound (i.e. use a non-default username), this approach has little security advantages for the problem it purposely tries to solve. If you want to be more secure, then change the password for the pi user to something non-trivial immediately after you set up your system. And don't expose it directly to the internet.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Dinsdale @mitu
                        last edited by

                        @mitu That makes sense. I understand. Thanks for your help!

                        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.