Best Raspberry Pi Cases in 2019
-
@Ranma Well I wrote the script because I was not satisfied how the one from retroflag works. If you press the reset button then it initiates a system reboot. This makes just no sense and will break metadata if you press power or reset during gameplay.... So the forked script terminates every running emulator and brings you back to ES. And if you press the reset button in ES main screen it just restarts ES without booting the whole system.
Furthermore the powerdown is much much faster without breaking metadata. About the UART thing ... some people reported problems as it was activated... it is just as @quicksilver said. -
@cyperghost said in Best Raspberry Pi Cases in 2019:
the whole system.
Furthermore the powerdown is much much faster without breaking metadata. About the UART thing ... some people reported problems as it was activated... it is just as @I know it might be a sin to ask, but are you going to work on a recalbox/batocera one?
-
@Ranma I should add that the most games on the pi are not heavily GPU dependent. But if youre running N64/ Dreamcast games then there is a huge impact if it's locked to 250mhz.
-
@SgtJimmyRustles You sinner ;)
I know it might be a sin to ask, but are you going to work on a recalbox/batocera one?
Yes it would be possible without flaws. I know this because I ran the script a few times on XU4 Batocera build. So I strongly assume it would work for Raspberry, too. The python script for recalbox/batocera is easy to modify and should work flawless.
-
@SgtJimmyRustles Can you test the scripts on a Recalbox OS? If yes I think about to do the work.
-
I'd be down to try it out. Just let me know what you need me to test out.
-
@SgtJimmyRustles Okay ... I need values of
es_systems.cfg
does Recalbox uses a script like RetroPie? Kind of runcommand.sh? I know I modified my script to make it work for Batocera but can't remeber what was the calling command for ROMS ;)
Just post one system maybe SNES or Genesis ;)EDIT:
<fullname>Super Nintendo Entertainment System</fullname> <name>snes</name> <path>/recalbox/share/roms/snes/</path> <extension>.smc .sfc .SMC .SFC .zip .ZIP .mgd .MGD</extension> <command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM% -emulator %EMULATOR% -core %CORE% -ratio %RATIO%</command> <platform>snes</platform> <theme>snes</theme> <emulators>
Can you confirm
emulatorlauncher.pyc
as command? -
Yes, they use that command as well as es_systems.cfg.
https://gitlab.com/search?utf8=✓&snippets=&scope=&search=emulatorlauncher.pyc&project_id=2396494
Is this what you're referring to regarding emulatorlauncher.pyc?
-
@SgtJimmyRustles I need that command to finish running emulators if you press reset button
-
When i get home, I'll set up a recalbox build and let you know if I can. I won't be ready for another couple of hours though. You're wanting confirmation on the emulatorlauncher.pyc right?
-
Here you go.
<?xml version="1.0"?>
<systemList>
<system>
<fullname>Amiga 1200</fullname>
<name>amiga1200</name>
<path>/recalbox/share/roms/amiga1200</path>
<extension>.adf .Adf .ADF .uae</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM% -emulator %EMULATOR% -core %CORE% -ratio %RATIO% %NETPLAY%</command>
<platform>amiga</platform>
<theme>amiga1200</theme>
<emulators/>
</system>You need anything else?
-
@SgtJimmyRustles I need some output commands.
Doespidof emulationstation
works?
Doespgrep -f emulationstation
works?I created a bash file that will exit any emulator if you call it. So it's the first step of integrating this into RecalBox. Please download from my github with
wget http://raw.githubusercontent.com/crcerror/RetroPie-Shares/master/RecalBox_exitemu.sh
Make it executable after download or use bash command.
Then every instance of running emulators should be finished. I later can work to integreate this into the Retroflag scripts. -
@cyperghost said in Best Raspberry Pi Cases in 2019:
wget http://raw.githubusercontent.com/crcerror/RetroPie-Shares/master/RecalBox_exitemu.sh
Here's the results.
pidof emulationstation
2489pgrep -f emulationstation
2489So yes, the two commands above work.
While running the script while in game, it takes me back to the Recalbox menu using bash.
bash RecalBox_exitemu.sh
-
@SgtJimmyRustles I have a BATOCERA system running now.
The script works so far as intendend. If I execute this it will bring me back to ES. So we can reset any emulator. Let me take some time to make a working python script. -
-
@cyperghost said in Best Raspberry Pi Cases in 2019:
system running now.
The script works so far as intendend. If I execute this it will bring me back to ES. So we can reset any emulator. Let me take some time to make a working python script.Great to hear! Appreciate your hard work!
-
ONLY FOR RECALBOX/BATOCERA!
@SgtJimmyRustles Okay "command" script is ready for testing. This is very simplified script to get status of running emulators or if ES ist still running. You now can terminate any running emulators by using command line.
Please download with
wget https://raw.githubusercontent.com/crcerror/RetroPie-Shares/master/RecalBox_exitemu.sh; chmod +x RecalBox_exitemu.sh
to execute type
./RecalBox_exitemu.sh
and a small help page will appear. Now type commands. For ex../RecalBox_exitemu.sh --emukill
to terminate current running emulators. Does the--restart
switch do it's job? Is metadata saved?Todo:
Modify Python script
Modify installer script -
@cyperghost said in Best Raspberry Pi Cases in 2019:
to execute type ./RecalBox_exitemu.sh and a small help page will appear. Now type commands. For ex. ./RecalBox_exitemu.sh --emukill to terminate current running emulators. Does the --restart switch do it's job? Is metadata saved?
I'll try it when I get home.
-
-
@SgtJimmyRustles Please test
For Batocera
wget -q -O - https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_batocera.sh | bash
For Recalbox
wget -q -O - https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_recalbox.sh | bash
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.