sinihes Posted April 1, 2020 Posted April 1, 2020 Hi all. First, sorry for to write bad in einglish. My problema is with emuletion Xenia , Launchbox and big box. When i am inside from bigbox, tried closed Xenia wiht crontroller Xbox one. he does not respond to me. Xenia does not have setting controller for close the emulator, and in the configuration bigbox, does not control emulador xenia. is there any way to solve it? Thanks in advance. Quote
CDBlue Posted April 1, 2020 Posted April 1, 2020 From what I can read online about Xenia emulator, the keyboard shortcut to close the emulator is Alt + F4. If that's still the case, you should be able to edit your emulator setting in LB for Xenia and place the following on the Running AutoHotKey Script tab: $Esc:: { Send !{f4} Return } Now pressing escape on your keyboard (or via any controller automation you have setup in LB/BB to exit emulator) should push the Alt+F4 command, thus closing Xenia. Hope this helps, CDBlue Quote
sinihes Posted April 1, 2020 Author Posted April 1, 2020 (edited) What I want is for it to work with the Xbox console controller Edited April 1, 2020 by sinihes Quote
neil9000 Posted April 1, 2020 Posted April 1, 2020 2 minutes ago, sinihes said: What I want is for it to work with the Xbox console controller The above script will work with your controller if you have setup a "close active window" combo in controller settings. Quote
sinihes Posted April 1, 2020 Author Posted April 1, 2020 (edited) Is a that option in the Launchbox program? Options/ Legacy? Edited April 1, 2020 by sinihes Quote
Retro808 Posted April 1, 2020 Posted April 1, 2020 26 minutes ago, sinihes said: Is a that option in the Launchbox program? Options/ Legacy? LaunchBox and BigBox have their own mapping settings. In Launchbox in the screen you are showing click on "Mapping" and set the "Exit Game" mapping. In BigBox look for a similar controller mapping section and set the command for "Close Active Window" Quote
Retro808 Posted April 1, 2020 Posted April 1, 2020 Wrong tab. Paste the AHK in the Running AHK Tab. Quote
sinihes Posted April 1, 2020 Author Posted April 1, 2020 Nothing!!? The emulation Xenia pass from fullscreen to windover, pressing the buttons on the remote control Xbox. Quote
Retro808 Posted April 1, 2020 Posted April 1, 2020 I do not even use a close AHK and it works fine. Quote
sinihes Posted April 1, 2020 Author Posted April 1, 2020 When you press buttons, Start and Select, emulator windows closes.?? (cuando apreta los botones start y Select, se le cierra la ventana del emulador?) Quote
Retro808 Posted April 1, 2020 Posted April 1, 2020 8 minutes ago, sinihes said: When you press buttons, Start and Select, emulator windows closes.?? (cuando apreta los botones start y Select, se le cierra la ventana del emulador?) Yes. I use an 8Bitdo controller. My exit is mapped to Start + Select. Works just fine without an AHK. Even if I switch to an Xbox One controller and remap to that it works. Not sure why it is not working for you. If you run a game and hit Alt+F4 on your keyboard does Xenia close? Quote
sinihes Posted April 1, 2020 Author Posted April 1, 2020 SOLVED!!! $Esc:: { Send ! {Button7} Send ! {Button8} } Thank you very much for everyone´s help. Muchas gracias a todos por la ayuda. Quote
LegzRwheelz Posted February 11, 2023 Posted February 11, 2023 I am facing the same exact issue with xenia. I am rather hearsed in AHK so this is really baffling to me as I have tried multiple methods of closing the emu. I have tried $Esc:: { Send !{f4} Return } Which does nothing. I even tried; $Esc:: { Process, Close, Xenia_Canary.exe Return } and SetWorkingDir %A_ScriptDir% if not A_IsAdmin Run *RunAs "%A_ScriptFullPath%" $Esc:: { Send !{f4} Return } and for good measure, i tried $Esc:: { if !A_IsAdmin Run, % "*RunAs " (A_IsCompiled ? "" : A_AhkPath " ") Chr(34) A_ScriptFullPath Chr(34) RunWait, TASKKILL /F /IM Xenia_Canary.exe /T,, Hide Return } Yet no matter what I try, it only exits fullscreen. Quote
Iceflow Posted March 14, 2024 Posted March 14, 2024 On 2/10/2023 at 8:03 PM, LegzRwheelz said: I am facing the same exact issue with xenia. I am rather hearsed in AHK so this is really baffling to me as I have tried multiple methods of closing the emu. I have tried $Esc:: { Send !{f4} Return } Which does nothing. I even tried; $Esc:: { Process, Close, Xenia_Canary.exe Return } and SetWorkingDir %A_ScriptDir% if not A_IsAdmin Run *RunAs "%A_ScriptFullPath%" $Esc:: { Send !{f4} Return } and for good measure, i tried $Esc:: { if !A_IsAdmin Run, % "*RunAs " (A_IsCompiled ? "" : A_AhkPath " ") Chr(34) A_ScriptFullPath Chr(34) RunWait, TASKKILL /F /IM Xenia_Canary.exe /T,, Hide Return } Yet no matter what I try, it only exits fullscreen. Did you ever figure this out? In the Xenia config you can set to start in fullscreen but I have not found an option that works to exit with a controller. And yes I have Launchbox "Exit Game" set to Button 7 & 8 and Big Box "Close the Active Window" set to Button 7 & 8 Quote
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.