Main > Main Forum

Pulling my hair out - analog guns with Mame...help please!

(1/3) > >>

jhuie:
Ok, I've been fighting with this for weeks now and I'm stumped.  I configured a Lucky & Wild cabinet with a U-HID device which acts as a gameport controller.  Each gun is set up with the pots wired to the U-HID.  Gun one x and y axis are mapped to the first two analog axis on the U-HID.  Gun 2 x and y axis are the next 2.  Both of them control the crosshairs and move properly.  Gun 2 is aligned properly "out of the box" after running through the windows adjustment program.  But Gun 1....and this is making me want to throw the whole thing out the window....Gun 1 won't align properly.  It's always off in some way.   The x direction is close...but the y axis is way off.   It will be way to high when I first configure it.  If I run the U-HID program that lets you change the scale and offset then I can sometimes get it closer.  But it will always be off.  Either I can't get the crosshairs to go all the way to the top or bottom.  Or it will be off from where the gun is actually pointing.  Generally, the crosshairs will move faster than the gun itself.  In Windows configuration it seems to work perfect and tracks along the edges of the square.  But not with the gun in Mame. 

I even thought the pot must be bad.  So I disassembled the front, removed the pot and threw a new one in there.  But it does the same thing.  Is there someone out there, anyone who has done this or had a similar problem?  Do you know someone who has done this?  I'm desperate!!!!

Thank you.

jhuie:
Still no solution to this.  I guess I'm doomed to having gun1 shoot about an inch high and to the right of where I'm actually pointing the gun.

1UP:
I just thought of something from back when I had a set of Terminator 2 guns.  I think I had a similar problem at some point, and I think it was resolved by adjusting the range of the pot.  If your guns are similar to the T2 guns, then there should be a geared lever on the bottom of the gun base.  This moves with the gun as it is turned and meshes with the gear on the x-axis pot.  There is a similar setup on the side of the gun base for the y-axis pot.

Check the numbers when you are calibrating.  If it doesn't read close to 0 in its minimum position, and close to 255 in its max, try this:  Aim the gun's plastic sights at the middle of the screen and hold it there (have someone else hold it if necessary.)  Loosen the nut on one of the the geared levers (the one that is the problem), and adjust it until that axis calibration reads about 128.  Tighten the nut.  Move the gun thru its range of motion and the numbers should change all the way through.  If you find a dead spot along one edge, you may need to readjust.  Just try to get it so there is a pretty consistent range of input with no major dead zones.

Hope this helps!

Xiaou2:
You might also have a defective or worn pot... or the pot is the wrong type.

 There are linear and audio taper at radio shack.  I believe you want linear.
Where it goes like :  1,2,3,4,5,6,7,8,9...    instead of the other type which
is more like:  1,2,5,8,12,30,100...

jhuie:
Thank you for the tips...still no go though.  The guns don't have adjustments like T2 does.  They are just set the way they are going to be set it appears.  And I already tried swapping out the pot.   The one that was in there previously appeared to be unmolested and I suspect it was the original.  The new one I put in seems to work exactly the same as the original.

Navigation

[0] Message Index

[#] Next page

Go to full version