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: LCD Topgun and mouse HELP!!  (Read 1883 times)

0 Members and 1 Guest are viewing this topic.

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
LCD Topgun and mouse HELP!!
« on: December 03, 2007, 07:29:50 am »
Sorry to bother y'all with yet another LCD Topgun post.
I couldn't find the answer to my problem on any other threads.

I'm using MAME32 and have an EMS LCD Topgun with original EMS driver. It works fine as a player one controller (i.e. as a mouse).
My question is simple: is it possible to run a game with the lightgun as player one but leave the mouse available for player two?

I'd really appreciate any help on this. I feel like I've tried everything. :dunno

(P.S. if the answer to this question is already on here somewhere could you direct me to it :D)
 
« Last Edit: December 03, 2007, 05:11:42 pm by elliotrj »

brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: LCD Topgun and mouse HELP!!
« Reply #1 on: December 03, 2007, 09:26:07 am »
What version of mame are you using?  Also can you post the contents of your mame.ini file?  Specifically he "CORE INPUT OPTIONS" and "CORE INPUT AUTOMATIC ENABLE OPTIONS" sections.
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

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: LCD Topgun and mouse HELP!!
« Reply #2 on: December 03, 2007, 01:45:46 pm »
I'm using MAME32 and have an EMS LCD Topgun with original EMS driver. It works fine as a player one controller (i.e. as a mouse).
My question is simple: is it possible to run a game with the lightgun as player one but leave the mouse available for plater two?

Have you tried enabling multiple mice?  (If you don't have this option in properties, under controllers tab, what version of mameUI are you using?) 

You might have to remap both players to use the correct gun/mouse.  This works for multiple normal mice in recent versions, but I'm not sure about with the EMS driver.
Robin
Knowledge is Power

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: LCD Topgun and mouse HELP!!
« Reply #3 on: December 03, 2007, 05:21:14 pm »
Hi guys,
I'm using the new MAMEUI32 0.121.

The mame.ini file reads as follows:

<UNADORNED0>             

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   ini
fontpath                  .

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
memcard_directory         memcard
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE FILENAME OPTIONS
#
cheat_file                cheat.dat

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
mngwrite                 
wavwrite                 

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
sleep                     1
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             1
use_overlays              1
use_bezels                1

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     1
joystick                  0
lightgun                  0
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              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0

#
# CORE MISC OPTIONS
#
bios                      none
cheat                     0
skip_gameinfo             1

#
# WINDOWS DEBUGGING OPTIONS
#
oslog                     0

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
multithreading            0

#
# WINDOWS VIDEO OPTIONS
#
video                     d3d
numscreens                1
window                    0
maximize                  1
keepaspect                1
prescale                  1
effect                    none
waitvsync                 0
syncrefresh               0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 1

#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion                9
filter                    1

#
# PER-WINDOW VIDEO OPTIONS
#
aspect                    auto
resolution                auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
triplebuffer              0
switchres                 0
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# WINDOWS SOUND OPTIONS
#
audio_latency             2

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0



I've tried multiple mice but the issue is getting MAME to recognise the mouse and lightgun as two different mice.
It seems to see them as one and the same.
(i.e. Both control player one, but neither control player two.)

Also, what driver are you guys using? Should i switch?

brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: LCD Topgun and mouse HELP!!
« Reply #4 on: December 04, 2007, 11:34:44 am »
Try setting

CORE INPUT OPTIONS
lightgun                  1
multimouse                1

I know setting lightgun device to lightgun should make that a 1 by default but I like to set it anyway.  I'm using smog's driver I had problems getting the ems drivers to load.  I haven't had any problems with my dual light guns and trackball acting independently.  Have you tried to reset the control settings on a game manually?  It might be worth deleting the cfg file for a gun game and starting fresh.
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: LCD Topgun and mouse HELP!!
« Reply #5 on: December 04, 2007, 03:30:32 pm »
OK this is just getting weird. :dizzy:

I now have a situation where the lightgun controls player two as requested.
But the mouse controls both at the same time!

I've tried every possible combination of controls within the game.
This is the closest I got.

The funny thing is i tried adding a second mouse. I could run the game fine with two players using the two mice.
But every time I introduced the lightgun the mice started acting all strange.


The .ini file is now as follows:

#
# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     1
joystick                  0
lightgun                  1
multikeyboard             0
multimouse                1
steadykey                 0
offscreen_reload          1
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

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


Maybe I should just try another driver.

brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: LCD Topgun and mouse HELP!!
« Reply #6 on: December 04, 2007, 03:44:14 pm »
Seems like a logical next step.  I would try smog's driver I have not had any problems with it.
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

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: LCD Topgun and mouse HELP!!
« Reply #7 on: December 04, 2007, 05:59:45 pm »
Seems like a logical next step.  I would try smog's driver I have not had any problems with it.

Agree.  People have had problems with the EMS driver with two players before, but I was hoping that changes since then fixed it.  And since two mice are working without the gun, I'm thinking it's the gun's EMS driver. :-\

Be sure to completely remove the EMS driver before installing SMOG's driver.  The howto is somewhere in the 45 page thread, but I'm not finding exactly where searching with the words I'm using, sorry. :-\
Robin
Knowledge is Power

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: LCD Topgun and mouse HELP!!
« Reply #8 on: December 05, 2007, 08:53:13 am »
OK. Thanks for the advice. I'll try out the SMOG driver and get back to you.

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: LCD Topgun and mouse HELP!!
« Reply #9 on: December 06, 2007, 08:13:13 am »
Alright. I've loaded up Guncon2 by SMOG. It seems to work a little better.

I ordered a second Topgun this morning. I'm just going to wait til that arrives and set it up as two lightguns, forget about the whole mouse thing.

Thanks again for all the help.
Over and out.  8)

morourke

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 19, 2008, 10:54:38 pm
Re: LCD Topgun and mouse HELP!!
« Reply #10 on: January 02, 2008, 12:23:39 pm »
I just got two EMS TopGun lightguns over x-mas myself and am having configuration problems. I've read the big 45 page thread but so much of the information seems to be obsolete now.

I'm using MAME 121 and my understand is that the lightguns are now supported as mice.

I've tried the EMS driver, the WinGun driver, and the Gun2Con driver. The EMS didn't seem to work, the WinGun driver has EXCELLENT calibration but MAME wouldn't recognize the trigger, and the Gun2Con drivers works but the calibration isn't very good.

Does anyone know how to get the WinGun driver working with MAME? I'd really like to use it.

Also, it is possible now to map the offscreen reload in games like Area51 to the second trigger on the TopGun? The offscreen reload doesn't seem to work that well so I'd prefer to use one of the other buttons on the gun.

Michael

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: LCD Topgun and mouse HELP!!
« Reply #11 on: January 08, 2008, 10:19:24 am »
I've been told that there are all sorts of problems with multiple lightguns in MAME 0.121.

Aparently 0.122 is a whole lot more stable. I haven't had a chance to try it out yet.

Also, Smog's Guncon2 driver is the only one i could get any use out of all.

I know it's not much of an answer but it's all i can tell you.

Afterburner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 164
  • Last login:July 27, 2016, 01:02:00 am
Re: LCD Topgun and mouse HELP!!
« Reply #12 on: January 09, 2008, 11:11:09 am »
Ah...good thread for me as well.

I also got a EMS TopGun for Xmas and have been fiddling with it trying to get things to work well.

I've gotten the EMS driver Gun2Mouse to work, although it isn't the greatest.  It also isn't all that stable under XP, and I have a very clean and trim XP installation.

I have a two trackball setup and those have never been a problem under Mame32 (v.116 I think).  I was able to get the TopGun to work with Mame by unplugging one of the trackballs.

I tried the gun with both Operation Wolf and T2.  All the buttons work just fine, but it was unusable to play the game.  I tried setting the analog gains and digital speeds to the lowest setting, but the sight was just all over the place.

I briefly tried the GunCon2 driver, but my understanding of what to do with it is rather limited.  I'll check out the aforementioned 45page thread for some pointers.

As many have complained, I'm not crazy about the distance I have to stand back from the screen.  I even tried tilting the LED bars trying to move the convergence point a little closer, but no luck.  At 6 feet from the 17" screen, it's not exactly a point and shoot game anymore.

I'll go back and try the GunCon2 driver again.  If anyone can give me the 50-words-or-less explanation of how it works, I'd be very appreciative.

  2-player upright dual trackball / dual 8-way rotary joysticks - built from scratch