Main > Lightguns
Lightgun calibration issues with USB2GUN board in MAME
<< < (3/5) > >>
purbeast:
I am going to mess with the sensitivity settings tonight.  I am pretty sure I have them all set to 255 per the JollyWest pics/instructions but maybe it's too sensitive for my monitor for some reason.  Because it's almost like it is moving TOO fast along the X axis.
purbeast:
Well one thing that I noticed and it is kind of odd I think, is that the Joystick sensitivity stuff on the analog controls section for the X and Y axis, isn't doing anything.  Whether it is at the default value or set to 255 for everything, I get the same behavior as shown in that video.
purbeast:
Okay so now I am even more confused with what is going on...

I was messing around with MAME.ini and I got a clean groovyMAME one and compared them and made a couple changes, and still nothing.

I did try setting the deadzone value up higher, and set it to 0.5, and I definitely noticed a difference with tracking in the center of the screen, so I know it's reading that value from MAME.ini.

Then under the CORE INPUT AUTOMATIC ENABLE OPTIONS section I had both the lightgun_device and positional_device set to "joystick" which the USB2GUN is recognized as.

So I removed it from positional_device and no changes.

Then for shits and giggles I decided to remove it from lightgun_device as well, so that I had no devices set to "joystick", and loaded up MAME.

And to my surprised, I am STILL getting the same exact behavior.  It's still recognizing the happ gun for tracking even though I do not have joystick set anywhere in MAME.ini which is completely baffling to me.  I also checked it inside MAME itself and nothing was set to joystick either. 

I did notice that mouse_device was set to "mouse" still so I wonder if for some reason, MAME (or maybe the PC) is seeing the Happ guns also as a mouse input device?

I am going to see if I can play around with this more later on too, but if anyone has any ideas, I'm all ears.
purbeast:
Yeah I am kind of at a loss at this point.  I'm not sure what is going on.  I have tried different settings in the MAME.ini file and nothing.  I'm even starting to wonder how accurate it was in my other MAME cabinet when I was proof of concepting this.  I did have the crosshairs on when I was just seeing if it worked so perhaps it wasn't as accurate as I thought it was but I thought it was accurate because I could aim easier with the crosshairs on. 

It almost makes me think that because the screen is 4:3 and the joystick controller emulates a "4:4" in that it is just a circle, that it could be the reason this is happening. 

Like my monitor is 25".

Let's say it is 15" tall and 20" wide.

So to the top it is 7.5" off center.  But to the sides it is 10" off center.

It is almost as if when I'm aiming 7.5" off center horizontally that the tracking is showing it is at the edge at 10" off.  It just seems like it is kind of scaling the movement in that sense.

But then it baffles me how accurate Virtua Cop is especially when I'm hitting stuff right at the edge of the screen.  But perhaps that is because I'm running DemulShooter with Virtua Cop and maybe that is doing some trickery behind the scenes with translation of where the gun is tracking when the trigger is pressed.

For now though, I am completely stumped.

Anyone else who has USB2GUN with Happ Guns, is it like dead accurate with MAME? 
Jollywest:
I had this setup accurate to within a few pixels in MAME, so it definitely is possible.
However, I’ve taken the Emulator PC out of the cab now as my Americas Army Arcade is up for sale as a dedicated cab, so I can’t check through the settings.
I don’t remember having to mess with too many of the settings other than what was in the original thread that you’ve tried. I still link it might be a resolution issue.
Have you tried setting your desktop to 360x240, calibrating the guns at this res and then checking the accuracy in the mame game which is running at this resolution?
Navigation
Message Index
Next page
Previous page

Go to full version