Exit emulator with one button press vía gpio
-
@sevenx ok
-
@8bit_astronaut maybe this article I wrote some time ago can help. I use the script to reset the emulator. But with replacing the RESET with QUIT you should be able to quit it and return to ES.
https://github.com/recalbox/recalbox-os/wiki/Emulator-interactions-via-GPIO-mapping-(EN)
-
@lackyluuk that looks great! Ill check it in a moment, thank you so much!
-
@lackyluuk its necesary to have an internet conection for recalbox???
-
@8bit_astronaut No, I think it should also work without. But it is highly recommended
-
@8bit_astronaut Not at all. The internet connection is only useful for scraping directly with your recalbox or for accessing you share folder through your network.
-
maybe?
exit-emu-1b-installer:
http://webcache.googleusercontent.com/search?q=cache:https://gist.github.com/Phantiss/3e0cab70f7084431e1c389d633e53662rpi-exit-emu-1b .py
http://webcache.googleusercontent.com/search?q=cache:https://gist.github.com/Phantiss/b9248718a208e293d332feed0a9cbc27S98exit-emu-1b
http://webcache.googleusercontent.com/search?q=cache:https://gist.github.com/Phantiss/813037bfd7c9d22a3cd2887714463eda -
@sevenx Haha nice! I update the wiki page and links.
-
-
I think my script is betta (btw, I corrected this RESET instead of QUIT):
- sending network command to retroarch is better
- using sub's list of emulator bins is better (no need to modify script if new emus implemented)
-
@supernature2k Can you update the wiki this way?
-
@DjLeChuck We could include @supernature2k s script into the article i posted above. This article is in general about interacting with emulators through the retroarch network commands. Instead of having multiple articles spreaded around we could have all in the same place. What do you think?
-
@lackyluuk Obviously you're right! My intention was only to restore the deleted page, but if we can removed it and say "Go on this page it's better!" I'm OK.
-
@DjLeChuck I only try to keep the articles in a clean way to prevent confiusion so that many question can be answered ( I also want to write / change an article for the right image installation, because lot of people have problems with it )
If someone can confirm that @supernature2k s script is working like this above, then I can try to implement this in a proper way
-
@supernature2k's script still requires a "better integration" to work in recalbox (he knows what i expect from him). The idea i'd love is to have a confg file saying :
[GPIO26] action=stopEmulators [GPIO25] action=shutdownSystem
such a thing
I find it pointless to cumulate python scripts to handle GPIO when all should be gathered into 1 single place -
Thank you everyone for all your help!
Well, to be fair i dont have internet in my house, just internet in my phone (bring independiente sucks....)
So...i want to know...is there a way to use The script without internet?Some says that The script doesnt use WiFi, and others says that it uses....
So...maybe is there an option?
-
@8bit_astronaut Your question was about internet with recalbox and the answer is no, internet is not needed ^^
However, internet is required for the scripts I linked above (but you can edit them to remove the need by replacingwget
commands bymv
commands for example).BUT the script from supernature2k doesn't need internet and is better so go with it!
-
Really? Great!
So...a noob question here....
....
How do i installing it? -
@Substring wow that would be amazing!!
-
If I have removed the script from the community it will have been for some reason. I have not authorized anyone for publication. I doubt Google's cache is designed for your use of it. I would appreciate consistency with your own rules and not post in the forum / community things that its author withdrew. The script is very simple, basic and full of errors, so, what if some programmer writes code instead of rummaging in the garbage?