-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: Allow arcade/Mame 2003+ to quit with menu button #1162
Comments
Does this also fix that shutdown button is ignored as well during arcade games ? |
it should yes ;) |
I love the OP's idea and description for a solution here. Great out of the box thinking :) I've noticed that some arcade games still don't exit when 'Menu' button is pressed. Has anyone else observed this, or is it possible I've mucked up my settings? Happy to provide specific problem games if that helps :) |
libretro/RetroArch#16854 should fix this |
When can we hope for this fix to be in an Onion update? I switched to using Mame2003-Plus from Mame-2003-Extreme and found out about this issue that way. I figured support is better for Mame2003-Plus because it's not considered an Expert core. Would it be possible for me to update retroarch manually to get this fix sooner? I'll probably wait, just thinking out loud. Edit: never mind, I applied the PR test patch and that will hold me over for now. |
It's not possible to exit arcade games by simply pressing menu button.
Few time ago I've made this video : https://www.youtube.com/watch?v=Ode06KGi3QQ to explain to users the specialties of this platform. You can see it the first time you run an arcade game in Onion (it's also available in the video player).
The problem comes from Retroarch : it doesn't react as it should to the linux "kill" (sigterm) command. Normally the kill command should exit Retroarch properly but for many arcade games it just not work : Retroarch is not exited.
So I have created some issues to Retroarch repo :
For Retroarch : libretro/RetroArch#15717
And this one for Mame2003+ : libretro/mame2003-plus-libretro#1623
The interesting fact is that configuring a hotkey to exit Retroarch works properly.... So the workaround is to drive Retroarch from the Network command line API : this QUIT command exits arcade properly and it makes the save state. So we have a workaround 🎉
Many other network commands are not documented and it will be interesting to investigate on the possibilities that it gives.
Example to drive retroarch from windows :
sfk199.exe udpsend 192.168.0.203 55355 QUIT
(You'll find sfk199 here).
It will require some little modifications in Onion to implement this : We justs need to have
HAVE_COMMAND = 1
in our RA build andnetwork_cmd_enable = "true"
in the retroarch.cfg and then we need to update keymon to manage this new API instead of kill/sigterm.The text was updated successfully, but these errors were encountered: