Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Turnarcades on June 12, 2014, 08:55:37 pm

Title: Need help quitting PC games with Escape key
Post by: Turnarcades on June 12, 2014, 08:55:37 pm
Boy it's been an eternity since I visited BYOAC, crazy couple of years!

Anyway, a stick in my arse was always trying to force games to quit using the escape key. I have managed to get round it with many systems but PC games were trickier. With SSF4AE I managed to find a program (well a little exe file) that you launched instead of the game exe, and it made it possible then to hit 'escape' to quit back to my frontend at any time. I cannot remember where I sourced this, and I've had nothing but headaches trying to use Autohotkey over the years, and I now just want to add SF X Tekken to my cab. Does anyone know a way I can force the damn game to quit using the escape key? Any help, much obliged!
Title: Re: Need help quitting PC games with Escape key
Post by: rockyrocket on June 13, 2014, 02:36:24 am
What front end are you on?.
Can you remap ESC to Alt-F4 just for this game using your fave AHK? (will  Alt-F4 quit the game for you?).
Title: Re: Need help quitting PC games with Escape key
Post by: EMDB on June 13, 2014, 08:12:53 am
What front end are you on?.
Can you remap ESC to Alt-F4 just for this game using your fave AHK? (will  Alt-F4 quit the game for you?).
That or map ESC to the key combination defined in the game.
Title: Re: Need help quitting PC games with Escape key
Post by: BadMouth on June 13, 2014, 08:50:15 am
I usually use autohotkey for such things.

ESC::
process, close, sfxt.exe (or whatever the exe is named)


That will kill the process, same as killing it from task manager.
That's the one I usually use, but sometimes the resolution won't revert to the original desktop resolution.

ESC::
Winclose, sfxt (or whatever the active window of the game is titled)

Sometimes you can figure it out by running the game windowed.
If not, there are autohotkey scripts out there that will record the active window names and help you figure it out.
This one is more of a PITA because you have to figure out the window name, but it doesn't screw up the resolution as often.

Once the script is made, you can right click on it and compile it to an .exe on a computer that has autohotkey installed.
That .exe will run on any computer, even if ahk isn't installed.
That's probably all the .exe you downloaded before was.

Personally, I don't use an exit button for the PC games since settings and save files can get corrupted.
I close them out properly through the game menu.