Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Quick Lightgun Question in Mame118  (Read 2766 times)

0 Members and 1 Guest are viewing this topic.

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Quick Lightgun Question in Mame118
« 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 :)

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Quick Lightgun Question in Mame118
« Reply #1 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.
Robin
Knowledge is Power

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Quick Lightgun Question in Mame118
« Reply #2 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)


brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: Quick Lightgun Question in Mame118
« Reply #3 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
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Quick Lightgun Question in Mame118
« Reply #4 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:   

brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: Quick Lightgun Question in Mame118
« Reply #5 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.
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Quick Lightgun Question in Mame118
« Reply #6 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

Cananas

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:August 27, 2017, 07:39:03 am
  • and the seventh day... PacMan was created
Re: Quick Lightgun Question in Mame118
« Reply #7 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.

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Quick Lightgun Question in Mame118
« Reply #8 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


sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Quick Lightgun Question in Mame118
« Reply #9 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: