Main > Project Announcements

Fitting an AimTrak in a Sega Light Phaser gun -- now with video :P

<< < (3/5) > >>

smalltownguy:
Sorry for the lack of updates lately, folks. I've been busy with kids.

I'm in the process of setting this up for use with Terminator 2. I have a PS2 mouse, trackball (minipac) and the AimTrak all hooked up at this point, so I know I have 3 mice. T2 calibration menu sees my PS2 mouse as gun1, and my trackball as gun2.  Moving my AimTrak does nothing. I tried unplugging my PS2 mouse, rebooting, and now my trackball has moved to gun1, but the AimTrak is still not being seen. The cursor tracks fine with the AimTrak in windows. Am I missing something?

My mame.ini settings:

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                       1
joystick                      1
lightgun                     1
multikeyboard            0
multimouse                1
steadykey                  0
offscreen_reload        0
joystick_map              auto
joystick_deadzone      0.3
joystick_saturation     0.85

syph007:
I'm curious, have you tried switching in the mame.ini file, lightgun = lightgun to lightgun = mouse ?

smalltownguy:

--- Quote from: syph007 on October 10, 2009, 08:05:12 pm ---I'm curious, have you tried switching in the mame.ini file, lightgun = lightgun to lightgun = mouse ?

--- End quote ---

Yep, tried that. Didn't work. Somehow I think the magic might lie in making a change to the term2.cfg file. I'm pretty sure that's the only way I'll be able to get the proper behavior I want.

MKChamp posted a copy of his term2.cfg file in this thread but that was for MAME 106. Not sure if it still applies.

smalltownguy:
Ok, so continuing on. I was able to get the gun configured properly in MAME in the positional gun games like Terminator 2 and Revolution X, etc. Enabling -lightgun AND -mouse in the mame.ini file did the trick for me.

Now that I had things working the way I wanted, I set out to getting a 2nd button installed on the gun to use the 'aux' pins on the PCB. I stole some wires from my old junk pile that had female pins on them, and they snapped into the 4 pin block that Andy supplied quite nicely.

My light phaser's back panel was missing when it arrived, so I needed to fabricate one from a spare piece of plastic. I used an old 5.25 drive bay cover I had lying around. After cutting the profile I needed, I drilled a hole to fit my button.

I had a few extra Atari volcano buttons, and the tiny cherry switches JUUUST fit in the available space. Here's a shot of my re-fabricated back panel, with the button fitted:



Yeah, I know, not the right color. Nothing a little sharpie action can't fix  ;D

Here's the final button installation. Maybe someday I'll try and tap into the 5v line and light up the LED *heheh*





The final positioning of my PCB. I used an exacto knife to trim away some more of the circular aperture that used to hold in the lens to allow the PCB to sit lower in the barrel. This small (but important!) adjustment pretty much took care of my issues with the gun's top hood blocking the camera's view of the LED bar on my monitor. I can now use the gun from 18 inches away with no issues. You can see that the bottom has a slight gap -- the PCB is about 1mm wider than the barrel at that height. It's OK, though, it's providing good tension that will keep the PCB nice and tight.

If I get some extra time tonight, I'll shoot a video of the gun in action. Otherwise I'll get it done in the next day or two.

I'm pretty happy with the way this turned out. Sega's Master System was my absolute FAVORITE console when I was a kid, so it's pretty cool that I can use this gun again.

Neverending Project:

--- Quote from: smalltownguy on October 12, 2009, 10:16:38 pm ---I'm pretty happy with the way this turned out. Sega's Master System was my absolute FAVORITE console when I was a kid, so it's pretty cool that I can use this gun again.
--- End quote ---

That's the stuff BYOAC is all about, right there. Nice job.
 :applaud:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version