DIY Diner Booth with Cocktail Table Arcade

[Glennzo] has a house with some odd interior design choices. The most glaring one is a living room/den complete with a green Jacuzzi hot tub straight out of the 1980s. The tub really didn’t fit with [Glennzo’s] plan to use the space as a bar and game room, so out came the Sawzall and demo hammer. The tub was in its own little alcove, possibly a converted closet. [Glennzo’s] turned the space into a restaurant style booth complete with a cocktail arcade table.

The fiberglass tub was relatively easy to cut up and remove. This left the wood framed tile tub surround. The surround was extended to become a booth seat. A bit of creative woodworking, some vinyl cushions, and the booth itself was ready. But what good is a booth without a table?

The cocktail table arcade machine is powered by a mini-tower running MAME. The monitor is an old 21″ LCD. The frame of the table is plywood and pine lumber, finished with stain and polyurethane. The illuminated buttons and interface came from an arcade control kit, which made wiring a snap. The table is topped off with a custom 3/8″ thick piece of glass.

The final product looks great and fits the room perfectly. Now [Glennzo] just needs a BarBot to finish off the perfect hacker and gamer paradise!

Toy Dash Turned Gaming Interface

We see a lot of MAME cabinets and other gaming emulator projects here on Hackaday, but it’s not often that we see one the form factor of which so elegantly matches the ROM. [circuitbeard] converted a Tomy Turnin Turbo toy dashboard into a mini arcade machine playing Outrun.

There are many fascinating details in [circuitbeard]’s writeup. His philsophy is to “keep it looking stock” so he went to great lengths to add functionality to various elements of the toy without changing its appearance. The gear shifter was turned into a 3-way momentary switch with high and low speeds at top and bottom, with rubber bands pulling the switch back the center (neutral) when he lets go of it. The original toy’s steering wheel mounts to a slide potentiometer. The dash has a working ignition switch that uses a PowerBlock to manage the safe startup and shutdown of the Pi.  The dash also lights up the way you’d expect, and even displays accurate MPG and rev info.

For more MAME goodness here on Hackaday, see this broken tablet turned into a mini MAME cabinet or the portable MAME system of the future

Continue reading “Toy Dash Turned Gaming Interface”

Completely Owning the Dreamcast Add-on You Never Had

If you’ve got a SEGA Dreamcast kicking around in a closet somewhere, and you still have the underutilized add-on Visual Memory Unit (VMU), you’re in for a treat today. If not, but you enjoy incredibly detailed hacks into the depths of slightly aged silicon, you’ll be even more excited. Because [Dmitry Grinberg] has a VMU hack that will awe you with its completeness. With all the bits in place, the hacking tally is a new MAME emulator, an IDA plugin, a never-before ROM dump, and an emulator for an ARM chip that doesn’t exist, running Flappy Bird. All in a month’s work!

The VMU was a Dreamcast add-on that primarily stored game data in its flash memory, but it also had a small LCD display, a D-pad, and inter-VMU communications functions. It also had room for a standalone game which could interact with the main Dreamcast games in limited ways. [Dmitry] wanted to see what else he could do with it. Basically everything.

We can’t do this hack justice in a short write-up, but the outline is that he starts out with the datasheet for the VMU’s CPU, and goes looking for interesting instructions. Then he started reverse engineering the ROM that comes with the SDK, which was only trivially obfuscated. Along the way, he wrote his own IDA plugin for the chip. Discovery of two ROP gadgets allowed him to dump the ROM to flash, where it could be easily read out. Those of you in the VMU community will appreciate the first-ever ROM dump.

On to doing something useful with the device! [Dmitry]’s definition of useful is to have it emulate a modern CPU so that it’s a lot easier to program for. Of course, nobody writes an emulator for modern hardware directly on obsolete hardware — you emulate the obsolete hardware on your laptop to get a debug environment first. So [Dmitry] ported the emulator for the VMU’s CPU that he found in MAME from C++ to C (for reasons that we understand) and customized it for the VMU’s hardware.

Within the emulated VMU, [Dmitry] then wrote the ARM Cortex emulator that it would soon run. But what ARM Cortex to emulate? The Cortex-M0 would have been good enough, but it lacked some instructions that [Dmitry] liked, so he ended up writing an emulator of the not-available-in-silicon Cortex-M23, which had the features he wanted. Load up the Cortex emulator in the VMU, and you can write games for it in C. [Dmitry] provides two demos, naturally: a Mandlebrot set grapher, and Flappy Bird.

Amazed? Yeah, we were as well. But then this is the same guy emulated an ARM chip on the AVR architecture, just to run Linux on an ATMega1284p.

Revealing Capcom’s Custom Silicon Security

Ask any security professional and they’ll tell you, when an attacker has hardware access it’s game over. You would think this easily applies to arcade games too — the very nature of placing the hardware in the wild means you’ve let all your secrets out. Capcom is the exception to this scenario. They developed their arcade boards to die with their secrets through a “suicide” system. All these decades later we’re beginning to get a clear look at the custom silicon that went into Capcom’s coin-op security.

Alas, this is a “part 1” article and like petulant children, we want all of our presents right now! But have patience, [Eduardo Cruz] over at ArcadeHacker is the storyteller you want to listen to on this topic. He is part of the team that figured out how to “de-suicide” the CP2 protections on old arcade games. We learned of that process last September when the guide was put out. [Eduardo] is now going through all the amazing things they learned while figuring out that process.

These machines — which had numerous titles like Super Street Fighter II and Marvel vs. Capcom — used battery-backed ram to store an encryption key. If someone tampered with the system the key would be lost and the code stored within undecipherable thanks to “two four-round Feistel ciphers with a 64-bit key”. The other scenario is that battery’s shelf life simply expires and the code is also lost. This was the real motivation behind the desuicide project.

An overview of the hardware shows that Capcom employed at least 11 types of custom silicon. As the board revisions became more eloquent, the number of chips dropped, but they continued to employ the trick of supplying each with battery power, hiding the actual location of the encryption key, and even the 68000 processor core itself. There is a 6-pin header that also suicides the boards; this has been a head-scratcher for those doing the reverse engineering. We assume it’s for an optional case-switch, a digital way to ensure you void the warranty for looking under the hood.

Thanks for walking us through this hardware [Eduardo], we can’t wait for the next installment in the series!

iPad Tossed Out for RetroPie Arcade Cabinet Redux

The naming and remixing in this project can get a little confusing to those unfamiliar with the different elements involved, but what [John Gerrard] has done is take a stylish mini arcade cabinet intended as a fancy peripheral for an iPad and turned it into an iPad-free retro arcade gaming cabinet. He also designed his own power controller for graceful startup and shutdown.

The project started with a peripheral called the iCade (originally conceived as a fake product for April Fool’s) and [John] observed it had good remix potential for use as a mini retro gaming cabinet. It was a good starting point: inexpensively purchased off eBay with suitable arcade-style joystick and buttons, a nice layout, and plenty of hacking potential. With a small variety of hardware from familiar sources like eBay and Aliexpress, [John] rounded up most of what he needed.

Continue reading “iPad Tossed Out for RetroPie Arcade Cabinet Redux”

Extracting Sounds With Acid And UV

Toaplan was a Japanese video game developer in the 80s and early 90s, most famous for Zero Wing, the source of the ancient ‘All Your Base’ meme. Memeology has come a long way since the Something Awful forums and a pre-Google Internet, but MAME hasn’t. Despite the completionist nature of MAME aficionados, there are still four Toaplan games with no sound in the current version of MAME.

The sound files for these games is something of a holy grail for connoisseurs of old arcade games, and efforts to extract these sounds have been fruitless for three decades. Now, finally, these sounds have been released with the help of sulfuric acid and microscopes.

The sounds for Fire SharkVimanaTeki Paki, and Ghox were stored on their respective arcade boards inside the ROM for a microcontroller, separate from the actual game ROM. Since the fuse bits of this microcontroller were set, the only way to extract the data was decapsulation. This messy and precise work was done by CAPS0ff, who melted away the epoxy coating of the chip, revealing the microcontroller core.

Even without a microscope, the quarry of this hunt was plainly visible, but there was still no way to read out the data. The built-in read prevention bit was set, and the only way to clear that was to un-set a fuse. This was done by masking everything on the chip except the suspected fuse, putting it under UV, and checking if the fuse switched itself to an unburnt state.

The data extraction worked, and now the MAME project has the sound data for games that would have otherwise been forgotten to time. A great success, even if the games are generic top-down shooters.

Hackaday Links: September 18, 2016

No Star Trek until May, 2017, at which time you’ll have to pay $5/month to watch it with ads. In the meantime, this is phenomenal and was shut down by Paramount and CBS last year ostensibly because Star Trek: Discovery will be based around the same events.

Tempest in a teacup. That’s how you cleverly introduce the world’s smallest MAME cabinet. This project on Adafruit features a Pi Zero, a 96×64 pixel color OLED display, a few buttons, a tiny joystick, and a frame made out of protoboard. It’s tiny — the height of this cabinet just under two wavelengths of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom. Being based on the Pi Zero, it’s a capable arcade cabinet, although we would struggle to find a continuous rotation pot small enough to play Tempest the way it should be played. Check out the video.

[Graham] sent an interesting observation in on the tip line. It’s an election year in the US, and that can mean only one thing. It’s coroplast season. Coroplast is that strange material used for political signage, famous for its light weight, being waterproof, and reasonably strong, depending on how you bend it. There is a severe lack of coroplast builds, but if you have some be sure to send them in.

The ESP32, the followup to the hugely popular ESP8266 , is shipping. [Elliot] got his hands on one and found it to be a very promising chip, but the ESP3212 modules I bought from Seeed haven’t arrived yet. That hasn’t stopped [Ptwdd] from making a breakout board for the ESP3212, though. We don’t know if it works, but it’s just a breakout board, anyway.

The usual arguments for drones involve remote sensing, inspection, and generally flying around for a very long time. Quadcopters don’t do this, but fixed wings can. Over on DIYDrones, [moglos] just flew 425km on a single charge. The airframe is a 3 meter Vigilant C1 V tail, using the stock 300kV motor. The battery is a bunch of Panasonic 18650 cells arranged in 6S 9P configuration for 30600mAh. The all-up weight is 5.7kg. This is significant, and we’re seeing the first glimmer of useful tasks like pipeline monitoring, search and rescue, and mapping being done with drones. It is, however, less than half the range a C172 can fly, but batteries are always getting better. Gas goes further because it gets lighter as you fly.