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 --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Settng up light guns in MAME  (Read 240 times)

0 Members and 1 Guest are viewing this topic.

lightgungamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:July 08, 2020, 03:07:53 am
  • I love playing Light Gun Games
    • LightgunGame.com
Settng up light guns in MAME
« on: July 03, 2020, 11:30:30 am »
Does anyone have any experience of seting up light guns in MAME.

I am using MAME64. I have everything set up and working with only one issue.

The game that I am using (Carnevil) is in 4:3 which is fine. My windows display/monitor runs in 16:9. This seems to cause the aim to be off because windows sees the edge of the screen at the actual edgs whereas MAME has a smaller window - so the closer you are to the edge of the screen, the more the aim is off.

I know that I could configure the Aimtrak for 4:3 but that would mean it was off for other games.

Does anyone know how to fix that?

Thanks
https://LightGunGamer.com - every Lightgun game and how to play them

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 275
  • Last login:July 08, 2020, 02:42:40 am
  • If I can't buy it, I build it.
    • Github
Re: Settng up light guns in MAME
« Reply #1 on: July 03, 2020, 12:33:45 pm »
Yeah as you guessed, in 4:3 the mouse horizontal moving range doesn't match the 16:9 calibration, so the gun system needs to have a 4:3 content mode to compensate.
Doesn't the aimtrak have a this kind of mode?
If not, I think you will either have to play fullscreen or recalibrate every time.
The other solution I can think of is making mame using only 4:3 for the video zone but keeping 16:9 mouse range.
Not sure it's possible since it would require mame to process the black borders as part of the input video.

lightgungamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:July 08, 2020, 03:07:53 am
  • I love playing Light Gun Games
    • LightgunGame.com
Re: Settng up light guns in MAME
« Reply #2 on: July 03, 2020, 01:42:08 pm »
Thanks JayBee,

Yeah, I think the aimtrak does have a 4:3 mode but Iím trying to get everything integrated into one front end and everything else is 16:9

Do you know how to force name to display full screen in 16:9?
https://LightGunGamer.com - every Lightgun game and how to play them

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:Today at 02:09:19 am
  • I want to build my own arcade controls!
Re: Settng up light guns in MAME
« Reply #3 on: July 04, 2020, 01:16:04 am »
Yes, disabling keep_aspect should do it.
You may also need to tweak unevenstretch.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8636
  • Last login:July 09, 2020, 05:48:23 pm
  • ...
Re: Settng up light guns in MAME
« Reply #4 on: July 04, 2020, 08:54:37 pm »
Doesn't calibrating in the games service menu correct for this?
(only moving the gun around the 4:3 window when calibrating)