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: Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!  (Read 2613 times)

0 Members and 1 Guest are viewing this topic.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!
« on: April 11, 2008, 06:45:22 pm »
Hello,

Does anybody have dual Act-Labs Light Guns working with MAMEUI V124?

I've read old posts and the WIKI, but both guns move the blue cursor.

I've included bits of my mame.ini and default.cfg below.

Please note that in default.cfg, I manually changed GUNCODE_1 to GUNCODE_2 for Player 2, as during in game configuration both guns were seen as GUNCODE_1.

Thanks for your help!

   - Mark


Here is the relevant parts of mame.ini:

#
# CORE INPUT OPTIONS
#
mouse                     1
lightgun                  1
multimouse                1
offscreen_reload          1

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
lightgun_device           lightgun

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             1


Here are the relevant  parts of default.cfg:

            <port type="P1_BUTTON1">
                <newseq type="standard">
                    GUNCODE_1_BUTTON1 OR KEYCODE_LCONTROL
                </newseq>
            </port>
            <port type="P2_BUTTON1">
                <newseq type="standard">
                    GUNCODE_2_BUTTON1 OR KEYCODE_A
                </newseq>
            </port>
           <port type="P1_LIGHTGUN_X">
                <newseq type="standard">
                    GUNCODE_1_XAXIS
                </newseq>
            </port>
            <port type="P2_LIGHTGUN_X">
                <newseq type="standard">
                    GUNCODE_2_XAXIS
                </newseq>
            </port>
            <port type="P1_LIGHTGUN_Y">
                <newseq type="standard">
                    GUNCODE_1_YAXIS
                </newseq>
            </port>
            <port type="P2_LIGHTGUN_Y">
                <newseq type="standard">
                    GUNCODE_2_YAXIS
                </newseq>
            </port>

 

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!
« Reply #1 on: April 12, 2008, 12:04:36 pm »
OK, so I'm not crazy. Dual Light Guns just don't work with MAMEUI V124.

I got everything working by dropping back to MAME32 V112, which I had previously downloaded, but never used.

Are there more recent versions of MAME32/MAMEUI that work with Dual Light Guns?

If so, is there an archive of past versions of MAME32/MAMEUI?

Thanks for your help!

   - Mark

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: Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!
« Reply #2 on: April 14, 2008, 07:46:37 pm »
#
# INPUT DEVICE OPTIONS
#
dual_lightgun             1


Disable this, if you have -multimouse enabled.  The two conflict.  And since you mapped for -multimouse, and -dual_lightgun option sucks compared to -multimouse, disable -dual_lightgun.  Repeat: -multimouse is better at two lightguns than -dual_lightgun option.
Robin
Knowledge is Power

Dustin Mustangs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:September 14, 2017, 11:43:18 am
  • Cut the sheet!
    • My Site
Re: Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!
« Reply #3 on: April 15, 2008, 10:28:05 am »
I was under the impression that dual actlabs guns only work properly with the hacked .104u6 mame vesion actlabs has on their site.  Maybe there are others I'm not aware of but I do know that one works great, even offscreen reload w/ both guns.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Dual Act-Labs Light Guns + MAMEUI V124 = ^$#@@***#$@!!!
« Reply #4 on: April 15, 2008, 06:39:07 pm »

u_rebelscum;

Thank you for your advice, but I was not able to get the dual lightguns working under V124.

I tried:

1) Only disabling dual_lightgun

2) Disabling dual_lightgun and lightgun. Mapping Lightgun input to mouse, and changing GUNCODE, refrences to MOUSECODE.


Dustin Mustangs,

I *think* that the test code in the "Act Labs" version of V104 has been integrated into the standard release.

   - Mark