Main > Main Forum

LCD Topgun - How do I set this up in MAME?

<< < (3/5) > >>

slapaham:
So I assume in my circumstance I would have to upgrade to a newer version that has dual mouse support? Any idea on what version was the first to incorporate this? Is there no other way I can do this without getting a newer version?

Thanks for the input guys...

slapaham:
Well, I just found out versions 104 or 105 are good starting points... I'll try them, but I can't think they are going to run all that well on my system, so in the meantime, as I said before, if anyone knows another way of doing this without updating MAME I'd be really grateful!

slapaham:
For those of you wanting to know - the version is specifically 0.104u5

slapaham:
I posted this in the software forum as a new thread as I thought it belonged there now (I didn't think it would do any harm to put it here too as this is obviously related!)


I'm trying to get my LCD Topgun to work in MAME - it works fine in Windows XP and moves the mouse cursor reasonably accurately. However, I cannot, for the life of me figure out how to get it to work in MAME. I have now installed Mame 0.105 just for my gun games... the first game I'm trying to get to work is Chiller (rubbish game) just because I know its a gun game and if I can get it to work I can get others to work too.

This is what the MS DOS Command -verbose told me...


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\December 2007 Restor\Desktop\mame104>mame roms/chiller
 -verbose
error: trailing garbage: "1" on line: 86 of file: mame.ini
   ignoring line
Parsing mame.ini : OK
Parsing exidy440.ini : N/A
Parsing chiller.ini : N/A
Using DirectInput 7
Using RAWMOUSE for Mouse input
Mouse 1 : PS/2 Compatible Mouse
Mouse 2 : USB Device
Mouse 3 : Elo Serial Touchmonitor Interface
Mouse 4 : HID-compliant mouse
Joystick 1: Thrustmaster 360 Modena« / 360 Modena« Pro (USB) (3 axes, 8 buttons,
 1 POVs)
  Axis 0 (X Axis)
  Axis 1 (Y Axis)
  Axis 2 (Z Axis)
Keyboards=1  Mice=4  Joysticks=1  Lightguns=4
Primary buffer: 44100 Hz, 16 bits, 2 channels
Enumerating video device display
Hardware stretching supported
Best mode = 640x480x16 @ default Hz
Primary surface created: 640x480x16 (R=0000f800 G=000007e0 B=0000001f)
Blit surface created: 338x242x16 (R=0000f800 G=000007e0 B=0000001f)
SSE supported
Joystick 0 axis 0 is now analog
Joystick 0 axis 2 is now analog
User cancelled



To outline the controls I have linked upto my computer they are as follows -

Serial Elo Touchscreen
PS/2 Mouse
PS/2 Keyboard
USB Thrustmaster 360 Modena Steering Wheel and pedals
USB LCD Topgun




Now this is the controls section of my MAME.ini -


### Input device options ###
mouse                   0
joystick                0
lightgun                1
dual_lightgun           0
offscreen_reload        1
steadykey               0
keyboard_leds           1
led_mode                ps/2
a2d_deadzone            0.300000
# ctrlr                 <NULL> (not set)
paddle_device           keyboard
adstick_device          keyboard
pedal_device            keyboard
dial_device             keyboard
trackball_device        keyboard
lightgun_device         mouse
digital                 none


What am I doing wrong? And how can I correct it? I don't really know what to do and I have looked at quite a few sources (including the Wiki) and I'm not getting anywhere...

Any help would be great!

Popcorrin:
You want to go into the user interface(press TAB).  Select Input(general), then select Player 1 controls and scroll down to the lightgun section.   You will need to program the Lightgun X analog and the Lightgun Y analog inputs.  Do this by highlighting, press Enter, and then move the gun left or right for the X input and up or down for the Y input.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version