Jump to content

Setting up two AimTrak Guns in Mame


brucelee00

Recommended Posts

Posted

Hey Everyone,

I am having a frustrating problem with setting up two AimTrak Lightguns to work in mame. Before you suggest... I have read all the documentation on Ultimarc site for the AimTrak and have looked at all the forum topics here and at byoac, but nothing to help me with my issues. I am using the advanced aimtrak utility provided by Ultimarc to calibrate and assign separate device ids to each gun. Both guns are responsive and work in windows, however when in mame and setting up the general config inputs for player 1 and player 2 I get the same input gun 1 x or mouse 1 x for both guns. I have tried every setting possible in the mame.ini with no resolve. For example i currently have lightgun 1 multikeyboard 1 multimouse 0 lightgun_device 1 potional_device 1 mouse_device 1 dual lightguns 0 i have tried turning some of these on and some off, but still both guns are showing as 1 input for example when i point both guns the are moving both cross hairs. I have tried uninstalling drivers for both guns, restarting the computer, assigning device id of 3 and 4. If anyone has run into this and or as a solution it would be greatly appreciated :) Thank you!

  • Replies 103
  • Created
  • Last Reply
Posted

Make sure you are not using a mame with direct input enabled. Mame needs to read from raw input in order to support 2 discreet mice.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Thank you very much djvj this was indeed the issue. Sorry I didn't get back sooner as I haven't gotten around to recompiling mame without forced direct input. Having force direct input disabled actually corrected a number of issues for me and not just the dual guns... anyways thanks again :)

Make sure you are not using a mame with direct input enabled. Mame needs to read from raw input in order to support 2 discreet mice.
  • 2 months later...
Posted

I am having the exact same problem. I am using Mameui64 148 which should already have raw input, correct? If not where do I go in the ini or gui to check for this.

Thanks

Posted

Do we not need direct input enabled for xpadder to work? I forget the reason I have it enabled. If this is the case is there a script or something that for all games mame (no gun) to have direct input enabled and for mame (with gun) have this disabled. I just like being able to go between my arcade and 360 controllers, that's why I am using xpadder.

Posted

Hi,

I've never configure those lightgun, but i think it act like mouse. So try to put multimouse enable in mame, and you'll have mouse1 for the first gun and mouse2 for the second.

Posted

Thanks for the suggestions but I have done everything that people from aimtrak to just mame forums and the problem is mame still see all mouse inputs as one. Doesn't matter if I enable multimouse which it is, whether I enable lightgun or not which I did, enable dual lightgun or not,enable mouse input which I did, control mapping of lightgun to mouse, none or, lightgun . It Just don't matter when I go to set up controls it sees every mouse input as mouse 1 even though I have 4 mouse inputs that work outside of mame. My 4 mouse inputs are 2 lightguns , x-arcade trackball, and a regular mouse. So this isn't a lightgun issue it is a mame issue not seeing the multiple inputs. Also both guns are set on separate id which I did via aimtrak config software. But let me say that even if I use my regular mouse or trackball it still register as "mouse 1 x-axis".

So my question to anyone is there any thing I can manual do inside the ini or cfg that can force mame to see the mouse inputs separately and not as one . I am running mameui64 version 148 .

Thanks in advance

Posted

I just look at how my mame is configured. I have two mouse: trackball and normal mouse. I tried mamui64 148 and it doesn't seems to work. Then I tried mameui32 148 and my two mouse are detected separately. Then I re-test mameui64 148and then my two mouse are working separately. It's very strange but now it seems to work with two mouse...but I can't explain why?!

Try the 32 bits version, perhaps it will work for you too...

Posted

By default mame is compiled with raw input and will see 2 mice. If you compile it with direct input it will work with xpadder but you lose the ability to use 2 mice.

Sent from my Samsung Galaxy S3

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Well shinobi68, it still didn't work but you lead me to an answer. I decided to download i different mame(groovymame) and when I went into configure it actually picked up the guns correctly. So I believe there is something weird going on with mameui version 148. So I guess I will roll with a different mame.

Thanks

Posted

Hey, it must be that?!

I'm using groovymame too. In my mame directory I have mameui64, mameui32 and groovymame. I use groovymame for hyperspin, and I can navigate through mame with mameui64. Certain games doesn't work very well with 64 bit version so I can launch it with mameui32.

Glad your guns works. I'd like to use aimtrak guns but I have not enough space behind my screen. Those guns apparently doesn't work when you're too close.

Posted

Well they say you need at least 2 feet but my guns work as close as 13 inches with no problems. These are the guns to get if you do decide. Had the EMS Topgun but drivers are to buggy for a 64bit system and would basically crashed even after doing the unsigned driver trick.

  • 1 year later...
Posted
how do you tell which version has raw input? and which ones don't

See below (or indeed a few posts above!):

By default mame is compiled with raw input and will see 2 mice. If you compile it with direct input it will work with xpadder but you lose the ability to use 2 mice.

Sent from my Samsung Galaxy S3

HyperSpin behaving oddly? Read about known bugs here: http://www.hyperspin-fe.com/topic/4590-known-bugs-and-handy-hints-for-hyperspin/

The installer for HyperSpin now includes HyperLaunch 2. Go here for support: http://www.hyperspin-fe.com/forum/122-hyperlaunch-2/

HyperLaunch3 is now called RocketLauncher. Go here for support: http://www.rlauncher.com/forum/content.php

Read this for ftp login info: http://www.hyperspin-fe.com/topic/2320-ftp-access-must-read/

Platinum members get 25% off an Emumovies subscription: http://www.hyperspin-fe.com/topic/1211-emumovies-code/

Posted

So I got the guns, individually, to reload by pressing the trigger offscreen, Great success! made both on screen and off screen left mouse button, made sure light gun = lightgun.

I still cannot get both guns to work at the same time though:/ any help? Testing this out in Area 51

Posted

So after hitting tab in mame. Setup gun two first, x analog and y analog for player 2 both say "gun 1", but when i do player 2's, it says "mouse 1"

Posted
So I got the guns, individually, to reload by pressing the trigger offscreen, Great success! made both on screen and off screen left mouse button, made sure light gun = lightgun.

I still cannot get both guns to work at the same time though:/ any help? Testing this out in Area 51

I will grab my ini.

Posted
So after hitting tab in mame. Setup gun two first, x analog and y analog for player 2 both say "gun 1", but when i do player 2's, it says "mouse 1"

In my ini folder I changed the .ini files per game. This was the only way I got 2 guns working and I ran every lightgun game and adjusted each ini. For area 51 as you said you are testing with that one. I cannot beat that game lol.

Look for the core input section and here is mine:

#

# CORE INPUT OPTIONS

#

coin_lockout 1

ctrlr

mouse 0

joystick 0

lightgun 1

multikeyboard 0

multimouse 0

steadykey 0

ui_active 0

offscreen_reload 1

joystick_map auto

joystick_deadzone 0.3

joystick_saturation 0.85

natural 0

joystick_contradictory 0

coin_impulse 0

Make sure yours looks like this. If you have any other inputs selected with a 1 you will get the guns showing as the same, or both buttons will map to the same button and other weirdness. Good luck. It took me 1 month to figure this out. The game specific .ini over rides the mame.ini afaik. If the game does not use off screen reload I set that to 0.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...