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

0 Members and 2 Guests are viewing this topic.

TheCiscoKid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:February 04, 2024, 05:07:55 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #40 on: June 15, 2023, 05:51:24 pm »
Hey I just bought a couple guncon 2s, keen to set this up soon
Will this work with model 2/supermodel/mame? Only seen PCSX2 mentioned

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Online Online
  • Posts: 330
  • Last login:Today at 05:56:49 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #41 on: June 16, 2023, 10:19:37 am »
Yes it works.
Bear in mind this driver shows lightguns as joysticks.
For model 2 you have to use demulshooter for 2 players action

TheCiscoKid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:February 04, 2024, 05:07:55 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #42 on: June 16, 2023, 03:42:43 pm »
Bear in mind this driver shows lightguns as joysticks.

Oh interesting, does this impact how their functionality thru this driver compared to how they work natively through PS2?
Like, is there travel time if you move the gun from one side of the screen to the other, etc...?

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Online Online
  • Posts: 330
  • Last login:Today at 05:56:49 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #43 on: June 19, 2023, 09:52:12 am »
No. But emulation is not perfect you know.

POPO69

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:September 22, 2024, 06:28:27 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #44 on: August 22, 2023, 06:20:40 pm »
hello it's ok for lcd tv? does we need IR uSB too?

Jonathan Smith

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:September 23, 2024, 03:03:39 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #45 on: August 29, 2023, 07:42:11 pm »
I installed the updated drivers for Guncon 2 by psakhis but I got lost when I read the instructions about running daemon and stuff. Can someone please either make a step-by-step video tutorial or or make a new driver app with screen flash, offscreen reload, and with the random "guncon2 disconnecting from driver" issue fixed, please?

retroman2022

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 01, 2023, 02:25:50 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #46 on: September 01, 2023, 02:00:31 pm »
Thanks.

lllll44

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:July 07, 2024, 04:44:08 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #47 on: September 15, 2023, 03:36:41 am »
Hi, is there a way to implement the gcon 3 driver into rpcs3?

javiso85@gmail.com

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:April 17, 2024, 03:31:10 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #48 on: October 20, 2023, 04:23:31 pm »
I write because I can use the guncon2 on windows but I think that I am failing in some steps, It works but with a few problems.

I read a lot and I am trying to do step by step installation, but I cannot find it. May be this is for advance users and not for normal people but I have some questions.

The working problems are:

1- I have to keep opened GunconUSB.exe and Vjoy to run on mame
2- On mame if I config it as a joystick I can not navigate on the menu because the lightgun affects the movement
3- On a mame game, for example Time Crisis (640x480i), the cursor moves not linealy, and have a magnet behavior on the center of the screen like a big dead zone

I have some questions.

- GunconUSB.exe and Vjoy have to be always opened?
- If I wanted to configure it con a Front end I have to launch GunconUSB.exe and vjoy on lightgun games before it starts and close it when I finish the game
- What is "console"? it refers to GunconUSB.exe from sonik or the "Guncon2Console" folder inside GunconUSB-main, in case of Guncon2Console it has no executable and I do not know how to run it
- What is "Daemon" and how you load the winusbnet to access the driver? @psakhis say that you need My "console" or "daemon" for comunicate winusb driver to vjoy. How do you launch "console" or Daemon?

This are my step by step installation, if can help to someone

I have installed the drivers using the @psakhis instructions:

1) Install winusb driver from Sonik Guncon2_winusb_driver_installer.7z
2) Install vJoy
3) Use the guncon2_usb_app attached by @sonik and start the GunconUSB.exe with the movement disabled (keep it opened)
4) Config  Vjoy and (keep it opened)

Many thanks for your work, I appreciate a lot, and will be great to have a working arcade cabinet with real lightgun

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:September 23, 2024, 05:13:55 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #49 on: November 09, 2023, 11:30:15 am »
The working problems are:

1- I have to keep opened GunconUSB.exe and Vjoy to run on mame
2- On mame if I config it as a joystick I can not navigate on the menu because the lightgun affects the movement
3- On a mame game, for example Time Crisis (640x480i), the cursor moves not linealy, and have a magnet behavior on the center of the screen like a big dead zone

I have some questions.

- GunconUSB.exe and Vjoy have to be always opened?
- If I wanted to configure it con a Front end I have to launch GunconUSB.exe and vjoy on lightgun games before it starts and close it when I finish the game
- What is "console"? it refers to GunconUSB.exe from sonik or the "Guncon2Console" folder inside GunconUSB-main, in case of Guncon2Console it has no executable and I do not know how to run it
- What is "Daemon" and how you load the winusbnet to access the driver? @psakhis say that you need My "console" or "daemon" for comunicate winusb driver to vjoy. How do you launch "console" or Daemon?

Hi.
I've not using it for a long time but I can try to answer some questions.

Yes, the app must be running.

The "deadzone" must be configured on mame. Set it to 0 (zero) on the ini.

For time crisis, I think you will have to enter it's calibration screen on the service menu.

Hope that it helps.

tomysteria

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 13, 2024, 12:27:32 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #50 on: November 15, 2023, 08:57:21 am »
Hello,
I play most of the time with RetroBat https://www.retrobat.org/
I have two Guncon3.
I read Guncon2 may be functionnal on Windows but is it possible to play with Guncon3 on RetroBat ?

Thank you very much @sonik for all this valuable work.

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:September 23, 2024, 05:13:55 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #51 on: November 21, 2023, 07:44:03 am »
It should work as long as you can run the "driver" in background.

tomysteria

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 13, 2024, 12:27:32 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #52 on: November 25, 2023, 05:31:23 pm »
Thank you so much for your reply.
Have a nice day :)

javiso85@gmail.com

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:April 17, 2024, 03:31:10 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #53 on: December 27, 2023, 06:37:33 pm »
Hi.
I've not using it for a long time but I can try to answer some questions.

Yes, the app must be running.

The "deadzone" must be configured on mame. Set it to 0 (zero) on the ini.

For time crisis, I think you will have to enter it's calibration screen on the service menu.

Hope that it helps.

Many thanks for your replay Sonik.

So I have to launch de app and close it by some kind of command if I am using a front end, May be it is better to use it on manual mode without any front end.

What is "console"? it refers to GunconUSB.exe or the "Guncon2Console"

Finally how you navigate thru menus once the lightgun is activated without interferng the menu movement with the gun?

darknezz19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:July 07, 2024, 12:26:40 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #54 on: June 11, 2024, 04:10:14 am »
How do we configure groovymame to use this? Everything is installed, and I can see the X and Y coordinates moving properly in vjoy monitor. If I enable mouse mode with psakhis run.py, the gun is working properly to control the mouse. If I try to run GM with mouse set to lightgun, like in the video below, the game isn't responding to the guncon2.

https://youtu.be/mzGSbQd1WUs?t=35

Should we be running py script in mouse mode? How are you guys doing it?

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Online Online
  • Posts: 330
  • Last login:Today at 05:56:49 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #55 on: June 11, 2024, 06:02:46 pm »
Just use it as joysticks not mouse, and configure mame lightgun to joystick inputs

darknezz19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:July 07, 2024, 12:26:40 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #56 on: June 12, 2024, 01:30:47 pm »
Okay went back to joy input for the lightgun. Also set the joystick deadzone to 0. I get some movement in groovymame, but it just jumps all over the place. It works pretty good on the desktop resolution when I open vjoy monitor, but in mame the coordinates are not responding the same at all. Try to run calibrate.py, but get an error about usb.core backend not able to find the namco guncon 2. Tried to add the libusb dll from libusb git hub releases as that's what I think is needed. Dropped it in my system32 and wowsys64 folders, but then get a different error. Can someone explain how they get the calibratio.py to run on their windows? Or maybe someone could convert their working calibration.py into an exe and upload it?

https://www.analyticsvidhya.com/blog/2024/01/ways-to-convert-python-scripts-to-exe-files/#h-method-1-using-pyinstaller
« Last Edit: June 12, 2024, 01:37:55 pm by darknezz19 »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Online Online
  • Posts: 330
  • Last login:Today at 05:56:49 am
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #57 on: June 12, 2024, 03:29:02 pm »
Sorry cause I don't remember very well, but I think I couldn't use the calibration properly.
I use these values, got them trial-error:
    parser.add_argument("-x", default=(136, 736), type=point_type)
    parser.add_argument("-y", default=(86, 296), type=point_type)

darknezz19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:July 07, 2024, 12:26:40 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #58 on: June 12, 2024, 06:35:58 pm »
Thanks for getting those values, still having issues. Has anyone got a working setup of this on a current groovymame release? Again, it seems to work fine on the desktop, but in groovymame menu and in game the coordinates are jumping all over the place.

Edit: It's working. Don't try to set the X and Y to the increment and decrement inputs><, Just set the X and Y lightgun settings in the mame controls.

Edit2: Got the calibrate.py file working. You have to grab that libusb1.0.dll from https://github.com/libusb/libusb and extract the built x32 and x64 dlls to system32 and wowsys64 folder in /windows. It calibrates it for a good baseline, and then you can manually adjust it. Turn your brightness or contrast up to get shots registering. Don't have run.py in the background beforehand, just run calibration first. You alt tab out of the screen when done to see what x and y values it set and then type those in to run.py.
« Last Edit: June 17, 2024, 02:21:06 pm by darknezz19 »

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:October 04, 2024, 03:03:56 pm
  • 240p, 480i
Re: Guncon2 and Guncon3 windows driver
« Reply #59 on: August 28, 2024, 05:37:48 am »
Thanks for getting those values, still having issues. Has anyone got a working setup of this on a current groovymame release? Again, it seems to work fine on the desktop, but in groovymame menu and in game the coordinates are jumping all over the place.

Edit: It's working. Don't try to set the X and Y to the increment and decrement inputs><, Just set the X and Y lightgun settings in the mame controls.

Edit2: Got the calibrate.py file working. You have to grab that libusb1.0.dll from https://github.com/libusb/libusb and extract the built x32 and x64 dlls to system32 and wowsys64 folder in /windows. It calibrates it for a good baseline, and then you can manually adjust it. Turn your brightness or contrast up to get shots registering. Don't have run.py in the background beforehand, just run calibration first. You alt tab out of the screen when done to see what x and y values it set and then type those in to run.py.

Question is from what folder?
libusb-1.0.27/

MinGW32/dll
MinGW64/dll
VS2013/MS32 & MS64
VS2015/MS32 & MS64
VS2017/MS32 & MS64
VS2019/MS32 & MS64
VS2022/MS32 & MS64


???  :blowup:

Jonathan Smith

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:September 23, 2024, 03:03:39 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #60 on: September 15, 2024, 10:56:15 pm »
Is the driver for Guncon 3 functional? Is there tutorial? I currently use a couple to play PSOne on FPGA and I would love to use it for the same on PC. Thank you.
Python daemon it's only for GunCon2, although will be easy adapt to GunCon3 i don't have this gun to testing.

Are you tested @Sonik-br's driver and console for GunCon3?
I have installed the Guncon 3 driver however I don't know how to run the console (I am using Windows 10 by the way). Is running the "console/daemon" a Linux thing or something?

Jonathan Smith

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:September 23, 2024, 03:03:39 pm
  • I want to build my own arcade controls!
Re: Guncon2 and Guncon3 windows driver
« Reply #61 on: September 23, 2024, 02:58:46 pm »
I have the Guncon 3 driver installed to where my Windows 10 computer can recognize it, but I don't know how to run Sonik's "console/daemon" and I am a beginner at all this programming stuff. Can someone tell me what I need to do, download, or install in order to get it working so I can play games like Time Crisis 5 on my Guncon 3?