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: Calibrate Ghost Squad Lightgun  (Read 707 times)

0 Members and 1 Guest are viewing this topic.

tangodownNZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:January 02, 2024, 09:59:53 pm
  • I want to build my own arcade controls!
Calibrate Ghost Squad Lightgun
« on: July 06, 2023, 02:26:31 am »
Does anybody know if it is possible to calibrate a SEGA Ghost Squad light gun with software before the signals gets sent to MAME.

Although I have the gun working (connected to PC via U-HID), I am not convinced the aiming is as good as it could be.

A friend told me “You need some other middleware software to scale and offset the the analog data before it's passed on to the emulator. I've heard that GlovePIE can do this”

My question. Is this something that is possible or necessary


BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 25, 2024, 08:10:48 pm
  • ...
Re: Calibrate Ghost Squad Lightgun
« Reply #1 on: July 06, 2023, 09:07:24 am »
I have no experience with those guns, but if they show up as joysticks....

Control Panel>Hardware & Sound>Devices & Printers
Right click on it to go to controller settings, then properties for the input test, calibration and settings.
Calibration is under the settings tab.
Calibrate by pointing the gun along the edges of the monitor (and no further).

The next problem you will probably run into is that the gun is calibrated for a widescreen monitor, but the MAME play area is 4:3.
You could calibrate it to the 4:3 area, but then that screws up all the widescreen games.
Easiest solution is to just accept that the few games that can't be calibrated in-game will need to be played widescreen.

I suppose you could calibrate the gun in windows to the 4:3 area and then calibrate the widescreen games in-game, but that's kind of creating a problem for dozens of games to fix the problem on a few.

Also read up on analog settings in MAME as those will affect how well your guns will work.

from an old post about analog guns (in the Windows XP days when the joystick calibration was easy to find):

1.  Calibrate the positional gun in windows by pointing it along the edges of the screen.
2.  In mame.ini set the dead zone to zero.
3.  In mame.ini set the saturation to 1 (100%)
4.  Calibrate the gun in the game's service menu
5.  Adjust the sensetivity under analogue controls in MAME's in-game menu until the crosshairs don't lag behind the gun movement.
    (there is only ONE sensetivity setting, ignore all settings that include the word DIGITAL)

« Last Edit: July 06, 2023, 04:12:10 pm by BadMouth »

tangodownNZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:January 02, 2024, 09:59:53 pm
  • I want to build my own arcade controls!
Re: Calibrate Ghost Squad Lightgun
« Reply #2 on: July 07, 2023, 03:14:57 am »
Thank you very much!