BitSenpai Posted July 4, 2021 Share Posted July 4, 2021 How do I force LaunchBox to use a single instance of RetroArch? As I'm swapping between games in the LaunchBox library I'm ending up with dozens of RetroArch instances in my Windows 10 Taskbar, each running a different rom. Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted July 4, 2021 Share Posted July 4, 2021 (edited) 29 minutes ago, BitSenpai said: How do I force LaunchBox to use a single instance of RetroArch? As I'm swapping between games in the LaunchBox library I'm ending up with dozens of RetroArch instances in my Windows 10 Taskbar, each running a different rom. If you start a game, do you also exit the game? You can exit a game by pressing the escape key or using the LaunchBox controller automation to set up a button (or button combination) on your controller to exit a game. Edited July 4, 2021 by Koroth Quote Link to comment Share on other sites More sharing options...
BitSenpai Posted July 4, 2021 Author Share Posted July 4, 2021 (edited) For ease of use I would like to not have to remember to press escape x2 every time I want to load a different ROM. I'll use the autohotkey tool inside launchbox to execute e.g. taskkill /f /im retroarch.exe (& other emulators) every time a new rom is loaded if there's no other way. Edited July 4, 2021 by BitSenpai Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted July 4, 2021 Share Posted July 4, 2021 7 minutes ago, BitSenpai said: For ease of use I would like to not have to remember to press escape x2 every time I want to load a different ROM. RetroArch natively closes with the escape key, so it should close by pressing escape once. If that doesn't work you can copy/past the following autohotkey script to: LaunchBox > Tools > Manage Emulators > RetroArch > Running AutoHotKey Script tab. $Esc:: { WinClose, ahk_exe retroarch.exe } or: $Esc:: { WinClose, ahk_exe {{{StartupEXE}}} } Quote Link to comment Share on other sites More sharing options...
neil9000 Posted July 4, 2021 Share Posted July 4, 2021 1 hour ago, BitSenpai said: For ease of use I would like to not have to remember to press escape x2 every time I want to load a different ROM. You can turn off the need to press it twice in the Retroarch settings, also if you set a button combo to exit in Launchbox you can just hit that controller combo to actually exit retroarch as Launchbox registers you pressed your combo, and then sends escape to Retroarch, no script needed. 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.