Jump to content
LaunchBox Community Forums

Ryujinx quit


Sbaby

Recommended Posts

@Koroth I just set up ryujinx on a few systems and 1 of them worked fine without needing an AHK, but the other 2 did (I am unsure why this would be the case, but I have seen this on a couple other emulators). So I tested the code below both with starting game in fullscreen and not starting in fullscreen and the games exited correctly back into LB and not into the Ryujinx UI. So give this a try.

ESC::
{	
    SetTitleMatchMode, 2
    WinWaitActive, Ryujinx
    Send !{f4}    			
}

 

  • Like 3
Link to comment
Share on other sites

1 hour ago, Retro808 said:

@Koroth I just set up ryujinx on a few systems and 1 of them worked fine without needing an AHK, but the other 2 did (I am unsure why this would be the case, but I have seen this on a couple other emulators). So I tested the code below both with starting game in fullscreen and not starting in fullscreen and the games exited correctly back into LB and not into the Ryujinx UI. So give this a try.


ESC::
{	
    SetTitleMatchMode, 2
    WinWaitActive, Ryujinx
    Send !{f4}    			
}

 

Really thanks, this works for me ??‍♂️

Link to comment
Share on other sites

7 hours ago, Retro808 said:

@Koroth I just set up ryujinx on a few systems and 1 of them worked fine without needing an AHK, but the other 2 did (I am unsure why this would be the case, but I have seen this on a couple other emulators). So I tested the code below both with starting game in fullscreen and not starting in fullscreen and the games exited correctly back into LB and not into the Ryujinx UI. So give this a try.


ESC::
{	
    SetTitleMatchMode, 2
    WinWaitActive, Ryujinx
    Send !{f4}    			
}

 

Thanks @Retro808. It works for me too. You learn something every day!

Link to comment
Share on other sites

12 hours ago, Retro808 said:

@Koroth I just set up ryujinx on a few systems and 1 of them worked fine without needing an AHK, but the other 2 did (I am unsure why this would be the case, but I have seen this on a couple other emulators). So I tested the code below both with starting game in fullscreen and not starting in fullscreen and the games exited correctly back into LB and not into the Ryujinx UI. So give this a try.


ESC::
{	
    SetTitleMatchMode, 2
    WinWaitActive, Ryujinx
    Send !{f4}    			
}

 

FYI,

This works for me if you press escape on the keyboard, but it does not work when trying to escape using a controller (in my case xbox 360).

To use a controller (or at least an xbox 360 controller) to exit, just leave exit script blank.

Link to comment
Share on other sites

3 hours ago, zugswang said:

FYI,

This works for me if you press escape on the keyboard, but it does not work when trying to escape using a controller (in my case xbox 360).

To use a controller (or at least an xbox 360 controller) to exit, just leave exit script blank.

Well it fixed the issue for the original poster and another member so that was the goal. But good to know as you have mentioned a couple times your set up does not need an AHK. The end goal is it works.

Link to comment
Share on other sites

2 hours ago, Retro808 said:

Well it fixed the issue for the original poster and another member so that was the goal. But good to know as you have mentioned a couple times your set up does not need an AHK. The end goal is it works.

It was just for your information seeing as you had seemed to spend a lot of time fixing it for them :)

Link to comment
Share on other sites

14 hours ago, zugswang said:

FYI,

This works for me if you press escape on the keyboard, but it does not work when trying to escape using a controller (in my case xbox 360).

To use a controller (or at least an xbox 360 controller) to exit, just leave exit script blank.

My controller xbox 360 works ?.

By merit of @Retro808 now I have no problem with keyboard Esc and/or with buttons for exit with my xbox360 
 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 i have the same issue, but this script does not work for me. I tried a lot of things, but i can't have any response from the script, like Ryujinx override the autokey process (or maybe, focus issue?)

 

My ryujinx response for ESC is like there is no autokey! It exit fullscreen mode to go in UI mode, like when i run the emulator alone! If i press Alt-F4 in fullscreen mode, it quit! So, i guess that autokey is not involved when i pressed ESC key...

I'm running Win10 20H2 full patched, Ryujinx full updated...

Any idea?

Link to comment
Share on other sites

1 hour ago, baboo1969 said:

Hi,

 i have the same issue, but this script does not work for me. I tried a lot of things, but i can't have any response from the script, like Ryujinx override the autokey process (or maybe, focus issue?)

 

My ryujinx response for ESC is like there is no autokey! It exit fullscreen mode to go in UI mode, like when i run the emulator alone! If i press Alt-F4 in fullscreen mode, it quit! So, i guess that autokey is not involved when i pressed ESC key...

I'm running Win10 20H2 full patched, Ryujinx full updated...

Any idea?

Where did you paste the autohotkey script?

Are you using a button combo to exit the game or are you just hitting the Escape key?

Link to comment
Share on other sites

Yes, i tried!   The script do not respond to a single message box!

I use the process close like Launchbox make it for 4do emulator. It works great for all my other emulators that need it!

I checked the processes, autokey is in memory and runs, but seems not to capture keys before Ryujinx! (Yes, i run as admin for all emulators)

Edited by baboo1969
Link to comment
Share on other sites

2 hours ago, baboo1969 said:

(Yes, i run as admin for all emulators)

Not sure why you run emulators as admin it is not needed. Also if you are running LB as admin that is not recommended at all. I would try running ryujinx not as admin and test the script I posted, 

Yes, we know one of the defaults LB uses for AHK on some emulators is the Process, Close command. It was discovered a while ago this is not a clean close command and we have been advising users to get away from that script wording. 

Link to comment
Share on other sites

It's working now!

I've used your script (Alt-F4), but the important thing was to remove the (run as admin) on the Ryujinx exec. I had set it next to a "elevation error" from Launchbox, and never go back! So, my LB is (run as admin) for the elevetion, and it works now!

Thanks for the help! Greatly appreciated!

 

Regards

Link to comment
Share on other sites

Just now, baboo1969 said:

It's working now!

I've used your script (Alt-F4), but the important thing was to remove the (run as admin) on the Ryujinx exec. I had set it next to a "elevation error" from Launchbox, and never go back! So, my LB is (run as admin) for the elevetion, and it works now!

Thanks for the help! Greatly appreciated!

 

Regards

You should never run Launchbox as admin, emulators either, elevation is only required BECAUSE of admin rights.

Link to comment
Share on other sites

  • 2 years later...
  • 6 months later...
On 3/1/2021 at 2:20 PM, Retro808 said:

@Koroth I just set up ryujinx on a few systems and 1 of them worked fine without needing an AHK, but the other 2 did (I am unsure why this would be the case, but I have seen this on a couple other emulators). So I tested the code below both with starting game in fullscreen and not starting in fullscreen and the games exited correctly back into LB and not into the Ryujinx UI. So give this a try.

ESC::
{	
    SetTitleMatchMode, 2
    WinWaitActive, Ryujinx
    Send !{f4}    			
}

 

Please excuse me if this sounds ignorant. I had this all set up a while ago but had to restart my whole set up, unfortunately. So I'm starting from scratch and I'm not remembering what I did before to get this to work. So I have a few questions if you don't mind me asking.

Can you tell me where you are placing this? My goal is to exit the game and Ryujinx and go back to launchbox using an xbox controller. I went into Options>Controller Mappings>Exit and set it to Button 7 + Button 8 (Start + Select) in BigBox. The script I quoted here needs to be used or not? I tried pressing start+select while the game is running and it did not exit. No action happened.

What am I doing wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...