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: WinGun Guncon2 Driver Project  (Read 46210 times)

0 Members and 1 Guest are viewing this topic.

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
WinGun Guncon2 Driver Project
« on: May 22, 2005, 10:01:58 pm »
I have started a new Guncon2 driver, to aid those of us who were unable to use Smog's Guncon2Mouse (http://lightgun.splinder.com). As time went on, it evolved in to more than just a hack, and can now work with any guncon2 compatible lightgun (those working with Smog's and those not due to the "Rolling X" problem).

You can visit the WinGun site at http://guncon.acornscity.com .

Features:

# Support for all Guncon2 compatible lightguns
# Functions just like a mouse and keyboard, only this program is required to run
# Works with your television, no special modifications required!
# Works with arcade monitors with little or no modification
# Lets you use a gun with the Rolling X problem normally
# Support for autocalibration, and gun type detection
# Allows you to tweak settings on the fly to get the gun calibrated just right
# Detects when the lightgun is not pointed at the television and releases control of the mouse.
# Allows you to remap the buttons on the lightgun to different mouse or keyboard buttons
# Two offscreen firing modes, either map offscreen firing to a button or use MAME mode

Please post your comments and experiences with the program here or in the forums on its site.
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

rchadd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Made in Cornwall
Re: WinGun Guncon2 Driver Project
« Reply #1 on: May 23, 2005, 07:31:24 am »
looks great

but does it work with Arcade VGA graphics card?

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #2 on: May 23, 2005, 10:14:32 am »
rchadd: yes, it does!

With reservations.

You must have the feed from the card at some point inbetween the computer and tv in a format that the guncon2 can read. This format is standard composite rca. My understanding is that there is a "jpac" converter that works fine, but if not, you can build your own circuit as discribed in the excellent guide located at:

http://intruderalert.myarcade.org/GUNCON2.htm

Hopefully this helps you!
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Flinkly

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1244
Re: WinGun Guncon2 Driver Project
« Reply #3 on: May 23, 2005, 12:05:15 pm »
how is this different than smog's driver?  i guess i need some more info...

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #4 on: May 23, 2005, 09:58:00 pm »
My project differs from Smog's in a few ways.

First, Smog is a more learned programmer - and has made a "better" driver. Not in usability yet, but that will come. You should try his before you try mine, unless you need a feature mine supports.

Mainly, my program supports guns which are having the "Rolling X" problem to some extent - a problem where the guns would return bad coords, rendering them unusable with smogs driver. My program implements an AI that can guess where the pointer should be, allowing you to use them while we work out how to actually fix the problem. That is its main purpose.

My program also differs from smogs in that it supports mapping gun buttons to keyboard keys, although again, his will have this at some point I'm sure. WinGun also allows you to shoot offscreen in mame without making mame use a button for it.

WinGun, as of yet, has no support for multiple guns. This will come, but if you need it now smogs driver already has some support for them.

Smog's driver also has a "sensitivity" option - I can't get it to work in his driver, and have no clue what it does, but mine does not and probably will not have it.

If you have any more questions, let me know!
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #5 on: May 24, 2005, 09:31:34 pm »
A new version has been released with tons of new features!

Check it out at http://guncon.acornscity.com
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #6 on: August 04, 2005, 10:25:48 pm »
It is time yet again for another version! A huge update this time, adding support for:


# Screen Brightening

# Support for multiple guns! Up to 4 guns will now work at the same time.

# Macros!

And tons more! Head over to http://guncon.acornscity.com for more information and the download!
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

buks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Squash the Sno-Bees !
    • Arcade Machine Construction
Re: WinGun Guncon2 Driver Project
« Reply #7 on: August 05, 2005, 08:27:44 am »
Acorn,

Apologies to start with for asking what is possibly a very stupid question but I have no idea how these things work (but here goes anyway !) :

I have a normal SCART TV and an ATI card. Using a home-made cable I go from VGA to SCART and use some software called Power Strip to set resolutions. Will this driver work with this setup ?

hope thats enough info !

Buks

EDIT : Just checked this site - http://intruderalert.myarcade.org/GUNCON2.htm and it has details on creating a cable for an arcade monitor - do you think that seeing as you use VGA-out (rather than TV-OUT) with an arcade monitor that I need the same thing ?

Just for extra info - the VGA SCART cable HOWTO is here - http://ryoandr.free.fr/english.html (just in case people don't know what I'm talking about !).

Thanks again,

Buks
« Last Edit: August 05, 2005, 08:40:43 am by buks »

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #8 on: August 05, 2005, 08:39:27 am »
Unfortunatly, I don't think it will without modification - not because of the driver, but because of the Guncon2 gun's requirements. At some point, the gun must have an input as composite (RCA connector). I'm not sure how you would change yours to work... I'm not an expert on these things, however other forum users will be more knowlagable in hardware areas :) Try posting in the Guncon2 Driver is here (Bacon is tasty) thread in the Main Forum!
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

buks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Squash the Sno-Bees !
    • Arcade Machine Construction
Re: WinGun Guncon2 Driver Project
« Reply #9 on: August 05, 2005, 08:42:07 am »
Thanks Acorn - I was just editing my previous post to include some extra info so I'm not sure if that helps or not.

i'll go look in the other forum you mentioned though.

thanks for taking the time !

Buks

chrisindfw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • I drank what?
Re: WinGun Guncon2 Driver Project
« Reply #10 on: August 07, 2005, 08:52:34 pm »
Wow!

Let me say good job!

I dowloaded the other driver, and then installed yours and it works perfectly. I have two lik-sang guns. I have been playing house of the dead 2 all night long!

Now here is a question. Is there a way via batch file or something similiar where I can turn on and off the auto reload and auto fire? Say one game I want it and one game I dont?

Thats about all I have now... I love it! Keep up the good work.


Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #11 on: August 08, 2005, 04:52:50 pm »
Chris, I believe you will enjoy the upcomming version :)

In it, support for multiple profiles and hot swapping profiles (based on button presses) are the main new features. You can use it to enable/disable/change any setting or group of settings whenever you press a button!

I may also add a command line switch to disable/enable features - currently the only command line switches are -m to start minimised, and -c to enable configuring of guns not currently connected.
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

MiKman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Blah
Re: WinGun Guncon2 Driver Project
« Reply #12 on: August 09, 2005, 01:03:40 am »
Hey acorn, love the driver.  It seems to track/calibrate my guns better than smogs driver.  However the guns will not work in Mame32 0.99 (tried several games pointblank, area 51)there is no response at all.  Any ideas?  With Smogs driver the guns would register in mame and I coudl play but I have to point the guns about 1 inch to the right of my target to actually hit it...

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #13 on: August 09, 2005, 02:57:51 am »
Hey! You are the second person that has reported having this problem - and it worked with the old version (0.2B). If you, or someone that has that problem is willing to get on and work with me (see Contact page of my site for my IM information) I can probably fix it!

It works fine in every version of MAME that I have tried btw, but with my new logging feature its easier to track down bugs that occur for other people.
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

MiKman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Blah
Re: WinGun Guncon2 Driver Project
« Reply #14 on: August 09, 2005, 10:55:25 pm »
Sure when I get some free time I will drop you an email (hopefully this weekend I will be free).  One other thing I noticed is when calibrating at the part where you shoot at the targets with the gun 1 inch from the screen one of my guns you shoot the first target and sometimes get to shoot the second target, then it just kicks you out like you clicked cancel.  Only my Gunman light gun does that. My official Namco Guncon II does not it can shoot every target without trouble and finish the calibration properly.   

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #15 on: August 10, 2005, 12:22:07 am »
Thanks, I would appreciate your help in solving this, it is an issue for a few people - but I don't have any guns that are causing it myself so I havn't been able to diag. it.

Note though: I don't have an e-mail listed; IM me - or if you can't, I can provide an online IRC client. Real time chat is usually necessary to solve these problems! Thank you much for your interest :)
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

chrisindfw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • I drank what?
2 guns?
« Reply #16 on: August 13, 2005, 01:22:35 pm »
A couple questions.

1) Is the calibration needed each time?

2) Anyone know how to configure it so I can use two guns with House of the Dead 2?

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #17 on: August 13, 2005, 06:50:07 pm »
WinGun V0.7B has been released! Check http://guncon.acornscity.com for full details - this time, bugfixes and lots of features YOU have been requesting, including (but in no way limited to) support to turn autofire/autoreload on/off with the press of a button!

I think you will enjoy the improved screen brightening as well :)

Chris: No, calibration is not required every time. In fact, you should only have to do it once ever for each gun.

Try "The Troubleshooter" at http://thetroubleshooter.home.mindspring.com/ for multiple guns in games that don't support the second player using a mouse. Some people report slowdown in firing with it, your milage may vary.
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #18 on: August 29, 2005, 01:52:41 pm »
WinGun v0.8B has been released. I recently bought a second gun, so I've had a chance to test myself and improve multiple gun support!

A lot of the littler features that have been requested here and on my forums have now been implemented - keep the requests comming!

Check out the new version at http://guncon.acornscity.com !
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Cunning like the Fox.
    • Mods'n'Mods
Re: WinGun Guncon2 Driver Project
« Reply #19 on: September 01, 2005, 01:18:13 am »
Acorn,

Apologies to start with for asking what is possibly a very stupid question but I have no idea how these things work (but here goes anyway !) :

I have a normal SCART TV and an ATI card. Using a home-made cable I go from VGA to SCART and use some software called Power Strip to set resolutions. Will this driver work with this setup ?

hope thats enough info !

Buks

EDIT : Just checked this site - http://intruderalert.myarcade.org/GUNCON2.htm and it has details on creating a cable for an arcade monitor - do you think that seeing as you use VGA-out (rather than TV-OUT) with an arcade monitor that I need the same thing ?

Just for extra info - the VGA SCART cable HOWTO is here - http://ryoandr.free.fr/english.html (just in case people don't know what I'm talking about !).

Buks - actually you may find your setup works, as with your setup you are not using a VGA signal at all, but a 15.75Khz RGB signal. (unless its some fancy HDTV mode - then I'm not sure)

So the syncs that are coming out your card are the correct frequency for the gun. Also, seeing as you are using a radeon, you will find that there is an option in the driver to output composite syncs. (Display properties->Advanced->Displays->Monitor->Adjustment (I think)). Set this to composite, then in theory your H-sync pin on the Vga card will now be outputting a 15.75Khz composite sync - which is exactly what the guncon needs on it's yellow composite RCA connector.

So you need to connect the H-sync pin to an RCA connector and thats probably it.


Smog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 178
  • .357
    • How to make a cheap GunCon2 work on your PC
Re: WinGun Guncon2 Driver Project
« Reply #20 on: September 06, 2005, 07:31:32 pm »
silver it will not work, apart the composite you must take in account the polarity and the voltage of the signal that are different between VAGA-SYNC and COMPOSITE-SYNC (that is what the gun expects)

Bucks, it is not a matter of driver you choose. If you use the hardware configuration you are saying you must build a very little circuit to make the gun work. You can find all the infos on my site or intruderalerts one (http://intruderalert.myarcade.org/GUNCON2.htm)
« Last Edit: September 07, 2005, 10:34:05 am by Smog »
GunCon2PC Driver on http://guncon2pc.no-ip.org/

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Cunning like the Fox.
    • Mods'n'Mods
Re: WinGun Guncon2 Driver Project
« Reply #21 on: September 08, 2005, 06:24:28 am »
Ah yes you are quite right....

I've noticed that you have contol over the polarity of the syncs in ATI drivers (display/monitor/adjustments or something similar). You would want to set them negative.

As for the voltage yes - VGA syncs are 5V (TTL level) and composite around -300mV I think. I'm successfully sending 1V syncs at the moment from my circuit and that works ok (an error on my part, as composite is 1Vpeak-peak, but the syncs are not). However, I know the chip on the Jpac that produces composite sync does not pull down the voltage. I don't own a JPAC so the real thing may adjust it.

Anyway, I tried the composite out on my radeon for the guncon - and it does not quite work - I can track in the x-axis only (so it probably is not dealing with vertical syncs too well....?)

Smog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 178
  • .357
    • How to make a cheap GunCon2 work on your PC
Re: WinGun Guncon2 Driver Project
« Reply #22 on: September 09, 2005, 09:00:39 pm »
I experienced same problem with my GunCon1 ... Don't know why but Y coords did not give valid values. I've tried on both composite TV out and VGA with adaption circuit but with no results. I've never had this problem with GunCon2 although.

Quote
I've noticed that you have contol over the polarity of the syncs in ATI drivers (display/monitor/adjustments or something similar). You would want to set them negative.

Do you really trust that program ? How can you know it is doing what it says ?
GunCon2PC Driver on http://guncon2pc.no-ip.org/

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Cunning like the Fox.
    • Mods'n'Mods
Re: WinGun Guncon2 Driver Project
« Reply #23 on: September 11, 2005, 10:07:00 pm »
Thanks for the feedback on that - missed it before. Interesting re guncon1's not giving y values - mine are switchable guncon1/guncon2... I don't suppose you happen to know that if the gun can not detect a Vsync, would it work at all (I'm guessing not).

RE: the catylist drivers and composite sync. Well I know they work on the card I'm using (radeon 9500) with recent catylists as I've actually had the VGA port hooked up to a waveform monitor (I was doing this to compare the output of the VGA to the circuit I was making). Turning the syncs + or - or composite in the displays drivers all worked fine. In composite sync mode it sends the composite sync out on the H-sync pin if I recall correctly...

Composite sync does not work with the circuit I made, you need the syncs seperate. I have not tested using powerstrip to output a 15Khz signal and turning on composite sync and feeding that directly to the guns. Obviously there are voltage differences (5V in VGA) but as andy warne had the circuit working with 5V Hsyncs it may well work. I'll try and get round to giving it a try sometime....
« Last Edit: September 11, 2005, 10:10:06 pm by Silver »

Smog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 178
  • .357
    • How to make a cheap GunCon2 work on your PC
Re: WinGun Guncon2 Driver Project
« Reply #24 on: September 13, 2005, 09:44:59 am »
It could work, if you feed the 5v to that micro you showed on the other thread. Feeding directly to the gun It could or it could not ... On my gun it does not.
I don't know why you need it, but if you have a composite sync you can separate it with an Lm1881.
GunCon2PC Driver on http://guncon2pc.no-ip.org/

JoeB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • NES Fanatic
Re: WinGun Guncon2 Driver Project
« Reply #25 on: September 17, 2005, 11:18:23 am »
Smog, Acorn..

is there a reason why there are 2 "competing" guncon2 implementations for windows ? Can't you guys get together and combine your effort?

just wondering...

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #26 on: September 17, 2005, 05:00:37 pm »
Joe: It was tried, earlier, but fell through.

As we can see with the most recent release, competition is a good thing. You can choose the best, and the best is brought out rather than having to settle.. or only take what is thrown your way :P

For both authors this is a "pet" project. I don't think the guncon2 drivers are the only projects either of us is working on at the moment as well.
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

tivogre

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 239
  • I'm a llama!
    • ogredog.com
Re: WinGun Guncon2 Driver Project
« Reply #27 on: October 04, 2005, 10:27:39 pm »
OK.... Sorry this is long... but I want to get all of the pertinent details in here...

I'm REALLY close to having my GUNCON2 set-up work.

Here's my set-up:

I am using two Scorpion 3 guns.

I have an NVIDIA FX 500 graphics card.

The VGA output goes to a custom cable that allows me to tap off pins 10 (SGND), 13 (HSYNC) and 14 (VSYNC).  These are then fed into the custom circuit here:



...to generate a composite sync signal.

I have also built a circuit to provide the Scorpion 3s with +5v and +9v through a pair of hacked PS2 extension cables.

Everything hooks up nicely.  I have a clean picture on the screen at either 800x600 or 640x480 resolutions.

The driver recognizes both guns.

I thought I was home free... but not quite.

When I try to calibrate the guns, the cursor "wraps" across the bottom and left edges.

The top and right edged seem to be "hard"... the gun recognizes them fine.

The left and bottom edges, however, are not recognized properly. 

When the gun is at roughly the center of the screen, moving from far right to left, the cursor is already on the left edge.  If I keep moving left, the cursor wraps to the right edge.  By the time I get to the left edge, the cursor is near the center of the screen.

Similarly, when moving from top to bottom, as the gun reached about 3/4 way to the bottom of the screen, the cursor wraps off the bottom, back on to the top, and continues to about 1/4 way down by the time the gun reaches the bottom of the screen.

When the gun is tracking the cursor in a usable area of the screen, it's PERFECT... no jitter, no unexpected movements / jumps.

I feel like the circuits I built must be working... or I wouldn't be as close as I am.

Seems like a (probably obvious) calibration issue.

Anyone else had this problem, or know of a solution?

Thanks!
« Last Edit: October 04, 2005, 10:36:05 pm by tivogre »

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Cunning like the Fox.
    • Mods'n'Mods
Re: WinGun Guncon2 Driver Project
« Reply #28 on: October 05, 2005, 09:29:45 pm »
You've entered a rather grey area on these guns that I've come across but have no time to test (and won't for a while).

Basically, although you are using that circuit to make a composite sync, you are still running at 31KHz. (Unless you are outputting something fancy via powerstrip, but it doesn't sound like you are). Most of the time I've tested this, the guns go crazy and can't track at all (I have scorpion3's too).

I'm guessing - and its a large guess - that the vaguely good results you are getting is because the guns are in 100Hz mode. I'm amazed it works at all, as they are designed to recieve a 15Khz signal while looking at a 50/100Hz tv.

The only success I've had with what you are doing is: 1) outputting a 15Khz signal from the pc directly, using powerstrip. You will need a monitor that can cope with this though (which a standard VGA monitor can not)
2) Builing a circuit that converts the syncs from 31Khz to 15Khz and feeding that to the gun. I used a chip off a Jpac which can be bought seperately from Ultimarc.

There is more info and a wiring diagram on both the driver projects I believe.

However, it is interesting you have partial success as it is - have you tried selecting "rolling X" mode and calibrating with that in the driver?

Also - when you say no jitter - do you mean none at all? I always had more jitter than I expected, but never had anything to compare it to....

tivogre

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 239
  • I'm a llama!
    • ogredog.com
Re: WinGun Guncon2 Driver Project
« Reply #29 on: October 06, 2005, 12:29:35 am »
I have spoken to Andy at Ultimarc.  He agreed that his JPAC "small chip" should work in my situation;  also suggested (as you did) that I need to "divide the sync in half".  He has posted a new diagram for a circuit for the chip on his web site:

www.ultimarc.com/images/guncon.jpg

I have ordered his chip, and will build a circuit for it when it arrives.  That being said, I would be interested in knowing / learning why mine isn't quite working, and how I might be able to change it to make it work.

I am not doing anything special with the PC output.  Just setting resolution with the nvidea driver to 800x600 @ 60 Hz refresh.

I have tried setting rolling X and calibrating;  it is no different.

I also sent Acrons a file from his driver log;  he said the behavior was not something he had seen before; not like rolling X.  I posted that dump file from the gun on his site in the support forum if you want to take a look.

As for the gun tracking, it is VERY smooth in "following" the gun.  by that I mean it moves at constan speeds that vary with, and are in the same relative direction that the gun is moving.  No jerkiness... at least on an all white screen.

That being said, because of the wrapping, the cursor is only near where the gun is actually pointed in the upper left area of the screen.

Someone (I think you) mentioned the signal not being "terminated" by the guns... could this be the problem;  If so, how would I terminate it?

As you may have guessed, I'm pretty adept at building the circuit, given a plan... but I really have no understanding of why / how it does what it does.

I'm willing to experiment on this;  If I en up going with the JPAC route and the circuit I put together would be useful to someone else (for their own use, if they can't build it thenselves) or for research, I'll work with them.

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Cunning like the Fox.
    • Mods'n'Mods
Re: WinGun Guncon2 Driver Project
« Reply #30 on: October 06, 2005, 09:08:19 am »
The significant point here is this:

I am not doing anything special with the PC output.  Just setting resolution with the nvidea driver to 800x600 @ 60 Hz refresh.

Even though you are sending a composite sync, you are sending a horizontal sync signal which is at 37Khz. The gun was designed to work at 15.7Khz. I would expectic highly erratic behaviour - if any behaviour at all - using this.

Not sure why it nearly works for you - could be something to do with you gfx card or your monitor.

Termination - whenever a video signal is connected to a peice of equipment - say into a monitor - it is connected via a resistor that is almost 75Ohms (In Tv world anyway).  This is called termination. It effects the level of the voltage coming in. Incorrect termination say on a monitor can result in no picture, or a picture thats horribily bright. With my bodge test circuit I found that feeding the Hsync directly to the composite input of the gun was erratic until I plugged the passthrough of the gun into a tv and turned it on. However, I would not expect this to be an issue as it was probably related to how I had set my circuit up.


I notice Andy has modifed the circuit slightly, grounding a couple of extra pins - thats interesting, as I was having issues with the pull-down level when it was blanking out alternate syncs ( I built another flip-flop circuit to clean up the output) - this might improve things...
« Last Edit: October 06, 2005, 09:12:15 am by Silver »

Flinkly

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1244
Re: WinGun Guncon2 Driver Project
« Reply #31 on: October 06, 2005, 11:51:20 am »
so how is the quality of the gun so far?  does it work for anyone yet, so that you can just point and click?  it seems like everyone is still having problems...

tivogre

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 239
  • I'm a llama!
    • ogredog.com
Re: WinGun Guncon2 Driver Project
« Reply #32 on: October 06, 2005, 05:36:09 pm »
If I use mine against a TV set, it is every bit as accurate as my ACTLABS guns.   They are definitely "point and kill".

PLUS, with the GUNCONs, I can use two (or 3 or 4) guns at once, AND have SW control of various calibration profiles, rapid fire, and auto-reload.

Once I get these working with my D9200, they will be FAR better than the ACTLABS.

Given the cost of the guns, and the cost of building the circuits to make them work, it'probably still a bit cheaper for the GUNCONs also.

buks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Squash the Sno-Bees !
    • Arcade Machine Construction
Re: WinGun Guncon2 Driver Project
« Reply #33 on: October 09, 2005, 06:08:10 pm »
My opinion is the driver is excellent. I've had a fair few problems setting them up (and still have) but most of the time its been down to me not reading the faq and readme..... DOH ! I never do read manulas though :)

Games like Duck Hunt in MAME track very well. Probably not 100% accurate but pretty close (for my setup anyway). Other games just don't seem to work but thats usually because they have a dark background. Flashing the screen is supposed to fix this (I think) but I've spent more time on the games that work so maybe its just that I havent configured stuff correctly.

I'm using RGB-SCART to a Daewoo 17" TV. I've had problems with any resolution other than 640x480 but the graphics on GTA:SA look excellent with all the settings ramped up (not a lightgun game though so off topic... ). This is something to do with overscan but seeing as I play games too much I have no idea what this means or if I can fix it :)

Acorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Lightguns!
    • WinGun Driver
Re: WinGun Guncon2 Driver Project
« Reply #34 on: October 20, 2005, 07:29:33 pm »
Just a quick note, my domain (acornscity.com) expired. 5-7 years ago I registered with a company that was good at the time, but isn't anymore. They want $20 to renew. I've started a transfer to 1and1, but it may take a while. In the meantime, the site is still up if you care to go there - http://12.219.44.141/guncon . This is hosted on a computer at my home, since the one 1and1 is hosting constantly references acornscity.com (this one is usually my test site). I think it is fully functional.

I have also registered www.guncon2driver.com - it will be available in 2-3 days, and become the "official" domain shortly after.

Sorry for the confusion!
Get WinGun (Guncon 2 PC USB Driver) at http://www.guncon2driver.com

Banacek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
Re: WinGun Guncon2 Driver Project
« Reply #35 on: July 17, 2006, 12:57:35 am »
rchadd: yes, it does!

With reservations.

You must have the feed from the card at some point inbetween the computer and tv in a format that the guncon2 can read. This format is standard composite rca. My understanding is that there is a "jpac" converter that works fine, but if not, you can build your own circuit as discribed in the excellent guide located at:

http://intruderalert.myarcade.org/GUNCON2.htm

Hopefully this helps you!


I know this thread is old, but that link seems to be down. Any idea where I can find that guide at? Thanks!

chrisnack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
Re: WinGun Guncon2 Driver Project
« Reply #36 on: February 25, 2009, 12:37:11 pm »
is there a place i can get this driver?

Thanks

AcidArmitage

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 273
  • keeeyaaaii
Re: WinGun Guncon2 Driver Project
« Reply #37 on: February 25, 2009, 08:50:35 pm »
I asked here a while ago and nobody replied so i had to use the EMS topgun driver... it works well, try that

chrisnack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
Re: WinGun Guncon2 Driver Project
« Reply #38 on: February 28, 2009, 07:40:45 pm »
Well that sucks, i need his driver, EMS won't work with the Namco guns... i assume

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
Re: WinGun Guncon2 Driver Project
« Reply #39 on: March 02, 2009, 08:08:41 am »
I was thinking of getting some of these for an upcoming project, I got to the end, and saw that it was gone, so I checked the Wayback archive and grabbed the driver, I have attached it below.  I hope this helps.  A question, are these the best guns for MAME, or are the ACT labs the best?  I like the possibility of switching from a TV based display to a real arcade monitor, and not needing to replace both guns.

Here is the last page archived:
http://web.archive.org/web/20080213100641/http://www.guncon2driver.com/

I always try the archive first, sometimes .exe and .zips get archived too, that was the case here. I just zipped the .exe, but if you are weary of .exes like I am, you can open it with 7-zip. :)

Here the version info from the release.txt:
Quote
--Version Log:--

Versions are counted like this:
A = Alpha
B = Beta
D = Development
R = Release
0.0X will be the alpha releases
0.X will be the beta releases
0.XX will be development releases, and eventually X.XX
X.X will be releases

V0.82B
Fixed a critical bug with multiple guns and the new by USB port connection code.

Fixed a couple other trivial bugs, like one with the input que (was executing one "blank" instruction every loop. Had no effect on gameplay), and insta-timeout on program start (again had very little effect, since the guns still all reconnected).

Changed Quick Calib so it will work when used from the key select menu directly under button config.

Spent the day researching and trying stuff out, implemented a system that shouldn't depend on the usb interface you are connected to. Woot. If you have old INI files, you don't need to replace them, but you might want to recalibrate to take advantage of this feature.

V0.81B
Fixed a critical input bug that was preventing extended periods of play.

Fixed the screenflash issue where the guns that wern't primary wern't flashing when both players fired at once. Also with this fixed the issue where in drag/autofire mode guns that didn't have their triggers depressed could turn off the flash.

Decided that checking for updates every time you entered the menu was too annoying. It only checks when you start the program now, or go into about. I may change this back or to something else depending on feedback.

Corrected one "Select Key" issue where L was being mapped to I.

V0.8B
Added a new interface for mapping buttons to gun keys. It is a visual representation of a keyboard, useful for those of you with no keyboards connected or those having trouble with the "Get Key" function. Includes mouse mappings.

Under macros, added the ability to switch quick calibration on and off (with a gun button press). This allows you to recalibrate using Edge Calibration at any point in time (even in game!).

Added support for "Mouse4" and "Mouse5". But before you get all excited, mame doesn't seem to recognise them (though windows does). Remember any game that supports edge clicking (like Area51) will work with Click Edge for the second gun's reload now, and most other games support mapping reload to whatever you want.

Added a hidden (no interface to change it) option in WinGun.ini. Allows for all guns to track. Doesn't always work. See readme.txt under "Editing the INIs".

Proper support for command line parameters. This is mostly an internal thing - but the side effect is you get more of them :) Also, you can use multiple parameters now.

Also for command line support added single instance checking! If you open a second copy of wingun, the command line parameters used will be passed to the first copy and the second copy closed. Woot!

Added command line parameter -loadprofile (or -lp). You can use this to load a profile for any gun by gunnum, and profilenum or name! See readme.txt user "Command line parameters" for usage information!

Automatic version checking! WinGun will now check to see if the version you are running is the most recent, and if it isn't, display a balloon tooltip (which you can click to get information about the newer version). This feature can be disabled under the new about screen, and requires an internet connection to work at all.

Where it made sense replaced the nasty messageboxes with cute balloons. Woot.

Gun connections are now mapped to a USB port - meaning if you have more than one gun connected, and reopen the program, the guns shouldn't reconnect in a different order. It also means that you can have only one gun plugged in, and if that gun is using the settings of Gun #2, Gun#2 can be enabled when Gun #1 is not. May sound complex, but it fixes a lot of the "weird" issues some of you have been having with multiple guns. Note about this: Your guns should be connected to one interface to make the best use of this possible. See Readme.txt under "USB".

Output of mouse and keyboard events redone to a que system. Some disadvantages, but many more advantages - mostly for people with 2+ guns. They should work much more as expected now, being able to test myself was a huge help! Overall, multiple guns work 100x better.

Click Edge now performs whatever is assigned to Main Trigger - at the edge of the screen.

Threads terminated in a different manner - people with 1 gun shouldn't end up with wingun reporting 2 connected guns anymore.

Installer added. Fun. Pretty. Includes uninstaller. And shortcuts.

V0.7B
Singlefire mode fixed, trigger detection fixed (was a simple line of debug code left in, sorry to any it affected!)

1/3rd of the offscreen shot detection secondary AI enabled. This is not really useful if Screen Brightening works for you, but if it doesn't it should help a little.

Changed the way the screen flashes based on the current gun mode (single now flashes almost instantly, drag still stays bright for as long as you hold the trigger down)

MAME Mode was renamed "Click Edge" - a lot of people were having trouble understanding that "MAME Mode" for offscreen shots was just a button press with an associated location (the edge of the screen). Hopefully this will help.

Added the ability to map any button to "Click Edge" (Use Scroll Lock when getting a key)

Added button presses to Data.txt logging. Fixed a bug in data.txt logging, you can now log all guns at once and it will work

Added the ability for users to modify the time between autofire shots, and the number of shots between an autoreload. Autoreload is now mapped to whatever offscreen trigger is mapped to as it should be, instead of being limited to "mame mode". Yes, it will run a macro even.

Added support for multiple, loadable profiles!! Along with this comes with a profile manager, and the ability to create and edit profiles from in the UI. A profile contains (up to) all settings for a certain gun, as well as the global settings.

Profiles are now hot-swapable! This means a couple of things: First, you can set a button on your gun to cycle through a list of 2 or more profiles, loading and activating all the settings in each profile as you switch to it. Second, you can create a kind of "Shift" button. Instead of cycling though, it loads a second profile only for the duration of the button press!

Added more console logging, in autocalibration and other places (easier to see problems).

Added the ability to define which buttons are rapidly fired in autofire mode, and which ones are only pressed once in autofire mode.

Fixed a couple of existing "quirks", such as not being able to enter a negative number in the centering boxes.

Fixed many bugs, such as the "spaces in ini" bug that was causing crashes after a while.

Updated what I do if "Hide Mouse" is checked. Cursor is reloacated to the bottom of the screen every time a gun fires when it is on now - slightly better at making it look hidden, but without locking the real mouse out from being used.

Screen Flashing has been improved! If your card supports it, it should work almost flawlessly now - even on complete black. Note that for ATI, Radeon 9600+ has been confirmed to work, and for Nvidia, TNT2 and above is confirmed to work. Other brands or older cards may or may not work.

A new fun "fun feature"; Gun Rating! Take the test and see how well your gun scores. This is in very early stages, and will become more reliable as time goes on.

V0.6B
Unfortunatly I did not keep a log of the changes, as I was not planning at the time on releasing further versions. One could say that WinGun has became an entirely new program in the meantime! I will try to list the main changes below:
Support for multiple guns! Up to 4 guns will now work at the same time. Huge, huge thing to get working.
Screen Brightening; causes the screen to flash bright when a trigger is depressed. Very requested, but doesn't work on all video cards.
New autocalibration routine; includes easy to read on the TV instructions, and a new shoot the targets phase.
Updated and further completed interface; includes a tray icon, and many more options. Redid so all menu's will fit on a 640*480 screen.
Completely redone connection method. You can connect a gun and have it detected without user interaction, and if a gun stops sending data WinGun should attempt to reconnect it. Along with this change came many other connection code changes: it should be much more reliable now, and account for many more error situations.
Added an "information" screen that is invaluable for debugging and troubleshooting. Added tons of console output messages for use with it, all timestamped and neat. Added the ability to log console output and gun output to files.
Added support for basic macros in Button Config. Press Ctrl-Alt-Del, click in a specific location, etc. Up to 20 events, which can be delayed, told to execute multiple times, etc
Added Hide Mouse option
Redid, improved almost every internal function. Over 80% of the code for WinGun is different from 0.2B
As noted, did and changed way more than I can possibly remember.

V0.2B
Interface for configuring the buttons. (woot!)
New calibration routine, some tweaks to calibration.
Fixed just about everything I know of that could help the rolling x problem. This is as good as it gets, until we solve it.
Redid the interface.
Added singlefire firemode, and option to switch in the interface
Added the ability to switch between normal and rolling x modes manually in the interface
Added auto-fire and auto-reload. Auto-fire is best not used in duck hunt, I've found.
Fixed a bug where Buttons A-C wern't being read in from the INI and resorting to using the defaults.
Cleaned up code, fixed other random minor bugs
V0.1B
First public release.
Fixed a couple of file write bugs, added in about 10 error messages, and took out some debug code to make ready for a public release. Please note that the interface is brand new, most of the program was written using a console to output errors. It will be improved in the next release.
V0.02A -
Added ini file saving
Added this readme
Changed the routine for finding normal/rolling gun mode. The previous one took 30 seconds for guns that sent information at a slower rate.
Fixed a couple of bugs
V0.01A -
First "release", only tested by one person other than myself.
« Last Edit: March 02, 2009, 08:45:01 am by MacGyver »

  
 

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