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: "Joystick" Gun Schematics? - Project added  (Read 3611 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 09:09:57 am
  • ...
"Joystick" Gun Schematics? - Project added
« on: August 05, 2010, 03:10:30 pm »
The thread about gun games in M2 has me pondering crazy ideas that I will probably never execute, but it's still fun thinking about the possibilities.

I searched google images for schematics & repair manuals, but came up empty.
I also looked on ebay, but I could almost pick up a gutted machine for what the individual guns are going for.

Anyone have any schematics or parts sheets?

Does anyone have a joystick type gun mounted on their control panel?

Did they use potentiometers or encoder wheels?
I would think pots would make more sense given the limited turning radius.  (and I have a couple old sets of steering wheels/pedals for parts)
A mouse hack might make sense for M2, since the games use mouse input & I don't recall there being analogue options for those games.


I know a handheld aimtrack pistol would work for these games, but having a turret mounted big heavy gun that shakes like hell when you pull the trigger would be a lot of fun.  ;D
« Last Edit: August 13, 2010, 12:43:57 am by BadMouth »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 09:09:57 am
  • ...
Re: "Joystick" Gun Schematics?
« Reply #1 on: August 06, 2010, 10:18:43 pm »
The thread about gun games in M2 has me pondering crazy ideas that I will probably never execute

Found service manuals, learned just enough to get me in trouble and.....

Bought this (haven't picked it up yet):


Did some testing with a set of old Act Labs pedals I'm not using.
I set the gas pedal as the x-axis & the clutch as the y-axis in Terminator 2.

It worked perfect!  :applaud:  I didn't even have to calibrate it.
(didn't get very far trying to aim with my feet though)

There isn't anything to the to the pedals except a pair of potentiometers.
I'm not sure how the range of the pots in the gun will compare to the ones in the pedals, but I can swap them out if necessary.
I found pinout info here: http://homepage.mac.com/glhs/logimod/index.html

It should just be a matter of running a pair of DIN cables from the pots in the gun to the little act labs usb box.
I'm sure it can't be that easy, but at this point it sure seems that way.

I've always hated the CPzillas, but wouldn't that gun make a great addition to one.  ;D


Dr Zero

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 08, 2018, 06:06:43 pm
  • Sunny Florida North
    • Drzero.org
Re: "Joystick" Gun Schematics?
« Reply #2 on: August 07, 2010, 12:02:05 am »
That looks freaking cool! good find  :cheers:
Manuals and info on Dynamo cabs!

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 09:09:57 am
  • ...
Re: "Joystick" Gun Schematics?
« Reply #3 on: August 09, 2010, 11:20:06 pm »


Searched through the CP pics for gun games & found a match:


This is the only pic I could find.  The cab & CP pics in my mame folder are cut out from this flyer.
Info seems very scarce.  I guess that means there isn't much hope for finding a second gun.
Makes me wonder what happened to the rest of the cab this came out of.......
(gonna ask when I pick it up, but they aren't selling any other parts that look like they are from this cab, so I imagine it's been in a parts bin for a long time)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 09:09:57 am
  • ...
Re: "Joystick" Gun Schematics?
« Reply #4 on: August 12, 2010, 10:58:17 pm »
Thought about putting this in Project Announcements, but I don't intend to do much more with it and this is the first thread that comes up if someone searches for joystick gun info.

Picked up my gun yesterday.  It is HEAVY and it's METAL.  :)
Popped off the top to see if there was a force feedback motor, or room for one and.....  ;D

I put 12v to it and it works.  Not as jarring as I was hoping for, but it's already in there and works.
There aren't any markings on the motor, so I'm not sure if it could take more than 12v.  
It would be nice to have a manual.

For the newbs like me who have never worked on these type of machines before:
The the guns movement is tracked by a pair of potentiometers.  
They are driven off a fan gear attached to the pivot points.

(^ underside of gun, L/R movement)

(^ top down, U/D movement)

The first thing I did was measure the range of the pots to see how they matched up to the pots in the act labs pedals.
They topped out at about 60% of the resistance of the pedals.  It's good that they had less of a range than the pedals since
that could be fixed during calibration.  I'm not sure what would have happened had the range been above what the
act labs encoder is looking for.

At this point, I need a mini-din cable to connect the pots in the gun to the act labs box.
I considered ordering one and leaving the act labs pedals untouched, but eh...I'm impatient and they aren't bringing much anymore,
so I take apart the pedal base and cut the wires.  

(inside the act labs pedal base...nothing to it but a couple springs and pots)

I wire the act labs cable to the gun wiring harness using the pots in the driving base as a guide, plug the din cable into the act labs box,
& plug the usb cable from the box into my computer.  I expected the gun's range to be limited to a corner of the screen, given that the
range of the pots was reduced to about that.  But what happened was that I was limited to a small rectangle in the center of the screen.
It's of no consequence, but I thought it was interesting that everything stayed centered, despite the reduced range.

To fix the range, I needed to calibrate.  Figured it was best to calibrate in windows first, so I opened up game controllers in the control panel.
Clicked on the act labs pedals, settings, calibrate.  The first screen was joystick calibration.  I moved the gun all around and ...nothing.   :-\
Click next....Z-rotation axis (clutch pedal, not used...yet).  Next - X-rotation axis  :)  .  I point the gun to the left and right edges of the screen.
Next - Y axis, point the gun to the top and bottom of the screen.  Finish, Apply  :blah:   And the result......gun tracks 100% perfect.   :applaud:

Now I tried to test it in a game, but I can't hold the base, aim the gun & hit buttons on the keyboard at the same time (fire buttons aren't wired).
So I start looking around for a base & find a little junk table that's been waiting to be scrapped.  Cut a hole for the base of the gun to drop into and....


and a big gun would be more fun on a bigger screen.....


Now to start experimenting in MAME.  I calibrate the gun in T2, although it didn't seen to need it.  Give it a go and....something is just off.  :cry:
The crosshairs lag behind the gun and seem to freeze up and hesitate whenever I'm near the center of the screen.  When I need to move the gun a half inch, it just doesn't go, then it seems to jump too far all at once.  So I go into the analogue adjustments in mame and crank up the sensitivity to around 100.  Definite improvement, but the gun still hangs in the center, even in the games calibration screen.  Then it hits me......JOYSTICK DEAD ZONE!!!!  :banghead:
I'm using MAMEUI, so I go into the control options there and reduce the joystick dead zone to zero.  Fire up the game and all is well.  :applaud:
I ended up with the sensitivity at 150.  I think it's going to be one of those things where you just have to tinker with the analogue settings until it feels right.

Another thing I learned is that the position of the gun, screen, and your body are extremely important to recreating the arcade feel with these games.  Sitting in a chair with the gun just below chest height worked and was comfortable, but it felt nothing like being at the arcade.  I knelt down in front of the table, putting the gun at shoulder height and I felt much more into the game.  Horizontal gun position is also important.  I had the gun in the center of the screen, but the bullets were coming from left of center because the original game had a gun mounted on each side.  If I ever do use this gun in a control panel, it will be mounted left of center.  The vertical position also made a big difference.  It has to be high enough that you are more behind than above the gun, but low enough that it isn't blocking your view and maintains the illusion of the bullets traveling from the end of the gun and entering the bottom of the screen.  I know this might not be possible with all games, but the few I experimented with were pretty consistent about what point the bullets seemed to be coming from.

I think I rambled on enough.  Hopefully somebody will pick up something useful from my little experiment.
I took some video of the setup in action (still using the keyboard to fire).

http://www.flickr.com/photos/25643351@N07/4886932428/#secret2e9a647964

« Last Edit: January 15, 2011, 07:41:30 am by BadMouth »

Gorotsuki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 157
  • Last login:March 05, 2011, 10:51:25 pm
Re: "Joystick" Gun Schematics?
« Reply #5 on: August 12, 2010, 11:50:35 pm »
This is awesome!
I have two of the actual gun controllers
either from T2 or Operation wolf.
Haven't been able to do anything with them yet,
but this gives me some hope.