Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: johnk on January 08, 2012, 02:56:52 am

Title: Solution for MAME crosshair only going to screen corner with AIMTrak
Post by: johnk on January 08, 2012, 02:56:52 am
I just got an AIMTrak for my MAME cabinet, and I was going crazy because in MAME the crosshair would always go to the corner of the screen, rendering the gun useless.  (It worked fine outside of MAME.)

I finally realized that it was because in the default.cfg or a specific game's CFG, there was:

<newseq type="increment">

...instead of:

<newseq type="standard">

I discovered this when comparing the CFG files generated by regular MAME64 (where the problem did not happen), vs the ones from MAMEUI64 (where the problem does happen).  For some reason, MAMEUI sets that "increment" value for me instead of "standard".  Maybe it's related to one of the numerous prefs I have set in MAMEUI, but after spending hours on this today I'm happy to have it working.

For anyone who may have that problem in a bunch of specific game CFG files, I found a nice free search utility called Agent Ransack that lets you search for strings in files, to get a list of all the CFG files with the word "increment".


Also, I was having a problem where MAME was seeing the 2 red gun buttons the same as the trigger, even though they work differently in Windows and are configured as right mouse button in the AIMTrak config app.  I worked around that by just setting them as "GP Button 1" and "GP Button 2" in the config app, after which MAME recognizes them as unique buttons.
Title: Re: Solution for MAME crosshair only going to screen corner with AIMTrak
Post by: Dawgz Rule on January 08, 2012, 05:56:16 am
Thanks for the post.  I noticed the same thing on my AIMTRAK but did not have the entries described.  Also noted the same button issue and used the same work around.  I still have to work through issues of the crosshairs jumping around in Mame.  I have had some success with adjusting sensitivity but it still isn't 100%. 
Title: Re: Solution for MAME crosshair only going to screen corner with AIMTrak
Post by: Dawgz Rule on January 13, 2012, 06:42:55 am
Also thanks for the tip on Agent Ransack.  Just so happens I needed to change the resolution on a number of my vertical game ini files and this will be a life saver.
Title: Re: Solution for MAME crosshair only going to screen corner with AIMTrak
Post by: johnk on January 13, 2012, 09:19:34 am
I think the bad value ("increment" instead of "standard") was getting set because of the version of MAMEUI I was using (I think it was 144.3).  That version seems to have some major problems with input detection when changing controls - maybe just a bad coincidence that I had that when I got my lightgun.  I think 144.5 has fixed those issues.  (I was trying to set the main lightgun axis control, not the inc/dec values.)