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

    Is there any way to lock down retropie?

    Scheduled Pinned Locked Moved Help and Support
    lock down
    47 Posts 12 Posters 13.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.
    • ohmycommodoreO
      ohmycommodore
      last edited by ohmycommodore

      Can a triple button press be set up? High degree of difficulty and therefore less chance of being selected accidentally. My use case is a system that I use, turn on and let my kids use on occasion, insist on shutting down myself, and when necessary I (and I alone) drop into something advanced like RP config or into menus.

      In other words, if it's an interesting discussion... what's the best balance of protection vs not disabling things so completely that it's a hassle?

      1 Reply Last reply Reply Quote 0
      • lostlessL
        lostless @Capeman
        last edited by

        @capeman actually I would leave reset, it's absolutely needed for one game in the world and one game only. X-men on genesis/mega drive. Can't beat the game without it.
        Maybe 2 games. x-men 2 on genesis/mega drive it's used to select the character in the opening level.

        1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost
          last edited by

          @hex @BuZz
          chattr -R +i to

          • /etc/emulationstation/
          • /opt/retropie/configs/
          • .... other folders???

          Will surly lock files from changing

          1 Reply Last reply Reply Quote 0
          • pjftP
            pjft @Capeman
            last edited by

            @capeman this is exactly how @Zigurana 's kids mode works.

            As for your hack to lock down the ES menus, how do you exit ES? Do you have an external shutdown switch or something? That sounds like a big roadblock, or am I missing something obvious?

            lostlessL CapemanC 2 Replies Last reply Reply Quote 0
            • ohmycommodoreO
              ohmycommodore
              last edited by ohmycommodore

              Hang on, is it possible at all to simply set a password, and protect some of these things that way? Then they don't need oddball multiple button presses, etc. In my head it's still about keeping things open for who they need to be open for... the "admin" essentially. Closed for the rest who wouldn't (and shouldn't) have the password.

              1 Reply Last reply Reply Quote 0
              • lostlessL
                lostless @pjft
                last edited by

                @pjft basically the way that @Capeman is recommending locks down the system per controller. If you always use the same controllers, you can lock those down and have a another controller or keyboard ,that isn't locked down and use that to shut Down or restart. Or even adjust retroarch setting. The only thing that you still can't get to is the retropie menu without editing the essystems.cfg from a computer or using a keyboard on the pie and manually edit it from there. That's

                1 Reply Last reply Reply Quote 0
                • CapemanC
                  Capeman @pjft
                  last edited by

                  @pjft said in Is there any way to lock down retropie?:

                  @capeman this is exactly how @Zigurana 's kids mode works.

                  As for your hack to lock down the ES menus, how do you exit ES? Do you have an external shutdown switch or something? That sounds like a big roadblock, or am I missing something obvious?

                  I put a posted above with a couple videos to solve this issue. One of them is the GPIO shutdown button and the other is a way to add a shutdown/reset menu as a system to the carousel. These method's do effectively kill the ability to shutdown, as a powerblock user i kind of take that for granted, haha.

                  I haven't tried @Zigurana's kid's settting, only mostly because I usually stick to the officially updatable version of ES. Is his version merged with favorites/collections? I'm hooked on those now, haha.

                  Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                  HurricaneFanH 1 Reply Last reply Reply Quote 0
                  • HurricaneFanH
                    HurricaneFan @Capeman
                    last edited by

                    @capeman If you own the necessary hardware, it makes sense to use your approach. :)

                    1 Reply Last reply Reply Quote 0
                    • CapemanC
                      Capeman @Capeman
                      last edited by

                      @HurricaneFan
                      Doing this shutdown method wouldn't require anything extra, set this up before disabling everything else and ES would be pretty kid friendly.

                      @capeman said in Is there any way to lock down retropie?:

                      There are also lots of demos online of people setting up a "system" on the carousel. Here's one i found on youtube:

                      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                      1 Reply Last reply Reply Quote 0
                      • HexH
                        Hex
                        last edited by

                        I think we can do better if there is a need for Shutdown system

                        Sent from 20,000 leagues under the sea.

                        Powersaver Emulation station : https://github.com/hex007/EmulationStation
                        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                        CapemanC 1 Reply Last reply Reply Quote 0
                        • CapemanC
                          Capeman @Hex
                          last edited by Capeman

                          @hex said in Is there any way to lock down retropie?:

                          I think we can do better if there is a need for Shutdown system

                          What about a single ES lock code that would:

                          1. deactivated the start/select options menus, making just a shutdown option if start is pressed.
                          2. Hides the "retropie" system on the carousel
                          3. locks add/remove favorites command
                          4. Disable runcommand (this might be harder to do since this option isn't integrated into ES)

                          Activated by pressing select 10 times or something similar. Pressing select 10 times again would restore the unlocked state.

                          Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                          Z 1 Reply Last reply Reply Quote 0
                          • Z
                            Zigurana @Capeman
                            last edited by

                            Hi guys,
                            There was something very similar to this in the kid-mode ui branch of ES I build ages ago (terribly outdated by now, I'm afraid).
                            It featured the hiding of menu items, systems, and games. It unlocked via the Konami code.
                            There were two locked modes: kiosk (hiding all configuration menus, but showing all games) and kid (hiding menus and showing only white-listed games).
                            My plan is still to bring that to the main ES branch, which should be easier to do, now the filtering is in place. However, I want to have the theming refactoring done first, because that would make the theming implementation much cleaner (ie. Not breaking ES when running older themes).

                            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                            1 Reply Last reply Reply Quote 3
                            • D
                              dunginhawk
                              last edited by

                              capeman thats exactly what I would love to see... while the workarounds you mentioned arent hard, it would be much easier to have a button combo or 10 presses etc... would be a great option.

                              1 Reply Last reply Reply Quote 0
                              • lostlessL
                                lostless
                                last edited by

                                I was thinking that we can somehow make the retropie menu into a custom collection. So that way only the golden controllers (the ones programmed without restrictions) and a keyboard can easily turn it off and on. I will have to test and see if I can get a solution to work.

                                pjftP 1 Reply Last reply Reply Quote 0
                                • pjftP
                                  pjft @lostless
                                  last edited by

                                  @lostless That would be quite ingenious.

                                  I'm not sure that will work, I am very much under the impression that I don't allow stuff from the RetroPie menu to show in some collections - at least Last Played.

                                  Do give it a go and see how it goes. :)

                                  1 Reply Last reply Reply Quote 0
                                  • lostlessL
                                    lostless
                                    last edited by lostless

                                    no go and i realized that custom collections relies on the run command commands from the es_systems.cfg to work. i made a retro pie custom collection, but having a system that is now hidden won't work. still thinking how it can be done. I'm no coder.

                                    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.