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: Guncon2 and Guncon3 windows driver  (Read 2217 times)

0 Members and 1 Guest are viewing this topic.

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:May 16, 2022, 07:35:17 am
  • I want to build my own arcade controls!
Guncon2 and Guncon3 windows driver
« on: January 25, 2022, 07:05:37 am »
I've made POC windows drivers for the Guncon2 and Guncon3.

Works on Windows 10 and does not requires disabling driver signature.

Guncon2 does not have the "rolling x" problem with this driver.

It's based on the research and documentation done by beardypig.

For the guncon2 to work correctly it's desirable to have a screen flasher and I have no idea how to do this.
If any dev wants to jump in and help please let me know.

Project is here:
https://github.com/sonik-br/GunconUSB

Inside there's links for the original linux versions by beardypig.

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4220
  • Last login:May 14, 2022, 02:32:11 am
  • I have a gaming addiction.....
Re: Guncon2 and Guncon3 windows driver
« Reply #1 on: January 26, 2022, 02:52:16 am »
Cool :)

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:February 13, 2022, 04:05:07 am
Re: Guncon2 and Guncon3 windows driver
« Reply #2 on: January 26, 2022, 12:12:39 pm »
 :applaud: :applaud: :applaud: :applaud: :applaud:

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 246
  • Last login:April 23, 2022, 02:35:20 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #3 on: January 26, 2022, 01:30:57 pm »
Nice! some questions about the guncon2 driver:
- Can two guns be used for 2 player games?
- Does it work with games' native flashing? I remeber you got this working with the guncon1.
- The flasher, you might want to talk to burn_654. He made a flasher years ago, and a circuit that sends a key instead of trigger, some delay, and trigger.

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:May 16, 2022, 07:35:17 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #4 on: January 26, 2022, 03:43:28 pm »
Nice! some questions about the guncon2 driver:
- Can two guns be used for 2 player games?
- Does it work with games' native flashing? I remeber you got this working with the guncon1.
- The flasher, you might want to talk to burn_654. He made a flasher years ago, and a circuit that sends a key instead of trigger, some delay, and trigger.

It does work with games that have native flasher like time crisis.

Driver made for one gun only Might be possible to add 2 player mode in the future.
I'm currently not working on this driver anymore as without a flasher its impossible to play the majority of games.

I tested the linux driver and it works good!
And since it's a real kernel driver so it might just work with any number of guncons.

AMG KC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 79
  • Last login:April 21, 2022, 09:15:05 am
Re: Guncon2 and Guncon3 windows driver
« Reply #5 on: March 17, 2022, 10:51:43 am »
This is fantastic, exactly what i was hoping to find one day!!

I still have loads of CRTs and loads of light guns, i will be dead long before i have to waste my time with sensor bar or Sinden style guns.

MK3FANATIC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 19, 2022, 12:20:38 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #6 on: March 19, 2022, 08:03:30 am »
I have a pc with windows 10 and crt emudriver connected to a crt tv by a vga-component video converter. I also have a pistol compatible with guncon 1 and 2. I would like to try to test this driver. Could someone give a mini tutorial for a newbie on how to do it? Which emulator should I use, if I only need to connect the pistol's usb cable, if I need any more applications...

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:May 16, 2022, 07:35:17 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #7 on: March 24, 2022, 10:27:34 am »
I have a pc with windows 10 and crt emudriver connected to a crt tv by a vga-component video converter. I also have a pistol compatible with guncon 1 and 2. I would like to try to test this driver. Could someone give a mini tutorial for a newbie on how to do it? Which emulator should I use, if I only need to connect the pistol's usb cable, if I need any more applications...

Hi. I tried to build a new version but it not worked. It depends on Tetherscript's virtual joystick and mouse, and it have changed. I need to fix the code.
I will try to do this over the coming weeks.
And keep in mind that it's not a polished application/driver.

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:May 16, 2022, 07:35:17 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #8 on: March 28, 2022, 05:21:59 pm »
I have a pc with windows 10 and crt emudriver connected to a crt tv by a vga-component video converter. I also have a pistol compatible with guncon 1 and 2. I would like to try to test this driver. Could someone give a mini tutorial for a newbie on how to do it? Which emulator should I use, if I only need to connect the pistol's usb cable, if I need any more applications...

If you want to test.

Download and install vjoy from https://sourceforge.net/projects/vjoystick/
Go to github download and install my guncon2 driver.
Use the attached app. It requires dot net framework 4.5.

GustavoALara

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:May 02, 2022, 01:09:02 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #9 on: May 02, 2022, 01:09:02 pm »
Hi Sonik,

A friend of mine and me are testing your driver and we have a couple of questions..

We've installed vJoy, WinUSB drivers and the theter driver.  After the installation of the drivers we run your tool and the Guncon2 moves the mouse pointer and we can check the guncon2 buttons on your tool, but outside your tool, the lightgun buttons don't work as mouse buttons/key strokes or gamepad buttons.
We can see on the control panel a Guncon and a Vjoy device but neither of those are gamepads

Is there any step that we forgot to do? What is the correct steps to install your driver?

In another hand we detect in dark zones of the CRT TV the driver works worst.. is this correct?

Thanks in advanced

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:May 02, 2022, 04:40:59 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #10 on: May 02, 2022, 04:37:20 pm »
I am the other interested party, it only remains to add that guncon2 appears in the device panel as if the driver was not installed correctly.
It appears with the typical icon as if it was not recognized by Windows.
A greeting from Spain

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 63
  • Last login:May 16, 2022, 07:35:17 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #11 on: May 06, 2022, 04:05:31 pm »
@GustavoALara
The tool must be kept open for the mouse to move.
And yes, the gun can't detect darker areas. CRT lightgun games uses brighter images or does a "fast white flash" when you pull the trigger, so the gun can detect.


@shiryu55
Installed the driver from github?