The NEW Build Your Own Arcade Controls

Main => Lightguns => Topic started by: lightgungamer on July 03, 2020, 11:30:30 am

Title: Settng up light guns in MAME
Post by: lightgungamer 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
Title: Re: Settng up light guns in MAME
Post by: JayBee 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.
Title: Re: Settng up light guns in MAME
Post by: lightgungamer 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?
Title: Re: Settng up light guns in MAME
Post by: Foxhole on July 04, 2020, 01:16:04 am
Yes, disabling keep_aspect should do it.
You may also need to tweak unevenstretch.
Title: Re: Settng up light guns in MAME
Post by: BadMouth 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)
Title: Re: Settng up light guns in MAME
Post by: lightgungamer on July 12, 2020, 03:32:57 pm
You could calibrate the aimtrak for 4:3 in Windows but doing it in the games calibration menu doesnít seem to work.

I got it sorted by stretching the games to full screen and it works fine.
Title: Re: Settng up light guns in MAME
Post by: uVSthem on October 17, 2021, 04:41:30 am
Hi guys, has anyone figured out a solution to this. I'd really like to play my light gun games in their proper aspect ratio and not stretch them out.