Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Solution for MAME crosshair only going to screen corner with AIMTrak  (Read 3150 times)

0 Members and 1 Guest are viewing this topic.

johnk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:January 17, 2019, 04:29:50 pm
  • I want to build my own arcade controls!
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.

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: Solution for MAME crosshair only going to screen corner with AIMTrak
« Reply #1 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%. 

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: Solution for MAME crosshair only going to screen corner with AIMTrak
« Reply #2 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.

johnk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:January 17, 2019, 04:29:50 pm
  • I want to build my own arcade controls!
Re: Solution for MAME crosshair only going to screen corner with AIMTrak
« Reply #3 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.)