buttheadrulesagain Posted July 23, 2015 Posted July 23, 2015 Hello! I hope you can help me. I configured zsnes so that the esc key will exit the emulator, as the ahk file says (editing the configuration file), and it works when I run the emulator outside hyperspin. But when I run it from hyperspin it doesn't work at all. Curiously, when I map the quickexit button to a different key (for example, q) it works when running with hyperspin. My other systems exit correctly with esc (downloaded them pre-configured). Thank you! Jorge
ninja2bceen Posted July 23, 2015 Posted July 23, 2015 Be sure the emulator exit setting is set to esc too. Also use an alternative exit key maybe 5 and 1 at the same time. Many emulators require you to use the alternative exit key since esc doesn't always play nice within the emulator (Tapatalk) Advance the cause to 100%. http://hyperbase.hyperspin-fe.com/ Planet Geekdom, Subscribe for Tutorials! https://www.youtube.com/channel/UCdcby-s2GwriaOHGmVC2vGA?sub_confirmation=1&app=desktop
buttheadrulesagain Posted July 23, 2015 Author Posted July 23, 2015 Thanks for responding. I think I already did what you said: escape is the exit button I set in zsnes, and it does exit the emulator when I run it without hyperspin. It is when I run it through hyperspin when it doesn't work. And it only seems to be a problem with escape, if I set "q" as the exit key it will exit both when running through hyperspin and when running alone.
ninja2bceen Posted July 23, 2015 Posted July 23, 2015 Right. Within hyperhq/rocketlauncher make sure the exit is set to something also so you have an alternate kill switch (Tapatalk) Advance the cause to 100%. http://hyperbase.hyperspin-fe.com/ Planet Geekdom, Subscribe for Tutorials! https://www.youtube.com/channel/UCdcby-s2GwriaOHGmVC2vGA?sub_confirmation=1&app=desktop
buttheadrulesagain Posted July 23, 2015 Author Posted July 23, 2015 Ok, I tried disabling Hyperlaunch and it doesn't begin with the game I selected, but escape will kill the emulator. Hyperlaunch seems to be doing something that blocks escape. Reason I want escape to be the exit is that I'm doing this for an arcade cabinet, so to have only one key to exit all emulators.
Jamie1 Posted July 23, 2015 Posted July 23, 2015 I would still change the exit key to something else, As stated Esc doesnt always play within an emulator, i use comma as my exit key because it isnt likely to be used for anything else and then map all the emulators with this key! Works well in my Cab!
buttheadrulesagain Posted July 23, 2015 Author Posted July 23, 2015 Here is my ahk file for zsnes: ;---------------------------------------------------------------------------- ; Super Nintendo ; Znesw 1.51 ; by Shateredsoul ; 1.1 ; ;Info: ; ;Make sure you set quickexit to your escape key while in ZSNES. ;If you want to use Esc as your quick exit key, open zsnesw.cfg ;with a text editor and find the lines below. Set KeyQuickExit ;to 1, as shown below. You can't set the quick exit key to ;escape while in the emulator, because that's the exit key to ;configuring keys. ; ;Quit ZSNES / Load Menu / Reset Game / Panic Key ;KeyQuickExit=1 ;KeyQuickLoad=0 ;KeyQuickRst=0 ;KeyResetAll=42 ; ;---------------------------------------------------------------------------- Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Process, WaitClose, %executable% ExitApp CloseProcess: return
buttheadrulesagain Posted July 23, 2015 Author Posted July 23, 2015 I would still change the exit key to something else, As stated Esc doesnt always play within an emulator, i use comma as my exit key because it isnt likely to be used for anything else and then map all the emulators with this key! Works well in my Cab! That's what I was thinking too, just setup any generic key. If you say it works for almost any emulator, I guess it's fine, but it still bugs me that nobody seems to have the same problem I have. Everyone has problems launching the emu, or not knowing how to setup escape as the exit key. Thanks!
Jamie1 Posted July 23, 2015 Posted July 23, 2015 I struggled with esc in zsnes if I remember correctly. I think it was mapped somewhere else hidden deep and it took me ages to sort it. Sent from my iPhone using Tapatalk
buttheadrulesagain Posted July 23, 2015 Author Posted July 23, 2015 I did what you told me jamie1, I just put "q" as the killswitch for the few emulators I have added so far. I hope other emulators are flexible on this . Thank you for the suggestion!
buttheadrulesagain Posted July 26, 2015 Author Posted July 26, 2015 Now I got it! I can make emulators exit with any key I want by using the following ahk script at the end (example is for Fusion which doesn't have any exit key setting) to set "q" as exit (alt+f4): ;---------------------------------------------------------------------------- ; Sega Genesis ; Fusion 3.64 ; by BBB ; 1.0 ; ; Don't forget to setup your bios or you might just get a black screen. ; ;---------------------------------------------------------------------------- ;Params params = -auto -gen -fullscreen Run, %Executable% %params% "%romPath%%romName%%romExtension%", %EmuPath%, Hide Process, WaitClose, %Executable% q:: send !{f4} ExitApp CloseProcess: return
buttheadrulesagain Posted July 26, 2015 Author Posted July 26, 2015 Heh, I know I know, but at least I get to start understanding ahk, such a nice tool.
connorsdad Posted July 27, 2015 Posted July 27, 2015 Ahk is great for all sorts of things, it's used through out my setup for various tasks. Before getting into hs I'd never even heard of ahk Sent from my SM-N9005 using Tapatalk
Recommended Posts
Archived
This topic is now archived and is closed to further replies.