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 LCD Topgun Setup  (Read 1847 times)

0 Members and 1 Guest are viewing this topic.

kingdomkz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:April 25, 2008, 08:58:39 pm
Dual LCD Topgun Setup
« on: April 11, 2008, 04:30:22 am »
I have followed any guide I could find and I could not find an answer as to why my 1st lcd topgun is only able to control the mouse and the second lcd topgun is only able to press buttons, unable to hardware config because it cannot for some reason see the IR signal, and Install correctly. When this gun installs, it will immediately find the Guncon2 driver, then it will say it did not install correctly??? What's going on, is the second gun defective or something, the answer is not simple either because I checked the switch on the bottom and it is set to P, I've tried 4 usb slots on the laptop I'm using for MAMEUI32 that the first lcd topgun and sensor bars are able to use, but STILL to no avail, the second gun will not function properly, what is the solution? These guns are brand new from play-asia.com

lanman31337

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 606
  • Last login:January 10, 2024, 10:36:50 am
  • set to ludacris speed!
Re: Dual LCD Topgun Setup
« Reply #1 on: April 11, 2008, 09:52:32 am »
Have you tried using just one, making sure it works in mame and windows, and then disconnecting it and using the other one and doing the same? 

I'm having similar issues, except mine is with .124 mame itself. 

kingdomkz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:April 25, 2008, 08:58:39 pm
Re: Dual LCD Topgun Setup
« Reply #2 on: April 11, 2008, 10:31:33 am »
Yes I got one working with everything FINALLY last night at about 12am and yes I'm using MAMEUI32 v.124u1

deoblo85

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 121
  • Last login:April 01, 2025, 01:22:30 pm
  • GAME or DIE
Re: Dual LCD Topgun Setup
« Reply #3 on: April 11, 2008, 04:16:05 pm »
man please tell me how you did it i've been trying for three days now i cant get it to fire or even move the target im lost i got the act labs gun to work easy but the top guns are way cooler. please help before my mind explodes!!!!!!!!!!!!!

kingdomkz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:April 25, 2008, 08:58:39 pm
Re: Dual LCD Topgun Setup
« Reply #4 on: April 12, 2008, 01:54:30 am »
Since it appears I'm going to have 2 reformat my computer to do this now :(

I will tell you how I did it with one gun.

First setup the sensor bars, there are two methods: vertical or horizontal.
Horizontal looks like this: ||
Vertical looks like this: =
Then once you set those up in order (the cords are supposed to hang down from the bottom), plug the sensor bars into any usb port (no installation, because the usb is only for powering the sensor bars on).

Next, DO NOT install the EMS LCD Topgun driver, use Smog's Driver instead at:
http://xoomer.alice.it/guncon2/

Then look at your EMS LCD Topgun's bottom area and you will see a switch that says "X/P", make sure that the switch is pointing right for "P". Now plug-in the EMS LCD Topgun, and then a screen will pop-up asking for a driver. So, now say search "automatically" and eventually the driver will be found and installed. If the driver is not found, restart the computer then re-attempt to install it. Yeah, the EASY part is complete :D

Now to do the most DIFFICULT part, hardware calibration setup. First turn on your laser pointer by flipping the switch on the left side of the gun up and making sure that recoil is not connected (recoil could mess up the hardware calibration). Point it at the screen with the sensor bars and make sure there are no deadzones (laser disappears in an area of screen, moves weird, etc.) by removing other IR sources by turning them off, for ex: direct tv box, wii sensor bar, etc.

To do hardware calibration: Look away from the screen with the sensor bars. Then hold A and B on the sides of the gun, until the red laser turns on. Note when you do this hardware calibration please note you only get six shots to calibrate with, so when the gun's laser blinks, one shot has been completed. If the gun's laser does not blink, re-attempt in the area you were trying until the gun blinks, positioning of the gun might have to change to register a shot, so keep trying.

Now if you have a horizontal setup: || (Do the following shots in order from top to bottom)

-Shoot at the top 3 light bulbs of the top-left sensor bar (aim for the middle bulb for best accuracy).
-Shoot the center of the screen
-Shoot the top-left corner of the screen
-Shoot the top-right corner of the screen
-Shoot the bottom-right corner of the screen
-Shoot the bottom-left corner of the screen

Now if you have a vertical setup: = (Do the following shots in order from top to bottom)

-Shoot at the top 3 light bulbs of the top-right on the sensor bar on top of the screen (aim for the middle bulb for best accuracy).
-Shoot the center of the screen
-Shoot the top-left corner of the screen
-Shoot the top-right corner of the screen
-Shoot the bottom-right corner of the screen
-Shoot the bottom-left corner of the screen

Now the gun SHOULD be sighted in to the mouse, if you left the laser on you will notice that the gun is not as fast the mouse, this will not be a problem, simply turn off the laser to not see the speed difference and the mouse to gun cursor will be ok.

Now the somewhat difficult part, setting up MAMEUI32 (regular MAME is too complicated for me). Make sure you get the newest version, do a search in yahoo for: MAMEUI32+v.124u1+download. Let's run a sample lightgun game, so "get" a copy of "Zombie Raid" and a copy of the "Neo Geo" bios, then place the .zip files in the "roms" folder of MAMEUI32. Now start up MAMEUI32, click the "Available" tab on the left-side of the program, look for Zombie Raid. Right-Click the game and click properties. Go to controller mapping, then look for the "lightgun" tab and change it from keyboard to lightgun by selecting the option in the drop-down menu. Now close the properties, double-click Zombie Raid in the Available section. When the game starts press the letters: OK and then press those letters again. Now you should see a screen that says: "Winners Don't Do Drugs", press F2 and F3 quickly to bring up service mode. Now keep clicking the mouse until you get down to the last option, and press "1" on the keyboard. Then press 1 again, now you should be at a calibration screen. For player 1, move the mouse into each corner and click. Now for player 2 use the movement of the "RDFG" keys, and on each corner press "A" on the keyboard to calibrate. Once you are done, a screen will come up saying: "Good Luck To You", then the program sends you back to the main menu. Now press F2, and the game will start. The LCD Topgun should be correctly sighted in, so kick some zombie  :censored: and slap yourself on the back for doing such a fine job at calibrating your gun.

weisshaupt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:April 12, 2024, 05:54:45 pm
    • The Ghost in the Machine Project Thread
Re: Dual LCD Topgun Setup
« Reply #5 on: April 13, 2008, 06:31:05 pm »
man please tell me how you did it i've been trying for three days now i cant get it to fire or even move the target im lost i got the act labs gun to work easy but the top guns are way cooler. please help before my mind explodes!!!!!!!!!!!!!

I finally got Area51 working this morning...

I have mouse set to 1, multi mouse set to 1, and light gun set to 1 in MAME ini. I then had to modify the DEFAULT.CFG and NOT the game ini to get Area 51 to work.  You need to set both the player 1 lightgun settings to use the gun AND set the player 1 MOUSE settings to use the gun. Then do the same for player 2. If you just set the settings in the games config file, you get odd behavior with Smogs drivers, the most irriating of which is being unable to fire the gun. YOU MUST CHANGE THE DEFAULT SETTINGS FOR ALL OF MAME. Unfortunate, but I was able to get it to work.

This is dual TOPGUN setup with plain-jane mame .124.  Mame was detecting the dual guns correctly ( I was using my laptop so I had an external mouse and internal touch pad in there as well)  but simply would not map the mouse button input correctly. I think this is because SMOPGS drivers were sending inputs for BOTH guns to Mouse 1, while simultaneously sending them to mouse 3 and mouse 4 and light gun 3 and light gun 4.. Mame was obviously confused by this, so you have to take Mouse 1 out of the picture my making the defaults look at mouse 3 (or whatever) 
“A government ... cannot have the right of altering itself. If it had, it would be arbitrary. It might make itself what it pleased; and wherever such a right is set up, it shews there is no constitution” - Thomas Paine, Rights of Man

lanman31337

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 606
  • Last login:January 10, 2024, 10:36:50 am
  • set to ludacris speed!
Re: Dual LCD Topgun Setup
« Reply #6 on: April 14, 2008, 04:34:29 pm »
man please tell me how you did it i've been trying for three days now i cant get it to fire or even move the target im lost i got the act labs gun to work easy but the top guns are way cooler. please help before my mind explodes!!!!!!!!!!!!!

I finally got Area51 working this morning...

I have mouse set to 1, multi mouse set to 1, and light gun set to 1 in MAME ini. I then had to modify the DEFAULT.CFG and NOT the game ini to get Area 51 to work.  You need to set both the player 1 lightgun settings to use the gun AND set the player 1 MOUSE settings to use the gun. Then do the same for player 2. If you just set the settings in the games config file, you get odd behavior with Smogs drivers, the most irriating of which is being unable to fire the gun. YOU MUST CHANGE THE DEFAULT SETTINGS FOR ALL OF MAME. Unfortunate, but I was able to get it to work.

This is dual TOPGUN setup with plain-jane mame .124.  Mame was detecting the dual guns correctly ( I was using my laptop so I had an external mouse and internal touch pad in there as well)  but simply would not map the mouse button input correctly. I think this is because SMOPGS drivers were sending inputs for BOTH guns to Mouse 1, while simultaneously sending them to mouse 3 and mouse 4 and light gun 3 and light gun 4.. Mame was obviously confused by this, so you have to take Mouse 1 out of the picture my making the defaults look at mouse 3 (or whatever) 

Ok, that sorta makes sense.  Both guns would track simultaneously with player 1, but not work with player 2.  With the triggers on the guns, they come up gun 3 for player 1 and gun 4 for player 2, but for movement they come up as gun 1 and gun 2 respectively.  So I can change default.cfg to mouse 2 and mouse 3 for the guns and it'll work?  do you have an example of how the sections of default.cfg should look with dual guns for .124 by chance?

weisshaupt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:April 12, 2024, 05:54:45 pm
    • The Ghost in the Machine Project Thread
Re: Dual LCD Topgun Setup
« Reply #7 on: April 14, 2008, 05:51:05 pm »
[ do you have an example of how the sections of default.cfg should look with dual guns for .124 by chance?

Mame.ini:### Input device options ###
mouse                   1
multimouse              1
lightgun                1
dual_lightgun           0
lightgun_device         mouse
joystick                0
steadykey               0
keyboard_leds           1
a2d_deadzone            0.30
# ctrlr                 <NULL> (not set)


default.cfg:<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="default">
        <input>
            <port type="P1_BUTTON1">
                <newseq type="standard">
                    GUNCODE_3_BUTTON1
                </newseq>
            </port>
            <port type="P1_BUTTON2">
                <newseq type="standard">
                    GUNCODE_3_BUTTON2
                </newseq>
            </port>
            <port type="P2_BUTTON1">
                <newseq type="standard">
                    GUNCODE_4_BUTTON1
                </newseq>
            </port>
            <port type="P2_BUTTON2">
                <newseq type="standard">
                    GUNCODE_4_BUTTON2
                </newseq>
            </port>
            <port type="START1">
                <newseq type="standard">
                    MOUSECODE_3_BUTTON5 GUNCODE_3_BUTTON5 OR KEYCODE_1
                </newseq>
            </port>
            <port type="COIN1">
                <newseq type="standard">
                    MOUSECODE_3_BUTTON4 GUNCODE_3_BUTTON4 OR KEYCODE_5
                </newseq>
            </port>
            <port type="P1_LIGHTGUN_X">
                <newseq type="standard">
                    GUNCODE_3_XAXIS
                </newseq>
            </port>
            <port type="P2_LIGHTGUN_X">
                <newseq type="standard">
                    GUNCODE_4_XAXIS
                </newseq>
            </port>
            <port type="P1_LIGHTGUN_Y">
                <newseq type="standard">
                    GUNCODE_3_YAXIS
                </newseq>
            </port>
            <port type="P2_LIGHTGUN_Y">
                <newseq type="standard">
                    GUNCODE_4_YAXIS
                </newseq>
            </port>
            <port type="P1_MOUSE_X">
                <newseq type="standard">
                    GUNCODE_3_XAXIS
                </newseq>
            </port>
            <port type="P2_MOUSE_X">
                <newseq type="standard">
                    GUNCODE_4_XAXIS
                </newseq>
            </port>
            <port type="P1_MOUSE_Y">
                <newseq type="standard">
                    GUNCODE_3_YAXIS
                </newseq>
            </port>
            <port type="P2_MOUSE_Y">
                <newseq type="standard">
                    GUNCODE_4_YAXIS
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>


My Cursors are the wrong color and there may be a better way to do this, but I tried all sorts of different setting and this was the first combination that came up playable...
“A government ... cannot have the right of altering itself. If it had, it would be arbitrary. It might make itself what it pleased; and wherever such a right is set up, it shews there is no constitution” - Thomas Paine, Rights of Man

lanman31337

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 606
  • Last login:January 10, 2024, 10:36:50 am
  • set to ludacris speed!
Re: Dual LCD Topgun Setup
« Reply #8 on: April 15, 2008, 08:46:19 pm »
I tried that, no luck, so I tried lightgun, dual_lightgun, mouse, every combination.  So in mame32, get this, I enabled Dual Keyboard.  believe it or not, that fixed it.  both guns fire, both guns track.  quick way to tell if the guns are going to work or not right off the bat.  open up a light gun game.  if both cursors are side by side dead center, they won't work.  if you start the game and they're both towards the upper left corner, then you're golden :)

dennis808

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:May 13, 2021, 08:40:00 am
  • Holy Sanwa-sticks!
Re: Dual LCD Topgun Setup
« Reply #9 on: April 17, 2008, 05:16:48 am »
Thanks for your lengthy rply kingdomkz!
A friend of mine has a lot of trouble geting his gun sto work properly, hopefully this will help him.
"Complexity is the process by which the obvious is obscured by the irrelevant." -HSW