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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted
  Visitor Q said:
I want lower case "r" and numpad "2" to exit a game in Game Ex to bring me back out to the front end.

Try this one..

Hold the keys for about 2 secs

If the other script is still running in the taskbar close it. Im doing this script on a laptop...eg no full keyboard... Im testing it with the regular 2 then replacing the line. with numpad2... It closes emus for me and brings me back to gameex.. See if this version is better.

script.zip

Posted

I gave the new script a go last night and had no luck with this one either.

More or less what happens is after I run or try and use it, the one key that is programmed no longer works which causes me to have to restart windows altogether.

:huh:

Posted

You don't have to restart Windows, you just need to kill the script. It might be a good idea to add the following to the script:

^c::exitapp

This will allow you to exit the script by pressing ctl-c (common for quitting applications). I don't have AHK installed on my work machine, so I can't decompile the script to see what Brian has done in it, but it should be really simple. It should be pretty easy to make it work.

Posted

VisitorQ,

I think the issue is MAME's input system. Did you try a diffrent emulator? If you want that key combow to exit MAME. Do the following. Launch MAME,Press TAB,Goto Input Settings,Other Controls, Look for UI CANCEL, Press your Select button(Enter) then press NUM2 and r at the same time.

Now that should work for mame.

The script should work for all other emulators.

Brian Hoffman

Bkenobi my scripts look like this

Numpad2 & r::Send, {blind}{escape}

Numpad2 & r::Send Input, {escape}

Numpad2 & r::Send, {escape}

All the samples I attached as EXE's worked for me... I dont understand why they are not working. Unless its the above scenerio.

Posted

I guess I assumed this was being used for emulators other than MAME as well. If you want to use this for MAME, then you need to use an older version (0.116 or older). There's really no need for an external script in MAME though as you can just use what Brian suggested and set the keys as necessary in MAME itself.

  • 1 month later...
Posted

Perhaps I am misunderstanding... but in case I am not, I think this can be accomplished using the "Advanced Config" option under each emulator in the GameEx Advanced Configuration. I control GameEx using gamepad, and I wanted every emulator to exit when I pressed the "SELECT" and "START" buttons simultaneously.

In the "Gamex\CONFIG\EMULATORS" directory, there are a number of custom mapping files in there. I duplicated one of them, gave it a custom name, and then in the [GAMEPADEXIT] section I did the following:

[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=True
Button10=True
Button11=
Button12=

Buttons 9 and 10 on my pad correspond to the SELECT and START buttons on my pad (which I determined from the "Game Controllers" control panel in WinXP). So, essentially, when both of those buttons are pressed, it will exit the emulator.

The only other thing to do is to go into each emulator in the GameEx Advanced Configuration, find the option labelled "Advanced Config" and select the new custom config file that you had just created.

Again, my apologies if this isn't exactly relevant to your question.

-Greg

  • 3 weeks later...
Posted
  Visitor Q said:
I did not see it; could you be a little more specific?

See what I am trying to do is this, I have programed my X-Arcade to the following (see attached). The problem is, now that it is configured that way how do I tell Game Ex to see that I now want to push "R" and "Num 2" to exit a game?

Is this even possible???

Why don't you hardwire 2 & 4 and add a new push button to your controller?

Posted

You can do that, but it may clutter up the CP in an undesirable way. I personally have my pause and exit buttons hard wired this way, and it works fine, but keep in mind that some emulators won't think too kindly of it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...