Re: light guns in mameui32 152
06/16/14 12:38 AM
This is my Tutorial for .153 and the Ultimarc AimTrak lightguns.
Mame 0.153 & Aimtrak Configuration
If your Aimtrak gun isn’t calibrated yet do the standard calibration by standing back at least 2 ft from your monitor and pointing the gun down and holding the trigger for 5 seconds. You should see the mouse cursor go to the top left of the screen and flash. Aim at it and shoot it, if you did it correctly the mouse cursor will then go to the top right corner of the screen. If it doesent, shoot it again until it does move to the top right corner of the screen. Now shoot it again, and then when it moves to the bottom center of the screen shoot it one last time.
Now, open up your web browser and download the latest Ultimarc Aim Trak utility currently (1.9) here: (The link is located about halfway down the page.)
DISREGARD ANY INSTRUCTIONS ON THE ULTIMARC WEBPAGE. JUST DOWNLOAD THE UTILITY
Start the utility and make sure it says device 1 and shows the firmware version currently (8.15)
Now,under the configuration tab, make sure you setup the button assignments as follows:
---------On Screen----------Off Screen
TRIG = Mouse LEFT-------Mouse RIGHT
AUX= ----------------------AUX= --------
P1= GP Button 1----------GP Button2
P2= GP Button 3----------GP Button4
Keep the Enable Cal box’s checked for both ON and OFF screen for TRIG, P1, and P2
Under Cal Delay set it at 60 (this is so when your playing games that have continuous fire by holding down the trigger you dont go into calibration mode.)
Make sure the Emulate Mouse circle is checked and then click on “Apply Changes”
Exit the utility.
Mame 0.153 configuration
NOTE: I am using mameui64.exe and my mame.ini is located in my \mameui64\ini folder. Do not get step 2 below confused with the mameui64.ini that is located where you have your mameui64.exe located.
Go to the mame.ini and change your settings so they match the ones below. The section your looking for is titled “Core Input Options” Change your settings so they match the ones below.
If you are using multiple keyboards you can change that value if you like but the Mouse, Joystick, Lightgun, Multimouse and Offscreen reload MUST be just like above.
Now go down a few more lines in the in the INI until you find this:
It doesent matter what any of these say EXCEPT these 2:
lightgun device lightgun
mouse device mouse
It needs to be set like this for it to work with games needing offscreen reloads as well as games requiring a second button assignment. (Ie, for grenades or such in games like Beast Buster)
Run mame and start any game you like.
After the game loads, Hit the TAB key and pick ”Input General” and then “Player 1 Controls”
Move down until the “P1 Button 1” highlighted. DO NOT PRESS ENTER!!
BEFORE you press enter, point the lightgun steadily at the screen and THEN press enter, and without moving the gun, pull the trigger.
It should say “Gun x B0” (where x could be 1 , 2, 3 etc.)
Move down one line until “P1 Button 2 is highlighted. DO NOT PRESS ENTER!!
BEFORE you press enter, again point the lightgun steadily at the screen and THEN press enter, and without moving the gun, push the button on the right side of the gun. It should say “Joy x B0” (where x could be 1 , 2, 3 etc.)
Move WAY down the list until you see “Lightgun X Analog Dec” Press “Enter” and then the “ESC” Key.
It should now say “NONE”. Do the same thing for “Lightgun X Analog Inc” and as well as for “Lightgun Y Analog Dec” and “Lightgun Analog Y Inc”.
Now go back up until “Lightgun Analog X” is highlighted. DO NOT PRESS ENTER!!
BEFORE you press enter, point the lightgun steadily at the center of the screen and THEN press enter, and move the gun slowly to the right until it says “Gun x X” (where x could be 1, 2, 3)
Now scroll down until “Lightgun Analog Y” is highlighted. DO NOT PRESS ENTER!!
BEFORE you press enter, point the lightgun steadily at the center of the screen and THEN press enter, and move the gun slowly to the left until it says “Gun x Y” (where x could be 1, 2, 3)
Scroll down until “Return to Previous Menu” is highlighted and then press enter, and again on the next screen. Now go start any lightgun game and it should work perfectly.
( I tested mine on Area 51 Maximum force and then on Beast Busters so I know those 2 work fine)
If you have any problems or suggestions feel free to post them.