Main > Software Forum
How-to: Make ZSNES exit when you press ESC
jaquer:
Hey guys, I just figured this out yesterday and I wanted to share it with the community in hopes that it helps somebody else.
I wanted to be able to exit ZSNES (one of the best SNES emus out there, IMNSHO), when I pressed ESC, since *all* other emus I use work that way. Well, I posted a request on the ZSNES board, but that led nowhere. Yesterday, armed with a lot of determination I reverse engineered a way to do this, here's the short-yet-semi-techie how-to:
Once you install and configure ZSNES to your liking (resolution, controllers, etc.), open the file ZGUICFGW.DAT using your favorite Hex editor. I like to use UltraEdit. Anyway, open the file and go to position 200. Change the bit there (it should be 00) to 01. What's 01, you ask, well it's a keyboard scancode! Save the file, run ZSNES again and rejoice on its new quick exit key. :D Once you do this though, ESC will no longer work as the menu key, so you need to change that bit back to 00 if you want to reset it. Please note, this works for me on my computer and should anything happen to your computer because you try it, please don't blame me. You're on your own here.
Anyway, for more details, please read the related thread at the ZSNES board. http://board.zsnes.com/index.php?board=5;action=display;threadid=2944
Have phun.
Minwah:
izaram, you've made my day :)
I've been trying to do this, and I posted on the ZSNES board too. I think someone suggested at the time they could add a 'Use ESC to quit' tickbox or something. But I didn't hold my breath...
I couldn't get HowardC's wrapper to work on this either unfortunately :(
I've been using the '3' (coin) button to quit so far, but I've quit more than a few times while accidentally 'inserting a coin'.
I'll get a hex editor and give your solution a try later, thanks again for your persistance :)
Now I just need some way of quitting Gens...
jaquer:
Hey man, just glad it helps at least one more person. :D
Now, if only I could find an Atari 2600 emu that works with XP.
Dude, we should be thinking about going to sleep soon (2:15 am my time).
Pax.
Minwah:
Hehe! Well my watch says 10:56 am. But..but that must mean I'm at work ;)
Minwah:
Just did this trick, and it worked a treat!!
Just make sure you edit address 200dec (C8hex) and not 200hex. And put the value 01hex and not '01' text or something.
Also, if you want to use the gui, you can run zsnesw.exe with no commandline options and the gui comes up anyway. Or just edit the .cfg file :)
Thanks again izaram!! ;D