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

exiting all emulators by pushing start+select on ps2 pad?


Recommended Posts

Posted

is there an option i can set in gameex so for all emulators i'm playing i can exit any one by pushing start+select at the same time? i want to be able to play without the keyboard at all.

Posted

Look in "C:\Program Files\GameEx\CONFIG\EMULATORS" for examples of advanced configs that allow you to set what buttons on your gamepad can be used in combination to exit.

You'll need to set it up how you want then enable it on the second page of of your Emu's setup page in GameEx's Advanced Configuration.

Posted

For MAME, you can just do this inside the MAME interface. Hit tab and go to the administration menu and adjust the key combo to whatever you want.

Posted

i see where to add the advanced configuration files to the emulators, but what do i have to put into the text file to recognize start+select equals exit? opening those text files in there didnt really help me much, rather confusing.

Posted

I think they use virtual keys for keyboard input (keyboard or keyboard encoder) or you can use buttons for joystick input. If you are using some form of keyboard input, you can check the VK.html file in the EMULATORS directory to see what code would be needed. I haven't used the advanced config files with a keyboard, so I could be wrong, but I know it's possible (and easy) with joystick input.

Posted
I think they use virtual keys for keyboard input (keyboard or keyboard encoder) or you can use buttons for joystick input. If you are using some form of keyboard input, you can check the VK.html file in the EMULATORS directory to see what code would be needed. I haven't used the advanced config files with a keyboard, so I could be wrong, but I know it's possible (and easy) with joystick input.

I used to do this...

In you control panel go to game controllers..When you press START an button lights up...lets say 4 and Select is 5

Now in the anvdanced config look here.

[GAMEPADEXIT]

#MAP Gamepad controls to exit and make controls exit process

MapGamePadExit=true

#Flag the controls that exit a game by placing True next to each control.

Left=True

Down=

Right=

Up=True

Button1=

Button2=

Button3=

Button4=True

Button5=True

Button6=

Button7=

Button8=

Button9=

Button10=

Button11=

Button12=

Now that you selected you buttons in the advanced config you need to tell gameex what to do when you pressed them..

Configure that here.

#When exiting an emulator via the above mappings, you can specify keys in the send keys format to send instead of having GameEx close the process to cleanly exit the emulator. Such as the Q Key or ALT F4 which is %{F4}

KeysToSendOnExit=q

So now when you press button 4 and 5 it will simulate that you press Q which closes the EMU. Altf4 works on just about everything but if the emus is set to close from a certian key then confiure the keysonexit accordingly.

Posted

I wanted to use this, but I didn't know what the delay was in holding down the buttons. Also, there is no way to use this for exitting MAME AFAIK. I want to have a delay since I use the 2 exit buttons for regular buttons as well, so I need a 2-5 second delay that you have to hold down the buttons so as not to accidentally exit.

Posted
I wanted to use this, but I didn't know what the delay was in holding down the buttons. Also, there is no way to use this for exitting MAME AFAIK. I want to have a delay since I use the 2 exit buttons for regular buttons as well, so I need a 2-5 second delay that you have to hold down the buttons so as not to accidentally exit.

Well I'am not sure what the delay is exactly. But it is not instant.

I WAS going to use the Select+Start to close mame but my select was coin and my start was p1 start..I did not want to accendently shutdown mame so I opted to go with a 4 button combo that is near impossable to not knowingly close mame. To take further protection againsed it I use mame plus which upon the IU cancel is pressed it asks if you are sure.

I never had any problems...

I always exited MAME by using the UICANCEL in controls setup(IN MAME).

All other EMUS I setup using the advanced config mapping to the same set of key I used to close mame.

Posted

Yeah, I had mine set up that way too so that 4 buttons exitted, but I was getting some wierd exits that weren't suppose to happen. It turned out that my coin buttons were a bit sticky (they are based on the coin reject buttons on the coin door), so I ended up writing an AHK script that checks if buttons 1 and 2 (P1B1/P1Start and P2B1/P2Start) were held down for a certain time (5 seconds seemed right for my application). It seems to work well, but there have been some strange reliability problems that I haven't taken the time to work out yet. I think it has to do with the selected application, but I haven't checked.

Posted
Yeah, I had mine set up that way too so that 4 buttons exitted, but I was getting some wierd exits that weren't suppose to happen. It turned out that my coin buttons were a bit sticky (they are based on the coin reject buttons on the coin door), so I ended up writing an AHK script that checks if buttons 1 and 2 (P1B1/P1Start and P2B1/P2Start) were held down for a certain time (5 seconds seemed right for my application). It seems to work well, but there have been some strange reliability problems that I haven't taken the time to work out yet. I think it has to do with the selected application, but I haven't checked.

Can you post you script so I could enjoy it? And possibly help iron out the bugs?

Posted

Yeah, I'll try to get to it this evening (I've got a lot going on at home right now, so I'm only free at work to deal with arcade stuff :P ).

Posted
Yeah, I'll try to get to it this evening (I've got a lot going on at home right now, so I'm only free at work to deal with arcade stuff :P ).

hahahha me too.

Ah the life of a network admin ;) very tough

Posted

Not quite an admin, but it feels like it. I'm an engineering analyst (CFD) and much of my time is waiting for the computer to do it's thing, so I get some pseudo down time in between neurotic episodes of system setup! :blink: It's kinda like being the computing equivalent to bipolar :D

Posted
where is the advanced config text file so i can do this? i can't find it.

Launch gameex advance config,Goto emulator,There is a advance config with a dropdown. Pick a config and choose edit.

post-816-1185750471_thumb.jpg

Posted

thanks brian, so i have all my emulators setup so i can exit them with my gamepad now.. but i was trying to setup mame to do the same, but when i hit tab and goto the mame menu i didnt see any administrative menu to select what keys i can use as exit.

Posted
thanks brian, so i have all my emulators setup so i can exit them with my gamepad now.. but i was trying to setup mame to do the same, but when i hit tab and goto the mame menu i didnt see any administrative menu to select what keys i can use as exit.

Press tab.. I believe its in other controls..Look for UI cancel... that will do what you need :)
Posted
got it, thanks! :D

Awesome :)

Just a thought though.. I would use l1,l2,r1,r2 +start+select to exit.. this makes it more on purpose.

In mame I use select as coin and start as p1 start and If your quick enough you can exit your game on accident

Posted

yeah, so far no problems, i've noticed in mame the games exit right away but for all my other emulators i have to hold start and select for about 3 seconds.. but i like it that way.

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