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

"Exit Game" setup key (joypad)


Recommended Posts

Posted

Hello,

I'm using GameEx and X-arcade controller right now, and I'll change it soon for a joypad (hacked to plug pushbuttons,...).

With the X-arcade to quit games : you must combine "P2 Start" + "P2 coin" and it works.

Now since I have a 11 buttons joypad, I'm wondering if it's possible to assign the "quit key" (like button 10 or 11 for me) without a combination ?.

Actually but not tried yet, in the documentation I found Button 4 + 5 + 6 + Left-up, it's sounds like troublesome for game like "Street Fighter" can it be disabled ?

----

In the custominput.ini file I found:

[JOYSTICK]

#Button Number starting a 0

Select=8

Back=4

Shift1_Paging=3

Shift2_Volume=4

PrevTrack=6

NextTrack=7

Maybe a sort of "ExitGame" exist ? any others commands exits ? (if yes where I can found them ?)

I hope someone will find a way for me, I really need an "exit game" assigned to a button to run my (future) cabinet under GameEx.

Thanks In advance, cyb.

Posted

Hi cyb, welcome to GameEx!

You can use the 'advanced config' files in this folder to exit games with one button on your shiney new gamepad ;)

C:\Program Files\GameEx\CONFIG\EMULATORS

This example would make button eleven exit the emulators,

[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. To not use the control as part of the combination use a 0

Left=
Down=
Right=
Up=
Button1=
Button2=
Button3=
Button4=
Button5=
Button6=
Button7=
Button8=
Button9=
Button10=
Button11=0
Button12=

Copy one of the files in the folder & make the changes you want (be sure to make changes to the [GENERAL] section also, to make sure it works the way you want it to)

To enable the file for use with emulators, open up the emulator options in the configuration app, and select the file in the advanced config area.

P.S.

This config file this cannot be applied to mame.

If you want to exit mame with a single key, i would try using the 'run on launch' and 'run on exit' option in advanced mame settings to load and close a joy2key profile with escape mapped to one of the buttons.

There may be a better method for mame if you ask around.

Posted

Thanks a lot for this way it help me a lot, I also found another cool example in this forum with [JOYMAPPING]

next step, MAME32 :)

--

edit:

Well I've downloaded JoyToKey ( http://www.electracode.com/4/joy2key/JoyTo...h%20Version.htm

) and follow an earlier post from you:

GameEx Conf -> Advanced MAME Settings

-> Run On Launch :

start "" "G:\Program Files\GameEx\JoyToKey.exe" joy2key_mame.cfg

-> Run On Exit:

taskkill.exe /F /IM JoyToKey.exe

and now I manage to get what I wanted :)

Amos_82 you make my day !

Posted

yep another thing :

can I ride off this default joypad quit functions (Buttons 4,5,6 with Left-Up) ?

It's not so important , because I can set Button5 or Button6 as extra button(far from action) and put B10 or B11 as Fire Push Button instead in my case.

Posted

Im not too sure about that feature.

I would'nt worry about it though, its quite unlikely you'd press all those buttons at once by mistake. So i'd setup the buttons the way you want to, no need to avoid using them.

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