CLOSE
Original image

How Did the Game Genie Work?

Original image

The Game Genie was the technological holy grail of my Nintendo-playing childhood. Here was a device that would let me play Super Mario Bros. with infinite lives, or get infinite rockets in Metroid. Here's exactly how it worked, and how people are still using it today.

Plugging In

From the start, the Game Genie was marketed as a "game enhancer," though there's a fine line between "enhancing" and "cheating." In short, it was able to modify games at startup, so you could change them in ways that made your gaming life easier—typical enhancements involved adding lives or weapons, or in rare cases strange things like accessing hidden areas of the game that weren't normally playable.

The NES Game Genie was designed to be crammed into the front of the NES; it stuck out the front and you had to attach game cartridges to the slot on the Game Genie. The Game Genie had a wicked set of connector pins that attached to the NES's slot with a death grip. This connection ended up being a double-edged sword: using the Game Genie could eventually damage your NES's cartridge slot if you inserted and removed it a lot. But if you left it inserted permanently, it effectively replaced the NES cartridge slot, and that connection could be more reliable than inserting and removing games within the NES itself. So the good news was that if you were willing to keep the Game Genie in there forever, it could provide a more reliable connection for your games, and was probably better than blowing into your cartridges.

Here's a totally rad commercial (right down to the Bill and Ted knockoff dudes) explaining, in kid-friendly terms, how the Game Genie worked:

A Slightly More Technical Explanation of the Genie's Magic

When using a Game Genie, the NES started up showing a basic Game Genie menu. On that menu, the player could enter one or more codes, which would modify certain aspects of the game. From there on out, the Game Genie acted as an intermediary between cartridge and NES, intercepting requests and spitting out different results based on the codes that had been entered.

The Game Genie's technical functions were surprisingly basic when examined from a computer science perspective. Each Nintendo game cartridge set up a series of locations within the NES's memory where various pieces of information were stored—the number of lives you had left, the level you began on, the items you had, or even cooler things like the height your character could jump. Sometimes these locations in memory contained simple numbers. By finding these locations (almost always through trial and error—because game developers don't share that information), Game Genie users could then insert new numbers into them. So by finding "How Many Lives Left" in Super Mario Bros., you could switch the standard number of lives (three) with a much bigger number, and play the game with effectively infinite lives. (For the record, apparently the code SXIOPO offers infinite lives for both players in SMB.)

The Game Genie thus used two important pieces of information to make an important effect occur within the game: The location of a variable, and the content of that variable. So to create a Game Genie "code" (their simplified alphabetical interface for inputting memory locations and values to pop into them), an enterprising gamer could find the location, then experiment with possible contents to pop in there—lots of contents could just crash the game, but ultimately you could hit on something usable. By putting those two pieces of information together, you got a code. Codes were traded among gamers, and published in booklets collecting the best ones. Even today, gamers are developing new codes. I spoke to Dain Anderson, founder of NintendoAge.com, about this process. He said:

"One of the interesting aspects of the Game Genie is that

it's an organic piece of hardware whereby codes can be created and changed by anyone at anytime, whether the game is 20 years or 2 years old. Because it acts as a pass-through between the console and cartridge, you can implement changes in real-time. In fact, creating codes has become a bit of a niche for some of the more technical types, and you’ll find many threads on NintendoAge where people are requesting new codes for older games that perform a specific function.

"Creating codes would encompass an entire article, but the nuts and bolts of it is that you use a hex editor inside an emulator like FCEUX, and trace what aspects of the game change as you modify RAM locations. For example, if you take a RAM snapshot and you have three lives left, die, then take another RAM snapshot, you can determine through trial and error, on the changed locations, which affect the number of lives. By changing this memory location, you can create a code that alters the number of lives a player will receive."

If you're a programmer, check out this technical explanation of how the codes work, including snippets of C code used to decode the Game Genie's user-friendly alphabetical codes into programmer-friendly hex values.

Galoob v. Nintendo

The Genie, introduced in 1990, was created by the UK company Codemasters; they originally called it the "Power Pak" (a play on the "Game Pak," Nintendo's official name for its cartridges). The rebranded Game Genie was distributed by Lewis Galoob Toys, Inc. in the U.S. If you're a child of the 1980s, you likely remember Galoob as the company behind Micro Machines (the whole outfit was eventually sold to Hasbro).

Nintendo didn't like the idea of Galoob's gizmo modifying NES games, even though it didn't permanently change the games themselves. Nintendo exerted control over both games and accessories, creating a Seal of Quality which was only granted after Nintendo had evaluated and approved a particular game or piece of hardware for use on the NES. The NES console even had a "lockout chip" that tried to prevent unlicensed games and accessories from working—until enterprising programmers found ways around it. You may notice that the Game Genie did not carry Nintendo's Seal of Quality. Nintendo refused to grant the precious Seal to the device, but that didn't stop Galoob from selling it. Until Nintendo sued Galoob in 1991.

The lawsuit was a fascinating piece of legal argument: Nintendo claimed that Galoob's device modified Nintendo games, creating "derivative works" and thus infringing the copyrights of game makers. (This is fairly similar to the lawsuits of that era regarding music sampling.) If the Game Genie were indeed creating derivative works every time it ran, then those works would either be illegal (if the game maker/copyright holder didn't approve them) or at the very least require some sort of licensing structure by which Galoob would compensate the game maker for them.

Long story short, US courts sided with Galoob. An interesting twist harkened back to the Game Genie's own marketing, which claimed that the Genie "enhanced" games—the court agreed. Patent Arcade writes (emphasis added):

The Ninth Circuit agreed with the district court that no independent work is created by the Game Genie. In making this determination the court made a distinction between products that “enhance” copyrighted works and products that “replace” copyrighted works. In this case, the Game Genie “enhances” the Nintendo game, but it does not “replace” the Nintendo game. The Game Genie, by itself, cannot produce an audiovisual display.

In other words, flipping a few bits in a game really did enhance the game—but the gamer had to buy the original game, plug it in, and then do the bit-flipping him or herself, so there was no damage done to the copyright holder. This is a different story from the music-sampling cases, in which a new song could actually replace the old song being sampled. If Galoob had been selling modified Super Mario Bros. cartridges, that would have been a different matter, but the Game Genie's technology was deemed legally legit, and it continued to sell. (If you're into legal history, read this article discussing the case and a few others.)

In a counter-example of how to handle this sort of product, Sega actually licensed the Game Genie, giving it its Seal of Quality. There were a few restrictions on how the Game Genie worked with Sega games (mainly around not modifying saved games), but at least nobody went to court over it.

Game Action Replay (GAR): An Awesome Way to Void Your Warranty

Game Action Replay - NES

I spoke to Frankie Viturello, who co-hosts the retro gaming Digital Press webcast, about an interesting gizmo that occasionally shared shelf space with the Game Genie: the Game Action Replay. Viturello said:

"Unlike the Game Genie, which had the financial clout of of manufacturing/distribution by a big toy company, the Game Action Replay was released by a company called "QJ" and found limited distribution in the US in mom-and-pop video and toy stores. You wouldn't find this thing at your local Toys 'R Us.

"The Game Genie [had a hex-editing code system], but this thing had a "save state" feature which would allow the user to immediately save progress to an on-board memory bank. You could power down your NES and power it back up and the Action Replay would allow you to pick up at the exact moment in gameplay that you left off. Unfortunately, you needed to take your NES apart to "install" it! (Warranty voided!)

The GAR had a few other features, including several slow-motion modes (which could cause games to crash). Dain Anderson, the aforementioned founder of NintendoAge.com, also mentioned this bit of wizardry:

The idea behind the GAR is that you could create “save states” of the game you’re currently playing, allowing you to start again at a spot you keep dying in. To use the GAR, a gamer would press SELECT + A Button, and they’d see a flash on the screen indicating the save was successful. They could save up to five states which could be retrieved using SELECT + B Button.

He also mentioned that the device was glitchy, and its use of RAM (rather than ROM) eventually led to the GAR's demise. (Oh well, some things are too beautiful to live.)

Your Game Genie Memories

If you had a Game Genie, what were your favorite codes? Share your memories in the comments. I'm also taking suggestions on next topics for Nintendo explainer articles—hit me with ideas, folks.

I'd also like to thank classic gamers Frankie Viturello and Dain Anderson for answering my NES questions.

Original image
IKEA
arrow
Design
IKEA’s New Augmented Reality App Lets You Test Out Virtual Furniture in Your Home
Original image
IKEA

No matter how much measuring and research you do beforehand, buying a piece of furniture without knowing what it will look like in your home is always a gamble. With its new augmented reality app, IKEA hopes to take some of the guesswork out of the process. IKEA Place features more than 2000 items in the Swedish retailer's inventory, and visualizing them in the space where you live is as easy as tapping a button.

As WIRED reports, IKEA Place is among the first apps to take advantage of Apple's ARKit, an augmented reality platform that debuted as part of iOS 11. iPhone and iPad owners with the latest update can download IKEA's new app for free and start browsing through home goods right away.

To use the tool, you must first select the product you wish to test out, whether it's a loveseat, a kitchen table, or a dresser. Then, with the camera activated, you can point your device at whichever space you want the item to fill and watch it appear on the screen in front of you.

According to IKEA, the 3D models are scaled with 98 percent accuracy. Factors that are hard to analyze from photos online, like shadows, lighting, and textures, are also depicted as they would appear in real life. So if a sofa that looks great under the lights of a store looks drab in your living room, or if a desk that seems tiny online doesn't fit inside your office, the app will let you know. It's the closest you can get to seeing how a piece of furniture complements a room without lugging it through the doorway.

IKEA isn't the first company to improve interior design with computerized images. Several hardware stores and furniture outlets offer their own AR apps. Other services like Modsy let customers pay to create full virtual models of their homes before populating them with 3D furniture. Even IKEA had a basic AR app prior to this one, but it was glitchy and not always accurate. This newest iteration aims to provide a more seamless shopping experience. And with the latest iOS update placing a greater emphasis on AR, you can expect to see more apps using the technology in the near future.

[h/t WIRED]

Original image
Alex Wong/Getty Images
arrow
Art
The Library of Congress Wants Your Help Identifying World War I-Era Political Cartoons
Original image
Alex Wong/Getty Images

The U.S. government’s official library wants your help. And it involves cartoons.

The Library of Congress just debuted its new digital innovation lab, an initiative that aims to improve upon its massive archives and use them in creative ways. Its first project is Beyond Words, a digitization effort designed to make the research library’s historical newspaper collection more search-friendly. It aims to classify and tag historical images from World War I-era newspapers, identifying political cartoons, comics, illustrations, and photos within old news archives. The images come from newspapers included in Chronicling America, the library’s existing newspaper digitization project.

The tasks involved in Beyond Words are simple, even if you know nothing about the illustrations involved going into it. The Library of Congress just needs people to help mark all the illustrations and cartoons in the scanned newspaper pages, a task that only involves drawing boxes to differentiate the image from the articles around it.

Then there’s transcription, involving typing in the title of the image, the caption, the author, and whether it’s an editorial cartoon, an illustration, a photo, a map, or a comic. The library also needs people to verify the work of others, since it’s a crowd-sourced effort—you just need to make sure the images have been transcribed consistently and accurately.

A pop-up window below an early 20th century newspaper illustration prompts the user to pick the most accurate caption.

Screenshot via labs.loc.gov

The data will eventually be available for download by researchers, and you can explore the already-transcribed images on the Beyond Words site. Everything is in the public domain, so you can remix and use it however you want.

With the new labs.loc.gov, “we are inviting explorers to help crack open digital discoveries and share the collections in new and innovative ways,” Carla Hayden, the library’s head, said in a press release.

Other government archives regularly look to ordinary people to help with the monstrous task of digitizing and categorizing their collections. The National Archives and Records Administration, for instance, has recently crowd-sourced data entry and transcription for vintage photos of life on Native American reservations and declassified government documents to help make their collections more accessible online.

Want to contribute to the Library of Congress’s latest effort? Visit labs.loc.gov.

SECTIONS

arrow
LIVE SMARTER
More from mental floss studios