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

I want to configure Game Ex to custom controls I have mapped to my joystick. Should I do this via the Game Wizard Setup with the Keyboard Input option or is there some sorta ini file I can edit?

Also the reason I ask is because the keyboard input does not look like it offers all the options of Game Ex to be programmed.

Thanks.

Posted

Was doing a little reading... Let me see if I got this right.

I program my X-Arcade to the set keys with Mode 2 and verify in notepad.

Then I look in the scancodes.txt to get the number of the set program key.

example... If I make button 1 on my X-Arcade "A", the scan code is "30 A".

So... I open custominput.ini and for "Select=", I would "30"?

Correct?

Q: Can I map the the keys and buttons GameEx uses to something else on my keyboard or game controller?

A: Yes look in the GameEx 'Config' folder for a file called custominput.ini. Open this file with notepad (Start - Run - Notepad - [OK]). For a keyboard - reference the file 'scancodes.txt' and put the appropriate scan code number after the equals sign for each navigation control in custominput.ini. For a game controller use the appropriate button number. To see what your buttons are on your controller, test the game device via windows control panel.

To then use the custom input configuration, turn it on under the input settings in the configuration application.

The thing I don't understand is this, in that file not all the options are listed to configure. Let's say to exit a game, how do I customize that option or to exit Game Ex?

Below is a list of all the option currently in that file that can be configured, how do I custom config. the rest?

[KEYBOARD]

# Scan Code Number

# See Scancodes.txt for a list of Scan Codes specific to your system.

# If file not there, run GameEx.

# To assign more than 1 key to a control, seperate scan code with |

Select=

Back=

Shift1_Paging=

Shift2_Volume=

up=

down=

left=

right=

PrevTrack=

NextTrack=

Home=

StopStartJuke=

Posted

You can setup keys to exit the emu using the advanced emu config.

That is accessable from the emu config itself under advanced controls I believe. (use gameex advanced config)

Also use SETUP WIZARD to define gameex controls easily.. I believe its under Input settings.

Posted
  Brian Hoffman said:
You can setup keys to exit the emu using the advanced emu config.

That is accessable from the emu config itself under advanced controls I believe. (use gameex advanced config)

Also use SETUP WIZARD to define gameex controls easily.. I believe its under Input settings.

The wizard has limited options with Input Settings, see attached picture...

"advanced emu config" brings up the following in note pad under input settings.

[KEYBOARD]

# Scan Code Number

# See Scancodes.txt for a list of Scan Codes specific to your system.

# If file not there, run GameEx.

# To assign more than 1 key to a control, seperate scan code with |

Select=30

Back=48

Shift1_Paging=46

Shift2_Volume=32

up=71

down=73

left=77

right=75

PrevTrack=82

NextTrack=72

Home=199

StopStartJuke=29

Which again does not have all the menu options that I would like. Do I have to add them or something? Like how would I add "exit game" which is currently sat to "Controller Escape key equivalent".

See what I am trying to do is customize every X-Arcade setting on this page.

http://www.gameex.net/Support/DefaultContr...61/Default.aspx

There has got to be 3 times more option there than what is listed to configure under input settings in Game Ex. Game Ex has got to ull this information from some place...

post-4729-1218558464_thumb.jpg

Posted

Let me try and word this another wayâ?¦

On the link you sent me, "Exit Game" default is sat to "Player 2 and Right Flipper" with the X-Arcade. How can I change that to "button 1 and button 2" or can't it be done?

Another example... "Create Snaps" is sat to "Button 3 + Player 1 Start Button". How can I change that to "Button 1 + Player 1 Start Button".

I don't understand how these can be changed when they are not listed in the custominput.ini to change.

Understand or is it mean who is missing something?

Posted
  Brian Hoffman said:
Its got to be in the gameex.ini/

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???

post-4729-1218563927_thumb.jpg

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???

For MAME the best way is to press TAB while in game .. goto input settings, Other controls and look for UI cancel..

Then enter your key combo.

There may be a way to remap ESC from gamex but Im at work right now and dont have everything in front of me,,

You can alway create a quick AHK script to remap your button combo to ESC... Then it would work for everything.

Brian Hoffman

Posted
  Brian Hoffman said:
For MAME the best way is to press TAB while in game .. goto input settings, Other controls and look for UI cancel..

Then enter your key combo.

There may be a way to remap ESC from gamex but Im at work right now and dont have everything in front of me,,

You can alway create a quick AHK script to remap your button combo to ESC... Then it would work for everything.

Brian Hoffman

Yeah... I am not worried about doing any configuring to the emulators at this point, only worried about the Game Ex functions with in Game Ex.

Could you look and then post when you get home please? I would really appreciate it!

Not sure what an AHK script is or how to create it but Iâ??m willing to try if you want to explain it to me.

Thanks so far.

I hope I am not going about all this wrong as it seems like a lot of effortâ?¦ I mean maybe I should just change those two keys back to default?

If I just knew where Game Ex gets it information as to default 4 & 2 = esc of a game I could change it and everything would be golden (more or less).

Posted
  Brian Hoffman said:
What keys are 2&4? I could write a script tht says if gameex.exe process is running then reamp to ESC.. If not then exit.

that may help/

This is all I want to do please. Just tell me how to go about it.

I want to tell Game Ex to exit a game when I press "Num 2 and r".

Posted
  Visitor Q said:
This is all I want to do please. Just tell me how to go about it.

I want to tell Game Ex to exit a game when I press "Num 2 and r".

Goto AHK (autohotkey forum...) Look up keyremapping.. then compile the script.

Or wait for me to do it.. I should be home in a couple hours.

Posted

The AHK script will look something like:

2&r::{Escape}

That's not exactly right since I know the keys are not right, but that's effectively all there is to the script. If you want to make it work only in a given app, then you can add an IfWinActive statement to it. The AHK documents are easy to understand. But, like Brian offered, you can just wait for him if you don't feel comfortable with AHK yet.

Posted
  bkenobi said:
The AHK script will look something like:
2&r::{Escape}

That's not exactly right since I know the keys are not right, but that's effectively all there is to the script. If you want to make it work only in a given app, then you can add an IfWinActive statement to it. The AHK documents are easy to understand. But, like Brian offered, you can just wait for him if you don't feel comfortable with AHK yet.

Yep Bkenobi thats the jist of it.. Id think Id do a ifprocessexist gameex.exe.

I dont think it would be the active winow if he wants it to close emus.. but he may not want that script running all the time.

Oh well Im just leaving work so I should be home soon... Within a hour then Ill get to work again.

hehehe

Posted

Yeah, I was thinking it would be a IfWinActive GameEx...Then {Nothing}....Else remap...

But then I guess there's probably also a IfWinNotActive or something to that effect as well.

Posted
  Brian Hoffman said:
I can play n64 games using my IPAC,,, But I dont have any sensivity on the analog obviously.. So its either all the way or nothing.. Most games play ok... Others not so much.

Ok, Im not done with this but please test it and let me know if it works.

Run the EXE and see if you can exit the games using your key combo.. Test with ESC first to be sure that indeed does close it.

Brian hoffman

script.zip

Posted
  Brian Hoffman said:
Ok, Im not done with this but please test it and let me know if it works.

Run the EXE and see if you can exit the games using your key combo.. Test with ESC first to be sure that indeed does close it.

Brian hoffman

Thank you very much. I will try it this evening when I get home from work and report back but I have to ask, where do I load this into Game Ex?

Posted

Once you know it works, then you have two choices. If you use this for all emulators, you could leave it running all the time. If you only use it for certain ones, then you could also choose to add a reference to it in the launch before or launch also. Depending on how the script is written, it may quit when you hit the combo. If it does, then you will want to add it to the launch command. If it doesn't, you can do either, but if you use the launch command, you will want to use a launch after 'taskill <script name>'.

Posted
  Brian Hoffman said:
Yep!

Did it work out for you?

I have not had a chance to try it but will do so when I get in from work today and report back, thanks!

Posted
  Brian Hoffman said:
Are you using the NUMPAD2 specifically or the regular 2?

It makes a diffrence..

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

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...