Forum Replies Created
matthewjosephcordovaParticipant07/27/2015 at 17:10Post count: 22
It’s a largely undocumented feature using GPIO3 to boot a Pi. See http://elinux.org/RPI_safe_mode#cite_note-1
‘Wake from halt’matthewjosephcordovaParticipant07/13/2015 at 00:00Post count: 22
Or otherwise use uinput key_ESC to exitmatthewjosephcordovaParticipant07/11/2015 at 19:24Post count: 22
It’s simple, just connect from GPIO3 to ground using a push button type button. Look at your rpi documentation for the correct pins. On the rpi2 b+ they are right next to each othermatthewjosephcordovaParticipant07/09/2015 at 18:04Post count: 22
I think you’ll be able to make a protected-mode version of ES fairly easy. Look at GuiMenu.cpp source code.
If you’re looking to make a whitelisted set of roms, you can do that by using a modified ES_Systems.cfg There can be a kids version and a grown up version. A script can be written that could take the file and do something like,
mv ES_Systems.cfg ES_SystemsKid.cfg
and take adult version
mv ES_SystemsAdult.cfg ES_Sytems.cfg sudo reboot
That’ll reboot into ES using a different set of roms.
The script can be made so you can enter in your Capcom cheat code button sequence.matthewjosephcordovaParticipant07/09/2015 at 00:00Post count: 22
I had to do something similar and make a very friendly RetroPie console for my mother. She likes to play a few older games, but even the menus inside of emulationstation can cause games to be deleted amongst other problems.
So what I suggest is to actually dive into the emulationstation source code if you can handle it. What I did was customize emulationstation to make it super protected. I removed several features like the scraper, nearly all the options under the UI and sound menu, and under the shutdown emulationstation menu, all I left was the ability to turn it off. I set up a button that boots the system up, plays a nice little video that goes right into ES. There are no options where she can mess up or really configure anything. All she can do is select a game. I also set up the button to exit the game back to ES. Then she can shut down from ES and that’s all she can do. I had to make my system be fool-proof, and make it look as nice as possible. I went so far as to completely hide all console messages etc…
So to answer your first question, yes, you can edit and shield/filter the configuration options in ES but it takes a little work and learning how to compile the source.matthewjosephcordovaParticipant07/02/2015 at 01:39Post count: 22matthewjosephcordovaParticipant07/01/2015 at 21:51Post count: 22matthewjosephcordovaParticipant07/01/2015 at 07:09Post count: 22
I have experience booting a pi2 and exiting emulators using a push button. The code I link to below could easily be adapted to shutdown the system as well. A toggle isn’t necessary, just a momentary push button is all that’s required.
All you need is a push button connected to gpio3. You may have problems shutting down your emulators if you use a script running shutdown -h now all by itself. I suggest for you to check out THIS post.
That piece of code shuts down the emulators gracefully so you don’t lose hi scores and it properly saves SRM’s
You could add the following code to the code in the link detailed above
sleep(10) os.system('shutdown -h now')
Insert that code right after
In config.txt under /boot , add the line
That button will then boot up your pi and shut down your system and emulators gracefully.matthewjosephcordovaParticipant06/30/2015 at 14:28Post count: 22matthewjosephcordovaParticipant06/26/2015 at 13:49Post count: 22
Please see the following link to resolve the problem,matthewjosephcordovaParticipant06/26/2015 at 06:43Post count: 22
Thanks for the reply, but I did end up figuring it out. I’ll post a guide this weekend. Basically some emulators don’t accept a sigterm and some don’t accept a uinput. Don’t ask me why…
I did however manage to write some code that exits all my emulators to ES gracefully without using sigkill and using a pin on the GPIO and a single external button and without using snesdev.matthewjosephcordovaParticipant06/25/2015 at 14:37Post count: 22
Are you sure it’s a clean and exit? Are you issuing a sigterm to the mame4all process? I’m using a ‘kill -TERM’ and it’s not working.matthewjosephcordovaParticipant06/25/2015 at 14:30Post count: 22matthewjosephcordovaParticipant06/25/2015 at 14:15Post count: 22
The ES Loading graphic is unfortunately part of the binary. The only way to modify it is via the SVG file in the source code. If you want to change it, you must fork the source and recompile.
I suggest to you omxplayer and make a loading video that’s plays over the ES graphic.
If you figure out the Stella keys, let me know, also if the cmd line started Stella properly.
You can find all emulator command line starting code in ES_systems.cfg in /etc/emulationstation/matthewjosephcordovaParticipant06/24/2015 at 19:58Post count: 22matthewjosephcordovaParticipant06/18/2015 at 02:36Post count: 22matthewjosephcordovaParticipant06/10/2015 at 12:47Post count: 22
I guess I’m not the only one giving a raspberry pi as a gift ;). I made a pi for my mother.
I made the output of the machine appear like a console. I am having the pi start with a customized loading video with all console messages disabled so it looks clean. Then once it gets to emulationstation, I removed several menu items and options. I removed the ability to scrape, I removed the ability to exit emulationstation and to restart. Just the ability to shutdown remains in the quit menu. I also removed the ability to configure the joystick or see the FPS or change the theme. I pre-configured everything and scraped, etc.. So none of that should be necessary. Plus I customized ES to shutdown the hdmi on shutdown so it looks clean. I also removed any console messages on rom boot. You shouldn’t see a cursor or otherwise see any console text ever during the experience. Plus I added a power button button to boot up the pi.