Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi guys, Its been a long time but i have restarted my arcade project and i am hoping to complete it this time.

A lot of things has changed the last time i used GameEX from last year and its all good.

I am having a problem mapping the ESC Key to exit Project64 & Jnes.

I have tried everything i can remember BUT when i press the ESC key it just exit from full screen and not exit back to gameEX.

Here is a screenshot of the settings:

sv0vsw.jpg

Any help would be GREAT as i just can not work it out.

Thanks

Posted

They need an advanced configuration to send the key combo each emulator uses to exit. I think PJ64 uses ALT+F4 but not sure offhand. So in this example you would check the box that says "map escape" and in the field that says "keys to send on exit" you would put in %{F4}. No idea what JNES uses, I use Nestopia as per NonMESS suggestion.

Make sure also that you don't have the global escape setting turned on under input settings. Using that fubars your exit combos I'm pretty sure.

Posted

I use both emulators. Advanced Configuration worked great for me, but now I prefer the global exit key.

Speaking of Project64, I would suggest to set a 600ms delay time before processing the combo key, as I did, or otherwise you may experience an error sound from the emulator being closed abruptly. Not an issue of course, just an annoyance. This way I was able to exit the emulator cleanly.

P.S.: As Adultery said, you have to use ALT+F4 to close these emulators. Type %{F4} in the corresponding box.

Cheers,

Alpha.

Posted

That's well odd, because as you can see from the screen shot above, that is how i have it setup

Also global escape setting is turned off.

I might give global escape a go, if i can not work out the problem.

Posted

That may not be the combo either. You'd have to check the readme to be sure.

I'm going to be switching to global escape too. It just makes sense to use one combo for everything. Hopefully it goes smoothly. Documentation on this feature is pretty sparse. Feel free to report back with your results if you do decide to go that route. :)

Posted

Well... ESC is the predefined key to close current rom and return to the emulator GUI (Project64). This is the way the emulator works. Try it outside of GameEx and you'll see.

I set %{F4} instead, to close the emulator directly... using a gamepad is very simple to manage.

EDIT: As a side note, I have few systems emulated, and I can say that the global exit combo does not work with everything. I configured 4 buttons in my gamepad so that, if pressed together, they should trigger the process closure. And so they do, but not with everything: WinUAE (Amiga Emulator), for example, is not affected by the global combo key. ESC, instead, works always with each emulator I've tested.

Posted

So for these keys in advanced configuration to be sent you set them up and then set the global escape hook?

Example: I need to send Alt+X to close Nestopia. So I set up the combo in the global exit section of input settings. Then I enable the advanced configuration with %{X} in it. Now when I press my predefined combo it sends ALT-X to close it? Or does it just kill the process and return to GameEx?

The GameEx website documentation doesn't mention the global escape option at all.

Posted

Why do these emulators need an advanced config anyways? Why not simply set the Map Keys to Yes in Emulator Setup?

Set MapKeys to true to close the applications process if Back or Escape are pressed. If this is on when the button or key is pressed, the application will close and focus will return to GameEx. This won't work if Command is a batch file.

Posted

I always try to quit my emus gracefully if I can. Mapping just kills the process right? What about emus that don't back up the SRAM until the emu exits? Although afaik you can change this setting in most emus, if not all of them. :)

Posted

I always try to quit my emus gracefully if I can. Mapping just kills the process right? What about emus that don't back up the SRAM until the emu exits? Although afaik you can change this setting in most emus, if not all of them. :)

Correct! That would be the only time it would be needed. ;)

Posted

Mapping just kills the process right?

Not necessarily. It should actually try sending it a WM_CLOSE message first. That should close the application gracefully but I'm not entirely sure how Tom's implemented it.

Posted

Hi,

Speaking of Project64, I would suggest to set a 600ms delay time before processing the combo key, as I did, or otherwise you may experience an error sound from the emulator being closed abruptly.

Where can I find the option for set up the delay time before of the emulatorâ??s closing?

Thanks.

Posted

Do you hear that "error" sound when closing Project64?

Anyway, look at the attached image.

If you click on the question mark in the "Keys To Send On Exit" section, you get all the commands available.. and they are a lot. Speaking of your question, these are abstracts from the help menu:

{DELAY X}

Delays sending the next key of X milliseconds. After the delaying the following key, the subsequent keys will not be further delayed unless there is a default delay value (see DELAY=X).

Example: {DELAY 1000} <-- delays subsequent key stroke for 1 second.

{DELAY=X}

Sets the default delay value to X milliseconds. This will cause every key to be delayed X ms.

If a value is already set and you specify {DELAY Y} you will have your following key delay Y ms but the subsequent keys will be delayed X ms.

Example: {DELAY=1000} <-- all subsequent keys will be delayed for 1 second.

Hope this helps.

Alpha.

EDIT: Since Tom implemented the global exit key, I noticed there is no need to use an advanced config file. Dunno why, but it seems that it closes the emulator more "gently". Different emulators, like WinUAE, refuse to close and require an advanced config file.

post-8367-0-48551600-1320028163_thumb.jp

  • 2 months later...
Posted

Lurker, any fix for this yet? I have the same exact issues on a brand new install of GameEx and Project64. This is my first time setting up Emu's beyond MAME, so I am sure it's just me, but if you have a solution, I appreciate it.post-9187-0-47965400-1325549550_thumb.jp

Guest
This topic is now closed to further replies.
×
×
  • Create New...