Gaming —

MAME devs are cracking open arcade chips to get around DRM

And you can help transcribe the raw, visible bits and bytes.

A look inside the circuitry of a "decapped" arcade chip.
Enlarge / A look inside the circuitry of a "decapped" arcade chip.

The community behind the Multiple Arcade Machine Emulator (MAME) has gone to great lengths to preserve thousands of arcade games run on hundreds of different chipsets through emulation over the years. That preservation effort has now grown to include the physical opening of DRM-protected chips in order to view the raw code written inside them—and it's an effort that could use your crowdsourced help.

While dumping the raw code from many arcade chips is a simple process, plenty of titles have remained undumped and unemulated because of digital-rights-management code that prevents the ROM files from being easily copied off of the base integrated circuit chips. For some of those protected chips, the decapping process can be used as a DRM workaround by literally removing the chip's "cap" with nitric acid and acetone.

With the underlying circuit paths exposed within the chip, there are a few potential ways to get at the raw code. For some chips, a bit of quick soldering to that exposed circuitry can allow for a dumped file that gets around any DRM further down the line. In the case of chips that use a non-rewritable Mask ROM, though, the decappers can actually look through a microscope (or high-resolution scan) to see the raw zeroes and ones that make up the otherwise protected ROM code.

Come together, right now, over chips

At 100x magnification, you can begin to see the individual bits and bytes that make up the raw code in this Mask ROM.
Enlarge / At 100x magnification, you can begin to see the individual bits and bytes that make up the raw code in this Mask ROM.

Decapping is a time-consuming and expensive process, but the MAME development community has shown a willingness to put in the effort and money. One crowdfunded MAME decapping effort from years ago led to the dumping of important chips found in games like Bubble Bobble, Galaga, Arkanoid, Street Fighter EX, and dozens of others. By 2015, though, that effort had fallen apart amid allegations that a key member had disappeared from the Internet and essentially run off with dozens of rare chips in his possession.

Since then, the Caps0ff project has taken up the MAME decapping mantle, raising money to acquire and decap hundreds of undumped chips in various states of disrepair. The project has already offered detailed breakdowns of its decapping efforts on chips from games like Bad Dudes, Mortal Kombat 4, and some cult classic shmups from developer Toaplan, among others.

An example of the interface used to crowdsource the ROM transcription of a decapped Fujitsu chip.
An example of the interface used to crowdsource the ROM transcription of a decapped Fujitsu chip.
For a set of Fujitsu-made chips used in Sega's Virtua Racing, though, Caps0ff needed to reach out for some crowdsourced help. With previously used computer-vision algorithms apparently unable to extract reliable data from these exposed Mask ROMs, the team set up a tool that would allow human eyes (and brains) to do the visual decoding themselves. That tool asks users to essentially transcribe 1s and 0s from black-and-white pictures of an ultra-zoomed portion of the chip, overlaid with a guidance grid to help pick out where one bit ends and the next begins.

The first chip of that set was successfully transcribed by 88 volunteers in about 15 hours this week, according to MAMEWorld poster drewcifer. That tool is set to be improved to make future chip transcriptions even more efficient—keep an eye on the Caps0ff blog if you want to contribute in the future.

The decapping effort brings to mind the Apple II preservation scene, which has gone to great lengths to crack and copy decades-old games and programs written for the monochrome '80s computer. The lesson here may be that, with sufficient time and attention, there's probably no DRM scheme that can't be broken by a dedicated group of historically minded fans.

Channel Ars Technica