Main > Project Announcements
Multi Lightgun Game Arcade : USB2Gun with Recoil
<< < (3/19) > >>
Jollywest:
It took a while for all the PC parts to arrive (the Ram took 10 days for some reason) and the MOBO was faulty as well so I had to wait for a replacement but I got it all built last night.
I only had about an hour to connect it to the cab and do some brief testing.
The guns actually show up in the Windows Controller menu as Lightguns but they both report as being GUN 1 (even though each has its own calibration menu). edit -> see post below
When I calibrate and test the guns in the Windows controller menu, the cross in the test box follows the gun movements dead on accurate and the triggers report different button presses when fired on and off screen.
However, I had a brief try of HOTD3 PC Game and the calibration is way off.
I never had chance to try much tweaking though and I've got 3 busy days in the real world, so hopefully I'll jump back on this early next week.
Jollywest:
I had some more time on this last night and had some luck with getting the guns to work.
The guns actually report in windows as analog joysticks, but the USB2Gun board is named as Lightgun 2.03.
The guns are both also named as Gun 1, which is why I initially thought they reported as lightguns.
Still no luck in getting them working right on HOTD3 PC game, even when gamepad is selected as the input, the calibration is way off.
However, they are working great in MAME. I had to change a few settings in mame.ini to get them to work though.
I had to enable joystick and off screen reload in device input, have joystick as the lightgun and positional controller and had to change joystick deadzone from 0.3 to 0.0 and joystick saturation from 0.85 to 0.95.
The games that originally used a lightgun that I've tested so far (Beast Busters/Lethal Enforcers/Time Crisis) work highly accurately and the games which used a mounted gun (T2/Alien 3) work ok and are accurate but the gun only registers a position on the screen on each individual trigger press, so if you were to hold the trigger down it would only register shots in the one position no matter where you moved the gun whilst holding the trigger down.
The white flash on screen on each trigger press is a bit much on these games as well.
Also the guns work in Supermodel (Lost World/Star wars) spot on accurate too. The only setting I had to change in supermodel.ini was to enable inputautotrigger for reloading.
Other emu's I've tried are SM2 and Demul but I can't even get games to boot in Demul yet and the SM2 emu won't save anolog controls after I've changed the inputs, I'll have another bash at these tonight.
.... Oh and nothing on the recoil side of things yet either.
BadMouth:
Good to hear that the MAME and Model 2 games are working!
I thought there was a good chance they'd track like mounted guns since they show up as analog joysticks.
Is there a white flash like the light guns of old?  IIRC, the one guy who tested this board before said there wasn't.

It's understandable that they wouldn't work with HOTD3 with the game viewing them as analog joysticks.
If you think about how the game would have interpreted analog joysticks, there was no reason to have an analog joystick held in your hand to correspond 1:1 with screen position, nor a reason to calibrate it as such.

Howard Casto's Troubleshooter 2 can take input from wii controllers (seen as analog joysticks) and inject that into the game.
It might work for these too.

If they don't work in Demul, a workaround (for player 1 anyway) would be to run an autohotkey or glovepie script to convert the joystick location to system mouse location.  At least with older versions, Demul was hard coded to get light gun input from the system mouse.
Jollywest:

--- Quote from: BadMouth on July 28, 2014, 06:00:30 pm ---Good to hear that the MAME and Model 2 games are working!
I thought there was a good chance they'd track like mounted guns since they show up as analog joysticks.
Is there a white flash like the light guns of old?  IIRC, the one guy who tested this board before said there wasn't.

It's understandable that they wouldn't work with HOTD3 with the game viewing them as analog joysticks.
If you think about how the game would have interpreted analog joysticks, there was no reason to have an analog joystick held in your hand to correspond 1:1 with screen position, nor a reason to calibrate it as such.

Howard Casto's Troubleshooter 2 can take input from wii controllers (seen as analog joysticks) and inject that into the game.
It might work for these too.

If they don't work in Demul, a workaround (for player 1 anyway) would be to run an autohotkey or glovepie script to convert the joystick location to system mouse location.  At least with older versions, Demul was hard coded to get light gun input from the system mouse.

--- End quote ---

Yea it's model 3 (supermodel) that the guns are working with, still struggling with saving configured analog controls in SM2 but I've just been reading a post of yours about only having 1 analog device connected at a time to map properly, I'll try this tomorrow.

There is a white flash on a trigger press and the crosshair does track on screen with the gun movement.

I've got demul to load games now (had to use directx11 plugin) but they are running very slow. I can map the analog movements of the gun and trigger presses in the pad plugin but it's not relating in game. The mouse works fine. I'll try that workaround tomorrow if I can't get them working, thanks.

Thanks for the tips about troubleshooter 2 as well, I'll give that a go too.
BadMouth:
The gun games in Model 2 emulator don't support analog controls, at least not directly.
There's a way to get it into a strange debug mode where they work, but the emulator will use X's and O's for the crosshairs and you have unlimited ammo.

To use two guns in Model 2 emulator, you need Howard's Troubleshooter 2 and you must use M2 emulator version 1.0
Navigation
Message Index
Next page
Previous page

Go to full version