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: Guncon2's and Mame Not Playing Nice  (Read 1647 times)

0 Members and 1 Guest are viewing this topic.

Goatz18

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:September 06, 2021, 06:53:51 pm
  • The Bringer of Destruction and Doom!
    • Arcade Project Alpha
Guncon2's and Mame Not Playing Nice
« on: February 10, 2010, 01:36:24 pm »
I have two Scorpion3's, Windows XP, Wingun 0.82b, and Mame 0.129. The guns are detected and calibrated perfect in Wingun, I can track the pointer and press all the buttons and they all do whatever I tell them to do. Everything is seamless.

I did find out that in Mame 0.129 the buttons don't work but if you use the guns as mouse clicks it does and so I use Mouse 1 and 2 for Gun 1, and Mouse 3 and 4 for Gun 2.

Here is my Mame.ini which I made exactly like chrisnack's
#
# CORE INPUT OPTIONS
#
coin_lockout              0
ctrlr                     
mouse                     1
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            lightgun
pedal_device              keyboard
dial_device               keyboard
trackball_device          mouse
lightgun_device           lightgun
positional_device         keyboard
mouse_device              mouse

dual_lightgun 1

I also tried so many combinations of settings in Mame.ini it's ridiculous.

My test game is Zombie Raid. When I load up Zombie Raid, I get no tracking or shooting whatsoever. I still get the flash, but the cursers don't move with the guns. To set P1 Trigger in the Mame input for the game I hit enter on it and click the trigger on gun 1 but no button input is marked and it still waits for me to press any button. But again, it does register outside of Mame so it can't be the guns or the driver.

The weirdest thing is the lack of any tracking, I have heard of people on this forum describe that they have tracking but no shooting in Mame 0.129, but no one has a problem with both. I can't even get my regular mouse to track in game which would eliminate the possibility of my screen not being bright enough in game to register the guns.

I must be missing something to do with Mame and/or the Mame.ini or something of that nature. Any advise or insight on the matter would be greatly appreciated.

tdkc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:March 10, 2014, 01:38:29 pm
Re: Guncon2's and Mame Not Playing Nice
« Reply #1 on: February 10, 2010, 04:43:50 pm »
Try setting multimouse to 1 and changing lightgun_device to mouse. I believe that is how I was set up when I was using WinGun.

Goatz18

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:September 06, 2021, 06:53:51 pm
  • The Bringer of Destruction and Doom!
    • Arcade Project Alpha
Re: Guncon2's and Mame Not Playing Nice
« Reply #2 on: February 10, 2010, 11:14:45 pm »
Thanks tdkc, but no go. This is unreal how it refuses to work. I still can't get the regular computer mouse to be usable in Mame. I'm tired, Mame wins for now  :censored:, I'm going to bed.

tdkc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:March 10, 2014, 01:38:29 pm
Re: Guncon2's and Mame Not Playing Nice
« Reply #3 on: February 11, 2010, 01:41:28 pm »
Once you loaded up Zombie Raid did you Tab into the controls and set them all? You'll need to set the Lightgun X Analog and Lightgun Y Analog as well as Player 1 Button 1 and Player 1 Button 2 (if there is a button 2). When setting the X and Y Lightgun Analog make sure to move the gun slowly in the proper direction or it will add extra axis' that are not needed and can cause problems with tracking.

This link should help:
http://wiki.arcadecontrols.com/wiki/Mame_Lightgun_Setup

Goatz18

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:September 06, 2021, 06:53:51 pm
  • The Bringer of Destruction and Doom!
    • Arcade Project Alpha
Re: Guncon2's and Mame Not Playing Nice
« Reply #4 on: February 12, 2010, 11:51:51 pm »
Oh crap. I got everything to work. I missed something so easy and stupid I'de rather not say  :banghead:. I just got it to work and thank you tdkc for the assistance.