Frontend Tech + >> MAMEUI & IV/Play
View all threads Index   Flat Mode Flat  

what2be
MAME Fan
Reged: 07/25/04
Posts: 13
Loc: Eureka, CA
Send PM
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

http://ultimarc.com/aimtrak.html

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.
ctrlr
mouse 0
joystick 1
lightgun 0
multikeyboard 0
multimouse 1
steadykey 0
ui_active 0
offscreen_reload 1

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:

paddle_device mouse
adstick_device keyboard
pedal_device keyboard
dial_device mouse
trackball_device keyboard
lightgun_device lightgun
positional_device keyboard
mouse_device mouse

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.







Entire thread
Subject Posted by Posted on
* light guns in mameui32 152 roblipsett 03/10/14 04:16 AM
. * Re: light guns in mameui32 152 TafoidAdministrator  03/10/14 04:20 AM
. * Re: light guns in mameui32 152 roblipsett  03/10/14 01:42 PM
. * Re: light guns in mameui32 152 vicdreyer  03/11/14 05:08 PM
. * Re: light guns in mameui32 152 what2be  06/16/14 12:38 AM
. * Re: light guns in mameui32 152 kusunagix  04/18/15 02:41 AM
. * Re: light guns in mameui32 152 vicdreyer  04/21/15 09:42 PM
. * Re: light guns in mameui32 152 Braveheart  05/03/15 07:06 PM
. * Re: light guns in mameui32 152 vicdreyer  05/04/15 03:11 PM
. * Re: light guns in mameui32 152 Braveheart  05/04/15 06:55 PM
. * Re: light guns in mameui32 152 kusunagix  05/04/15 05:11 PM
. * Re: light guns in mameui32 152 vicdreyer  05/05/15 03:50 PM
. * Re: light guns in mameui32 152 Braveheart  05/06/15 02:00 AM
. * Re: light guns in mameui32 152 vicdreyer  05/06/15 03:35 AM
. * Re: light guns in mameui32 152 Braveheart  05/06/15 04:04 AM
. * Re: light guns in mameui32 152 vicdreyer  05/06/15 05:00 PM

Extra information Permissions
Moderator:  John IV 
0 registered and 6 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9006