Build Your Own Arcade Controls Forum

Main => Raspberry Pi & Dev Board => Topic started by: DaOld Man on September 09, 2015, 09:31:51 pm

Title: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on September 09, 2015, 09:31:51 pm
On Emulation Station (Retro Pie),
there is a screen where you can go in and mess around with the configs or what not. Is there anyway to password protect this menu, or hide it from someone accidentally messing with the settings?
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 12, 2015, 11:26:20 pm
Ok, just in case anyone else would like to remove the retroarch setup screen from the emulation station front end, here is how I did it.
Exit emulation station by pressing F4.
Then CD /ect
CD emulationstation

Open es_sysytems.cfg with
sudo nano es_systems.cfg

Find this section and delete it:

  <system>
    <name>retropie</name>
    <fullname>RetroPie</fullname>
    <path>~/RetroPie/retropiemenu</path>
    <extension>.rp .sh</extension>
    <command>sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch %ROM%</command>
    <platform/>
    <theme>retropie</theme>
  </system>

Im sure you can just add # in front of each line to have Pi ignore it, if you dont feel safe about deleting it.
There is also a backup, es_systems.cfg.bak that you can restore from.
Then save, overwrite, and exit.
Then type exit to return to emulation station.
May have to reboot to see your changes, not sure.
The retropie setup screen should not be visible now.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: severdhed on October 13, 2015, 12:34:11 pm
awesome, i was just wondering how to do this myself.  Once it is setup, i don't need or want that menu to be available.

Thanks for posting your solution
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: Slippyblade on October 13, 2015, 01:45:33 pm
You can also add "--no_exit" "--no-exit" to the EmulationStation launch script so that the "Exit ES" menu option is no longer available.  That prevents someone from exiting ES to the prompt using the controller.  F4 will still work if you plug in a keyboard though.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 13, 2015, 04:14:51 pm
You can also add "--no_exit" to the EmulationStation launch script so that the "Exit ES" menu option is no longer available.  That prevents someone from exiting ES to the prompt using the controller.  F4 will still work if you plug in a keyboard though.

Cool. I was wondering if there was a way to disable that.

Hmmm, where exactly would you add this?
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: Slippyblade on October 13, 2015, 04:55:50 pm
sudo nano /usr/bin/emulationstation

One of the first lines in that file is the command to launch EmulationStation.  It's a string in quotes.  Add --no_exit --no-exit just before the closing quotes. 

Ctrl-X to exit
'Y' to overwrite
Enter to keep same filename
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 13, 2015, 05:10:35 pm
I cant get that to work.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 13, 2015, 05:13:26 pm
sudo nano /usr/bin/emulationstation

One of the first lines in that file is the command to launch EmulationStation.  It's a string in quotes.  Add --no_exit just before the closing quotes. 

Ctrl-X to exit
'Y' to overwrite
Enter to keep same filename

Ok, it works using --no-exit instead of --no_exit. (Had to replace the underscore with a minus)
Anyway to keep from showing the shutdown mode? Since I have the mausberry switch circuit, Id rather user not be able to shut it down except by turning off the power switch.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: Slippyblade on October 13, 2015, 05:40:10 pm
I've been looking for that and failing.  I just sold an NES RetroBox to a co-worker and would have liked to remove that entire menu.  It's a finished project and, as such, has no need of any of those options.  Co-worker bought it as an anniversary gift for his wife, she was super excited about it.  Apparently was up to 4am the other  day playing Zelda.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 13, 2015, 06:16:10 pm
Thats cool. The kids these days dont appreciate the old classics.

Somehow my retropie setup menu came back.
Maybe it restored it from the backup automatically when I was messing with the no-exit command?
Had to go in there and take it back out.
Once I am 100% sure everything is like I want it (yeah rite), I may modify the backup too.
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: slickam on October 13, 2015, 09:33:46 pm
Im sure you can just add # in front of each line to have Pi ignore it, if you dont feel safe about deleting it.

It's an XML file, so you'd need to put "<!--" before it, and "-->" after it (both without the quotes).
Title: Re: Disable or password protect the retoarch configuration menu?
Post by: DaOld Man on October 15, 2015, 12:29:46 am
It's an XML file, so you'd need to put "<!--" before it, and "-->" after it (both without the quotes).

Thanks slickam!
I did try the # and it didnt like that, so I just deleted that section of it.

Another new question to ponder about:
Is there anyway to have ES remember last emul/game that was selected?
It always starts up on the first emulator in the list alphabetically, and the first game in the emulator.
It would be nice if it remembers the last selections.