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
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Guncon 2 - Dead Horse or Still Alive?  (Read 2338 times)

0 Members and 1 Guest are viewing this topic.

jonbenderr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • I want to build my own arcade controls!
Guncon 2 - Dead Horse or Still Alive?
« on: June 13, 2017, 05:48:31 am »
Hello again guys.

So I think I have managed to read every thread here and even elsewhere in regards to using guncon2 with a mame cabinet.

Information seems to drop off pretty quick as the posts get more recent.

Am I to late to get these things working as they are?

I have the official Namco NPC-106 guns so I've been trying to use the wingun program from ages ago to at least manage the rolling-x problem.  Drivers don't seem to install at all on Win 7 32-bit.  I have actually managed to get them to install on a virtualization of windows XP or what is known as XP Mode, but the guns do not detect.  I can even see "Guncon HID" or something similar in device manager but there is a code 10 when looking at the properties.

As for my video setup, I have a Manhattan PC to TV converter box.  I'm running VGA to this, than S-Video out to a CRT.  I've tried using composite out on the converter box as well as the composite out of my CRT to the guncon to no avail.

Pretty much every configuration I could try, I have tried.

I'm also seeing a message in information view of Wingun that it cannot load the profiles.

Is it my convertor box that is causing the problem?  I'm not opposed to swiping an actual tv out card off ebay if I can score one for cheap.

Getting a mod kit for the guns from Aimtrak right now is not an option due to cost so if I have to give up the dream of playing some Lethal Enforcers I guess that's just the way it is.  :)

Any new info out there that anyone could point me to would be greatly appreciated.

jonbenderr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #1 on: June 15, 2017, 01:13:10 pm »
Interesting update (maybe?).

Actually managed to get the drivers to install on windows 7 using PNPutil in CMD. 

Worked well enough that when I plug in a Guncon2 it pops up in Device Manager and reports as "working".

Now if only I could get wingun to detect the guns I would be in business.  Or at least the start of business.


Sean89us

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #2 on: June 19, 2017, 09:27:42 am »
Could you go into more detail about how you got the drivers to install on windows 7? I can't get them to install. Something about a file not found

burn_654

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 143
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #3 on: June 21, 2017, 01:25:07 pm »
I have been woring on the 'TopGunCon' project with testing/assistance from phasermaniac. Basically it is a two part project for the GunCon2 - a software screen flasher and a hardware timer circuit to fit shots inside of the white screen flash. So far it is working pretty reliably after you tune the circuit. This does rely on the Topgun3 driver (which means no rolling X fix - you need to use a third party gun) but the 64bit driver seems to work just fine if you enable testsigning for Windows 7 - 10. The 32bit driver would be suitable for Windows XP. It's very much a wip, I need to properly document the project and simplify the circuit. Phasermaniac is showing some success working on a fully-software version of what my circuit does, hopefully that can simplify things further.

Interesting that you got the WinGun driver to force install. I can say that WinGun works pretty well for supported stuff (anything that can do directinput for 2 player - mame and games supported by original troubleshooter worked well) but for emulators requiring rawinput like model2 or pcsx2 (or live cursor tracking for both guns) you're out of luck. As well as being stick in XP (again, may or may not be a problem, depends on your needs. New mame versions probably won't run.)
« Last Edit: June 21, 2017, 01:27:47 pm by burn_654 »

jonbenderr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #4 on: June 21, 2017, 05:04:19 pm »
Yeah, I actually ended up installing xp and the guns detected no problem.

Windows 7 just wasn't happening, though I wonder how easy it would be to update wingun to work with 7.

I know nothing about driver programming though.

Fortunately none of the games I want are very demanding so I don't mind hashing things out with XP for a bit.

Good to hear there is still some work being done with these things. They are really nice guns. Look forward to learning more avout that project.

white_ghost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #5 on: July 05, 2017, 01:04:05 pm »
Hi all,
I'm trying to get the guncon2 working on the pc (win7 x32 x64)
If there are some mad tester here I would like to know if it works for you
Important, Read the readme.txt
https://yadi.sk/d/YZBrP4zo3NeYFm
Edit : a guy has reported my mega link of my work, so if this guy wants to explain to me why, in private, I will be very happy to understand
++
« Last Edit: October 11, 2017, 02:11:44 am by white_ghost »

Jeppo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #6 on: October 08, 2017, 04:35:36 pm »
Hi all,
I'm trying to get the guncon2 working on the pc (win7 x32 x64)
If there are some mad tester here I would like to know if it works for you
Important, Read the readme.txt
https://mega.nz/#!Y1wFXLjQ!Mf7tOByIEJ07dwkUiibdi52BJXsWkjBZzxd6vTN22bw
++
Hello white_ghost :)

I have succesfully installed your drivers and software, but I am loosing tracking every minute or so. I also have poor tracking along the edges of the screen.

Best Regards

white_ghost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #7 on: October 10, 2017, 05:30:16 am »
Hello Jeppo,
Thx for feedback
I know it's not a perfect piece of software...
I re-checked again, but no loosing tracking even after long play (Under Windows or under mame)
Concerning the edges of the screen and poor tracking. I think it's due to the gun itself. I know that if the gun looses track it always sends the same fixed coordinates this is why you see the cursor sometimes appears in the left mid-upper of the screen. The software just transcribes the gun's coordinates to desktop coordinates, nothing more
This generally happened when you targeted darker area. For me, under desktop, the gun has difficulty with the taskbar because it's darker, under duckhunt, it has difficulty with the lower screen (Brown area, and black area)
As it's an optical device, have you tried to adjust contrast and luminosity of your tv set/crt, this may help a lot

p.s.
I made a little change (v0.02), because I realized the driver shut off after a month or more
edit : new link
https://yadi.sk/d/YZBrP4zo3NeYFm

Edit 2 : a guy has reported my mega link of my work, so if this guy wants to explain to me why, in private, I will be very happy to understand
« Last Edit: October 11, 2017, 01:38:08 am by white_ghost »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 103
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #8 on: October 10, 2017, 06:20:54 pm »
Interesting! Ill take a look tomorrow, I use a guncon45+ems dualshooter + ems topgundriver.
I also have two guncon2, but, what is this? A whole gun driver itself, an addon to some other driver?

white_ghost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #9 on: October 11, 2017, 01:43:05 am »
Hello,
It's a simple driver/software for the guncon2

Rata En Lata

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #10 on: January 26, 2018, 06:26:21 am »
Hello everyone

Sorry if it's too late to reply in this post and sorry too if my english is not good, I'm from Spain. I've been looking for something like this for too long, but I give up and intall win XP in another machine with WinGun, so imagine my joy after seeing this, I honestly did not have any hope that it would work but I've tested the drivers right now in my personal computer, it works perfect!!! I've only tested it for a little time but here is my feedback.

Works on windows 10 64x res 800x600, tracks perfect after calibration (during calibration doesn't track correctly the right edge, but after pushing start everithing is perfect), I've doesn't lost the track yet, it seems your last fix works fine. No "X rolling" problem, in fact it keeps tracking well after pointing off the screen from the sides, which WinGun did not do at all well. I have not tried it yet in mame or in games and I don't think I can do it today, but if you want, as soon as I do I'll inform you. I have not managed to run a second GunCon2, maybe there is no way to do it, but if it's is posible, please tell me how to do it.

Comparing it with WinGun this one tracks much better, I like the "shooting dots" system from wingun, but this one calibrates perfect without it, so it doesn't matter, hopefully it is possible to implement some day the functionality of the other buttons of the gun (as well as the remaping and the "Click on edge" as in wingun) and a second gun, as I saw, is not based on RawInput, so the reload of the second player in Sega Model 2 is discarded, but the function of mapping the mouse button 1 and 2 to the first gun and the 3 and 4 to the second one would make this the best solution with difference for the rest of the games and emulators.

Thank you very much, I hope you continue with this project, it may become the perfect solution I'm looking for.

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 103
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #11 on: February 01, 2018, 01:16:25 pm »

I'm using 3rd party guncon2 guns, may them work or only original guncon2 with rolling x problem?
Nowadays, I'm using Topgun driver, an idependent flasher and an script with an ahk wrapper https://autohotkey.com/boards/viewtopic.php?t=26306  for interception library http://www.oblita.com/interception.html.
This allows me to detect the guns sepparately and send the flasher delay the trigger some milliseconds and shorten the trigger duration to be inside the flash lengh.
Maybe it's something interesting if you want to add 2 player possibility, would be nice!
My script kinda work, althoughsome games looses some shoot, others seem to need the trigger be delayed even 30ms, I'm not very confident with the timings I'm using...

n1ghttrap

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #12 on: April 15, 2018, 05:23:39 pm »
Holy crap, white_ghost.  This is the best I've seen an actual lightgun work on PC.  I can hit most targets with reasonable accuracy through the sights, and it works on Win7 x64.  Have you developed this further?  2 player support?  Key/mouse mapping for the other buttons?   Can I bribe you via Patreon or something to work on this more?  A couple things I would like for sure is the option to turn off automatic fire and support for at least one more mouse button.  Thanks, and great work.

white_ghost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #13 on: April 16, 2018, 05:03:34 am »
Hello,
I'm totally overbooked theses months, so it's really hard to find time to program, and spring is here, a lot of work to do outside
I know 2 players option is expected... Weeks ago, I bought a 2nd used guncon2 (for 10 euro). I found a way to pass coordinates/buttons to virtual mouse/keyboard.
Since I can't sign my own drivers for virtual mouse/keyboard (it costs an arm), I found a old free project on the net with already signed driver. You must understand I can't legally pack my software with theses drivers even if they are free (users must find and install it by themselves).
Basically, I read buttons/coords from guncon2 with my driver and send theses informations into others virtual driver (very easy on paper, but in real life...,  :banghead: )
Actually the principle and early test version work but it's absolutly not perfect so I need to rewrite all the software. I even don't know if I will get there...Tested on win 7 x64 and win 10 x64 (signed driver must be turned off in win10)
I've succesfully mapped key from guncon button to send key to mame and I can use the multi mouse/keyboard feature from mame, virtual mouses are seen by another great free project : demulshooter from Argonlefou.

about to turn off automatic fire : see repeat value, I can't do better
3rd mouse button will be in theory possible

This little project makes calls to many programming concepts that I even did not know (ie : drivers) and I'm really rusty in programming.
When ? I really don't know and I even don't know if I will release it because of the need of 3rd party signed driver  :dunno

I'm totally against patreon, and seriously, who would like paid for a "wobbly" software without support ?
++


n1ghttrap

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #14 on: April 17, 2018, 12:37:54 am »
Well, whatever you've got, I'll test.  Dunno if you wanna continue posting to this thread or if you have a website you keep updated with your work.

Of note, not sure why but it seems like you need to ramp up the brightness a little bit to get the best results.  I find that raising black to grey makes it a lot more reliable.  I wonder why the Playstation doesn't struggle with this, but every guncon driver I've seen just doesn't work with black at all. 

While not perfect, and I'd love to see rawinput and a little bit less latency, it's still the best out there regarding real lightgun support on PC.  AFAIK the only other options are Wii style sensor guns.  The Actlabs VGA gun is no longer manufactured sadly.

white_ghost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #15 on: April 22, 2018, 05:33:56 am »
Hello,
New version v0.16 online
this one use virtual device and allows 2 guns
read the readme for more info (and the readme first)
not perfect and no so easy to install but not too bad, I think
same link as above
https://yadi.sk/d/YZBrP4zo3NeYFm
++


n1ghttrap

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • I want to build my own arcade controls!
Re: Guncon 2 - Dead Horse or Still Alive?
« Reply #16 on: May 03, 2018, 04:02:55 pm »
Thanks for posting your latest work, white_ghost.  Rawinput and 2player are very much appreciated, along with the extra button support.  I haven't been able to test 2 player yet, but a friend has another guncon and I'll look into doing that soon.

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31