Build Your Own Arcade Controls Forum

Main => Lightguns => Topic started by: sac01 on September 02, 2007, 03:10:54 pm

Title: Quick Lightgun Question in Mame118
Post by: sac01 on September 02, 2007, 03:10:54 pm
Just Updated my Cab from 111 to 118 and now I can't get my actlabs guns (pc usb versions) to work again... They were working fine in 111.  What is the proper settings to go with under 118?  thanks :)
Title: Re: Quick Lightgun Question in Mame118
Post by: u_rebelscum on September 05, 2007, 07:11:05 pm
Just Updated my Cab from 111 to 118 and now I can't get my actlabs guns (pc usb versions) to work again...

Enable -multimouse and (probably) remap.  If the problem is you can't both working at the same time.
Title: Re: Quick Lightgun Question in Mame118
Post by: sac01 on September 07, 2007, 06:33:21 am
Thanks for the reply.  Yeah I tried setting it to that, when i go into the in game controls to config the lightgun inputs i'm getting player ones controls ok (p1 analog x = mouse 2 x  etc, )  but for player two I keep getting problems like (p2 analog x = mouse 2 & mouse 3 x)  So while player 1 works ok, it also controls sight for player 2... The best I have gotten through playing with all the settings is really weird, player one moves p2's sight and fires p1's bullet at it while p2 moves p1's sight and fires p2's bullet at it.

All this started with update to 118, Everything was fine in 111.  I've temp gone back to 111 till I can figure out)

Title: Re: Quick Lightgun Question in Mame118
Post by: brock.sampson on September 07, 2007, 10:00:50 am
In my mame ini I had to set the following to get my topguns to work correctly in 118

lightgun 1

lightgun_device lightgun

Also make sure you don't set dual_lightgun 1.  u_rebelscum helped me with that one.  That is only for the older act lab guns
Title: Re: Quick Lightgun Question in Mame118
Post by: sac01 on September 07, 2007, 11:43:21 am
Ok, I tried setting mame.ini as you said Brock.  Here's exactly what it's doing:

when I set:

p1 button 1          =  gun2 bo
lightgun x analog = gun 1x,  gun 2x

for some reason it see's the 'x' or 'y' as gun 2 & gun 1 for p1

Now on player 2 it does this:

p2 button 1        = gun3 bo
p2 lightgun x analog = gun 1x, gun 3 x   

and for some odd reason it reports it as movement on gun 1 and gun 3 (there's only 2 guns attached) :banghead:   
Title: Re: Quick Lightgun Question in Mame118
Post by: brock.sampson on September 09, 2007, 10:52:34 pm
Sorry for the late response it's been a busy weekend.  I'm a little confused by your last post.  Can you copy up the # CORE INPUT OPTIONS and # CORE INPUT AUTOMATIC ENABLE OPTIONS sections of your mame.ini.  I'm assuming you pulled your cfg files from mame 111 to 118.  Have your tried deleting the cfg file for a game and starting fresh?  Are your guns getting different mouse ids after you reboot?  I was running into that for a while until I got them on a dedicated card.
Title: Re: Quick Lightgun Question in Mame118
Post by: sac01 on September 10, 2007, 06:04:11 pm
Thanks for the reply again Brock.  I do a clean install in a different folder whenever i update my Cabinet.  Once I make sure all works as it should i copy stuff over, so no old config files getting in the way.

here's the sections of mame.ini:
# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     0
joystick                  0
lightgun                  1
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           lightgun
positional_device         keyboard
mouse_device           

It just seems to be a problem of mame thinking one gun is  both gun 1 and gun 2. not just gun 1 as it should be.

thanks
Title: Re: Quick Lightgun Question in Mame118
Post by: Cananas on September 11, 2007, 06:58:06 am
Set:

multimouse 1
offscreen_reload 1
lightgun_device lightgun

You can set lightgun 1, but once you set lightgun_device lightgun, the value of lightgun is always overide and set to 1.

Also, the new input code seems much more sensitive than the previous one when you are remapping. If you try to remap and get Gun2X Gun2Y, exit mame and open the <rom>.cfg file and edit it.
Title: Re: Quick Lightgun Question in Mame118
Post by: sac01 on September 11, 2007, 12:59:29 pm
Ok I thought i'd tried that but I'll go right now and give it a go.  thanks

Title: Re: Quick Lightgun Question in Mame118
Post by: sac01 on September 11, 2007, 05:00:16 pm
Same things as before. mame is seeing each gun as two guns. :

p1 button 1          =  gun2 bo
lightgun x analog = gun 1x,  gun 2x

for some reason it see's the 'x' or 'y' as gun 2 & gun 1 for p1

Now on player 2 it does this:

p2 button 1        = gun3 bo
p2 lightgun x analog = gun 1x, gun 3 x   


I've also tried going into the game .ini and changing the settings manually so it only has 1 gun but still same results durring game. :banghead: