ehsan1432 Posted April 4, 2021 Share Posted April 4, 2021 (edited) Hello There. I have recently built an arcade machine and i am struggling with quitting games in Ryujinx and going back to the Big Box/Launchbox. For example, I am trying to exit Super Mario Bros Deluxe and go back to the Big Box games wheel and i am not able to do that. I am not an expert and have been learning over the past few months. Your guidance will be highly appreciated. I would like to be able to exit the game using the arcade buttons and not a keyboard. My arcade buttons are in Xinput mode. Edited April 4, 2021 by ehsan1432 Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted April 4, 2021 Share Posted April 4, 2021 3 hours ago, ehsan1432 said: I would like to be able to exit the game using the arcade buttons and not a keyboard. My arcade buttons are in Xinput mode. First, if you have not done this before, you need to set up an "exit" button. Seeing as you use your arcade buttons in Xinput mode, a xbox controller api, this must be done in the LaunchBox and BigBox controller automation configuration. For LaunchBox go to: Tools > Options > Game Controllers > Tick "Enable Game Controllers" and choose your device. Then go to: "Mappings" and in "Exit Game" add a button or button combination. In BigBox go to: Options > Controller > Tick "Enable Game Controllers" and select your device. Then go to: "Controller Mappings" and then "Close the Active Window". Again add a button or button combination to exit a game. For Ryujinx to exit out of a game back to LaunchBox or Bigbox you need to copy/paste the following "exit script" to LaunchBox > Tools > Manage Emulators > Ryujinx > Running AutoHotKey tab: ESC:: { SetTitleMatchMode, 2 WinWaitActive, Ryujinx Send !{f4} } Lastly I must say, as I don't own a cabinet, I may not be able to help you with cabinet specific problems. 2 Quote Link to comment Share on other sites More sharing options...
ehsan1432 Posted April 4, 2021 Author Share Posted April 4, 2021 Thank you very much for your step by step guide. I did try it and unfortunately it did not work. I have a feeling it has to do with the game I am trying (Super Mario Bros Deluxe). defining the “Close The Active Window” in Big Box helped exit from other games (Steam games with the exception of SFV for some reason). I believe the main issue is exiting the game and not Ryujinx. I think the script provided would take care of exiting Ryujinx back to Big Box. I would appreciate more help if possible Quote Link to comment Share on other sites More sharing options...
Retro808 Posted April 4, 2021 Share Posted April 4, 2021 It should not matter the game in Ryujinx. Your closing the active window which is the emulator so it would shut down any game ran by Ryujinx. If you play a different game in Ryujinx does it close? Any chance your are running Ryujinx as Admin? Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted April 4, 2021 Share Posted April 4, 2021 37 minutes ago, ehsan1432 said: defining the “Close The Active Window” in Big Box helped exit from other games (Steam games with the exception of SFV for some reason). You should never close Steam (p.c.) games with the exit button, but rather through it's own menus. 37 minutes ago, ehsan1432 said: I believe the main issue is exiting the game and not Ryujinx. I think the script provided would take care of exiting Ryujinx back to Big Box. When exiting a game (window) in Ryujinx, you would return to the Ryujinx GUI (game selection). In this case you don't want that. You want to return to LaunchBox / BigBox. That means you want to close the game (window) and Ryujinx itself. I myself had major problems finding a script that would close the game and Ryujinx at once. But maybe a few pointers: - Some people report that the don't need an exit script to close Ryujinx. To test: in LaunchBox > Tools > Manage Emulators > Ryujinx > Running AutoHotKey Script tab, delete the script. - Check in Ryujinx.exe > Properties if "Run as Administrator" is unchecked. - If this fails, try a different "exit script". For example: $Esc:: { WinClose, ahk_exe {{{StartupEXE}}} } I will try finding another exit script for Ryujinx that could work for you, but I would encourage you searching the forum / the internet for a script that works yourself. Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted April 4, 2021 Share Posted April 4, 2021 Also I like to make one more remark. For Switch emulation Ryujinx has it's advantages (like resolution scaling), but the other Switch emulator Yuzu is a bit more polished, run a little better on pc's that are not "gaming monsters" and in LaunchBox / BigBox certainly is easier to close. So I myself use Yuzu for most of the games and Ryujinx for games that don't play in Yuzu. Quote Link to comment Share on other sites More sharing options...
ehsan1432 Posted April 4, 2021 Author Share Posted April 4, 2021 Thanks. I am not running Ryujinx as administrator. It is unticked. the new script worked better. It took the game from full screen to smaller screen. A pop up message came up asking if I want to exit Ryujinx. Is there a way to not have that pop up because I would need a mouse or a keyboard to click on that pop up message? Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted April 4, 2021 Share Posted April 4, 2021 (edited) 12 minutes ago, ehsan1432 said: A pop up message came up asking if I want to exit Ryujinx. In Ryujinx > Options > Settings, there is a checkbox with "Show "Confirm Exit" Dialog". Make sure the checkbox is unchecked. Edited April 4, 2021 by Koroth Quote Link to comment Share on other sites More sharing options...
ehsan1432 Posted April 4, 2021 Author Share Posted April 4, 2021 It worked. Can’t thank you enough. I did try Yuzu before Ryujinx and it would crash every time. thanks a million 1 Quote Link to comment Share on other sites More sharing options...
odkmo Posted May 26, 2023 Share Posted May 26, 2023 Hate to dig this up again, but I am having the same problem exiting Ryujinx. I have the start and select combo enabled to close the active window in BigBox with an Xbox360 wireless controller, but I get no response in Ryujinx. It works perfectly in other emulators. I also have tried several of the AHK exit scripts to no avail. I was hoping someone could provide a little more insight, please? Quote Link to comment Share on other sites More sharing options...
DanCue Posted July 16 Share Posted July 16 Very grateful for this thread. I've spent most of the past couple of days trying to figure this out and the step by step guide here helped out. Although the script I used in running AHK was the following: $ESC::WinClose, ahk_exe Ryujinx.exe I had this in there already and left it there after following the step by step guide above. But I became curious if it would work without an AHK script. It actually does. Anyways... I wanted to post the one I did have in there for anyone who may want to try it if all else fails. Thanks everyone. Quote Link to comment Share on other sites More sharing options...
StarCraftDude Posted September 29 Share Posted September 29 On 4/4/2021 at 4:02 AM, Your Friendly A.I Overlord said: First, if you have not done this before, you need to set up an "exit" button. Seeing as you use your arcade buttons in Xinput mode, a xbox controller api, this must be done in the LaunchBox and BigBox controller automation configuration. For LaunchBox go to: Tools > Options > Game Controllers > Tick "Enable Game Controllers" and choose your device. Then go to: "Mappings" and in "Exit Game" add a button or button combination. In BigBox go to: Options > Controller > Tick "Enable Game Controllers" and select your device. Then go to: "Controller Mappings" and then "Close the Active Window". Again add a button or button combination to exit a game. For Ryujinx to exit out of a game back to LaunchBox or Bigbox you need to copy/paste the following "exit script" to LaunchBox > Tools > Manage Emulators > Ryujinx > Running AutoHotKey tab: ESC:: { SetTitleMatchMode, 2 WinWaitActive, Ryujinx Send !{f4} } Lastly I must say, as I don't own a cabinet, I may not be able to help you with cabinet specific problems. This worked for me on my arcade cab. Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.