Light Guns Aren’t Just For CRTs Anymore

For how much of a cultural phenomenon light gun games like Duck Hunt were, they didn’t survive the transition from CRT televisions to LCDs particularly well because of all of the technological quirks the light guns exploited in older technology that simply disappeared with modern TVs. But it’s not impossible to get a similar gameplay from modern technology as evidenced by the success of the Wii and its revolutionary Wiimote, and there are plenty of modern games that use similar devices. There are a few paths to getting older light guns working again, though.

The first system to note, called SAMCO, uses a system of LEDs and a camera to synchronize the game’s flashes to the new technology and translate the input back into the game. Gun4ir uses a similar technique, and boasts extremely high accuracy and low latency largely due to being programmed in assembly. Both systems can use either an infrared tracking sensor or a Wiimote sensor as the LEDs and while the SAMCO system can run on a Raspberry Pi Pico, Gun4ir exclusively uses ATmega32U4 boards with the optimized assembly programming.

Both SAMCO and Gun4ir offer PCBs for anyone looking to try them out without designing their own circuit boards, and once the electronics are assembled they can either be put in an original NES-era light gun, put in a custom printed enclosure, or even stuffed into a Nerf gun. For others looking for a more turnkey solution, there are also offerings from companies like Sinden which make complete system. You can always build your own system to restore the functionality of original light guns from scratch if that’s more your style.

Thanks to [LookAtDaShinyShiny] for tipping us off to the latest happenings in the light gun community!

Photo courtesy of Wikimedia Commons

The Little Lightgun That Could: Sinden Makes Good

Back in 2018, we covered the work being done by [Andrew Sinden] to create a lightgun that could work on modern televisions. The project was looking for funding via Kickstarter, but due at least in part to skepticism about the technology involved, the campaign fell well short of its goal. It seemed, at the time, like the story would end there.

But we were recently pointed to a fascinating interview with [Andrew] that ran in The Guardian a couple months back that not only tells the rest of the story, but concludes with a happy ending — after years of hard work, the Sinden Lightgun is now available for purchase. It’s not exactly the turn-key product that some would like, as there’s a fair number of hoops one must jump through just to bag some eponymous waterfowl in Duck Hunt, but nothing that would scare off the average Hackaday reader.

Limited technical details about the 2018 prototype may have kept backers away.

The final version of the hardware ditches the realistic firearm aesthetic inherited from the Wii gun accessory it was designed to fit into, and now features a brightly-colored pistol enclosure that wouldn’t look out of place tethered to a Virtua Cop machine. It’s also gained an optional recoil solenoid for force feedback, though it tacks on another $60 to the already hefty $100 price tag for the base model.

We’re glad to see that [Andrew] recognized the importance of getting Linux support for the software side of things, as it enabled the development of a pre-configured Retropie image for the Raspberry Pi 4. Though you aren’t forced to emulate on the Pi, for those who would like to blast the occasional zombie on their desktop, Windows and x86 Linux are also supported.

Often times, when we cover a project here on Hackaday it’s a one-shot deal: somebody had a particular need or desire, built a gadget to fulfill it, and moved on. There’s nothing wrong with that, but there’s a certain feeling of pride when we see a project from this community develop into something more. While not every hacked together piece of hardware we feature has the potential to be the next Arduboy or Sinden Lightgun, we like to think that we’ve already covered the next big project-turned-product success story and just don’t know it yet.

Continue reading “The Little Lightgun That Could: Sinden Makes Good”

Tiny Duck Hunt Looks Like Big Fun

Unless you’ve held on to an old tube TV, did the hack that lets you use a light gun with an LCD via Wiimote receiver and a couple of microcontrollers, or live close to one of those adult arcades, you might be really jonesing to play Duck Hunt by now. It’s time to renew that hunting license, because [Danko] has recreated the game for NodeMCU boards, and it’s open season.

Instead of ducks, you get to shoot cute little Twitter-esque birds of varying sizes and point values, and a tiny cab-over truck if you wish. There’s a 60-second free-for-all, and then time is up and your score is displayed. As a special bonus, there’s no smug dog to laugh at you if don’t hit anything. Be sure to check out the demo and build video after the break.

This pocket console lives on a nicely-wired breadboard for now while [Danko] works on a custom PCB. He’s also planning to add support for Arduboy games in the future, and maybe a joystick instead of a D-pad of buttons.

There are a lot of myths floating around about how the old CRTs read the NES light gun, but our own [Will Sweatman] shot them down in his fascinating Duck Hunt: Reloaded write-up.

Continue reading “Tiny Duck Hunt Looks Like Big Fun”

The Fun Is On The Christmas Tree With This Playable Duck Hunt Decoration

‘Tis the season for leftovers, be they food, regifted presents, or the decorations left behind in the wake of the festivities. Not to mention the late tips we get for holiday-themed builds, like this Duck Hunt ornament that’s completely playable.

Details are sparse in [wermy]’s video below, but there’s enough there to get the gist. The game is based on the Nintendo classic, where animated ducks fly across the screen and act as targets for a light pistol. Translating that to something suitable for decorating a Christmas tree meant adding an Arduino and an IR LED to the original NES light pistol, and building a base station with a Feather and a small LCD screen into a case that looks like [The Simpsons] TV. An LED on each 3d-printed duck target lights in turn, prompting you to blast it with the gun. An IR sensor on each duck registers hits, while the familiar sound effects are generated by the base, which also displays the score. Given a background of festive blinkenlights, it’s harder than it sounds – see it in action briefly below.

[wermy] has done some interesting builds before, like a RetroPie in an Altoids tin and a spooky string of eyes for Halloween. We hope he’ll come through with a more detailed build video for this project at some point – we’re particularly interested in those beautiful multi-color 3D-prints.

Continue reading “The Fun Is On The Christmas Tree With This Playable Duck Hunt Decoration”

A Lightgun For LCDs – Thanks To Maths!

Light guns were a fun way to learn to shoot things on consoles, enjoying their heyday in the 80s and 90s. The original designs largely relied on the unique characteristics of CRT televisions and the timing involved in the drawing of their frames. Unfortunately, due to a variety of reasons (dependent on the exact techniques used), they typically do not work at all with modern LCD & plasma screens.

The light gun contains a camera, and reportedly works by using the distortion of the rectangular image of the screen to calculate the position of the light gun itself.

Recently, there has emerged a new project called the Sinden Lightgun. In the How It Works video, it seems to use a fairly standard 30fps camera inside the gun to image the television screen being used by the game. The display is then rendered in 4:3, letterboxed on a 16:9 aspect ratio display, within a rectangular bezel. The image from the camera is then processed, and the distortion of the game image is used to calculate the position of the gun and the direction of its aim. Processing is handled by the host computer running MAME and the requisite coordinates are fed back in to the game code.

The basic concept seems sound, though as always, there’s a healthy amount of skepticism around the project. We’d love to hear your take, on whether the concept is plausible, and whether the lag figures stated are cromulent. We’re always excited to see new developments in the lightgun space! Video after the break.

Our own [Will Sweatman] penned an excellent piece on a variety of ways one could resurrect the venerable game of Duck Hunt, too.
Continue reading “A Lightgun For LCDs – Thanks To Maths!”

Tricking Duck Hunt To See A Modern LCD TV As CRT

A must-have peripheral for games consoles of the 1980s and 1990s was the light gun. A lens and photo cell mounted in a gun-like plastic case, the console could calculate where on the screen it was pointing when its trigger was pressed by flashing the screen white and sensing the timing at which the on-screen flying spot triggered the photo cell.

Unfortunately light gun games hail from the era of CRT TVs, they do not work with modern LCDs as my colleague [Will Sweatman] eloquently illustrated late last year. Whereas a CRT displayed the dot on its screen in perfect synchronization with the console output, an LCD captures a whole frame, processes it and displays it in one go. All timing is lost, and the console can no longer sense position.

[Charlie] has attacked this problem with some more recent technology and a bit of lateral thinking, and has successfully brought light gun games back to life. He senses where the gun is pointing using a Wiimote with its sensor bar on top of the TV through a Raspberry Pi, and feeds the positional information to an Arduino. He then takes the video signal from the console and strips out its sync pulses which also go to the Arduino. Knowing both position and timing, the Arduino can then flash a white LED stuck to the end of the light gun barrel at the exact moment that part of the CRT would have been lit up, and as far as the game is concerned it has received the input it is expecting.

He explains the timing problem and his solution in the video below the break. He then shows us gameplay on a wide variety of consoles from the era using the device. More information and his code can be found on his GitHub repository.

Continue reading “Tricking Duck Hunt To See A Modern LCD TV As CRT”

NES Zapper Modified To Work With An Old Nintendo VS. Cabinet

nes-zapper-nintendo-vs

The company which [Eric Wright] works for recently bought a Nintendo VS. It had Ice Climber installed as one of the titles but they asked the vendor if it was possible to swap it out for the Duck Hunt ROM. They had the ROM but not a light gun that would work with the system. [Eric] suggested they buy it with Duck Hunt and hack an NES Zapper to work with the VS cabinet.

Let’s take a step back for a moment. The Nintendo VS was a coin-operated gaming cabinet you would find in an Arcade. Luckily there’s quite a bit of information about the original hardware on the web. Some research helped him discover that electronically the only difference between the arcade and home versions of the Zapper is that the sensor capture is inverted. This was fixed by replacing a transistor in the gun with a jumper wire. The next challenge was figuring out how to wire the gun up to the second controller port. And finally he patched the ROM to work with the incorrect PPU as the right chip was not easily sourced.

Continue reading “NES Zapper Modified To Work With An Old Nintendo VS. Cabinet”