beardypig / guncon3

Linux kernel driver for the Guncon3 light gun from Namco
https://www.beardypig.com/2016/01/06/guncon3/
GNU General Public License v2.0
33 stars 7 forks source link

Can you do the same for Guncon2? #3

Open mortaca opened 5 years ago

mortaca commented 5 years ago

Hello, we are the development team of RGB-Pi, we work on a soft to emulate on raspberry and tube TV, an extremely interesting function would be to use lightguns synchronized on the CRT itself, we just need to be able to communicate with the gun, is possible to repeat the hack you made for guncon3 with a guncon2? It would be very appreciated.

beardypig commented 5 years ago

That would be very cool. The GunCon 2 is quite different from the GunCon 3, it has a standard PSX (PS1/PS2) connector and I think it has a composite video input. The connector is not much of a problem (you'd need to build an adapter), but you'd need to generate the video signals for the GunCon as well. I believe it is looking for the vertical blank signal to sync up to the TV.

I don't know if there is any real communication between the console and the GunCon, as far as I know (I might be wrong) the GunCon1 and GunCon2 just send signals to the console. In principal it is possible, if you can generate the right video signal and understand the signals the gun is sending.

I moved recently so I do not have all my equipment set up yet, I have a GunCon2 and a PVM around somewhere ...

If you want to discuss anything else you can email me (beardypig at protonmail dot com).

pcnimdock commented 5 years ago

It's possible that lcdtopgun works with gcon2 http://vah.dy.fi/lcdtopgun/

beardypig commented 5 years ago

@pcnimdock the GunCon 2 starts in 100Hz mode, so it would work in theory if you had a 100Hz TV. However, with a proper GunCon 2 driver it would work on regular TVs too.

I am currently working a Linux kernel module to support the GunCon2 ...

pcnimdock commented 5 years ago

@beardypig Do you have any spects of the usb Guncon2 protocol? I want emulate a gun in PS2 with a microcontroller (in ps2_netemu on PS3 isn't possible) and i don't have one. I get some spects from lcdtopgun and nuvee plugin, like that guncon2 is a hid device without report descriptor. In the plugin and driver don't show the maximun and minimun aim data or some time frame...

beardypig commented 5 years ago

@pcnimdock I will publish all my findings when I release the kernel module, which will hopefully be soon.