10 Days of Hacking, Day 1: The NES

We all know how much the NES revolutionized the market and even saved it from the crash generated from all the shovelware titles in the Atari 2600, but what most of us don’t know is that it was also the first console to be hacked if we rely on the modern term of console hacking: bypassing the security inflicted on games to prevent unauthorized game copies to be played.
Although the idea of playing backups from your own games was not the main goal at the time, playing pirated and other unauthorized content was the main goal achieved by these hacks. Back then there was no real way for you to buy a black cartridge, connect it to your PC and “burn” a downloaded or backed up copy of a game, and homebrews was not even an idea conceived at the moment. So why was the NES hacked then? you couldn’t backup your games and you couldn’t download homebrews, what was the point? well there are three different points here, for that I need to explain one mayor thing: the actual security mechanism of the NES and what it wanted to do.
BOOTLEGS

Piracy has been around for ages, and not even the NES was could escape it. Although back then piracy was not as mainstream as today, and we couldn’t really download and “burn” games, we could find very cheap bootleg cartridges that included collections of games, sometimes offering 100-in-1 collections, or something along the lines, for a much cheaper price than official games who only offered 1 or 2 games per cartridge. Although most of the games in these megapacks were the same games listed multiple times with slight variations created through hacking, it was still a much cheaper investment than original ones.
NINTENDO AND THIRD PARTY SOFTWARE

Due to countless third party shovelware titles that plagued the 2600 and lead to the industry crash (well see this in more details when I write the 8 Days of Gaming feature), Nintendo was very strict about third party companies, often using what we may consider today to be draconian, to ensure a minimum quality in the titles released. Some of these restrictions included limiting the amount of games a third party company could produced annually to three, but most important of all is the inclusion of a specially lockout chip called the 10NES.
10NES Lockout Chip
The 10NES Lockout Chip was formed of two parts: the lock, which goes into the system, and the corresponding key, which goes on the cartridge. The 10NES’ function was simple: keep restarting the system indefinitely until a cartridge with its corresponding 10NES key was inserted into the system. The 10NES chip was used by Nintendo to prevent the release and distribution of unlicensed third party games, pirated games and imported games. Yes, the restriction also applied to games from other regions.
The 10NES came with a problem though: even if the game is legit, if there is not a strong connection between the system and the cartridge, it will not detect it, and will block the game. This is normally what we expect from cartridges: if it doesn’t connect well, it doesn’t work.
The problem here was that the NES itself was a greatly flawed machine when it comes to the design choices. The first thing we notice when we compare the NES to pretty much every other cartridge-based console, including the ones that came before it, is that it was not a top loading device, but it was rather created to simulate the zero-insertion method of VCR’s, one of Nintendo’s design choices to make the NES look more like a generic entertainment device rather than a console.
The difference is that, while with VCR’s the tape was safely inserted into place by machinery, on the NES you had to do the actual insertion yourself, having to press down on the cartridge to have it lock into place.

This was a problem because it lead to the pins inside the system to bend over time, causing the games to have a hard time connecting to the system, and thus having the 10NES lockout chip refuse to boot your copy of the game.
This also lead to the theory that blowing your cartridges was good as it removed dust and debris, ensuring a solid connection, the truth is that the air you blow into the cartridge is heavily moist, and moisture is a good conductor of electricity, so you basically allowed the cartridge to connect better to the system, but that came at a price, as this moisture also leads to corrosion, which ultimately damages your cartridges beyond repair.
So let’s recap: the 10NES chip prevented small time third party developers (who we would today call indie devs) from creating games for the system, and it was a mayor contributor for all the broken games that you had in your childhood, on top of that there were people selling illegal all-in-one cartridges that contained a lot more games that what a single official cartridge would get you for much less the price, so it’s reasonable to assume that people wanted to circumvent this protection, but how did they do it?
CIRCUMVENTING THE 10NES
Early third party games as well as the well known Game Genie used a very peculiar method: they had a slot on them where you had to insert an original game. Essentially the cartridge simply replaced the original game’s data with its own, essentially the 10NES key from the original game was bridged onto the system. Pretty clever, but we can’t forget that it was 1980’s electronics, they weren’t so advanced.

You can of course guess why that method was not that effective: you still had the 10NES active and the problem with bent connector pins still existed. Other companies developed a different method of knocking off the 10NES itself: they used voltage spikes, basically frying up the 10NES to be able to circumvent it.
This is obviously not a good idea, we don’t want a cartridge that temporarily fries a component of our console, and we still have the problem of our legit cartridges not being recognized by the 10NES.
So comes the best hack one can do to the 10NES: disable it internally.
Pin 4 of the 10NES is a +5V pin that when cut away from the motherboard, the 10NES chip becomes fully disabled.
This hack not only allowed you to easily play unlicensed games and bootlegs, but it also allowed you to play your legit games again without the 10NES interfering, you can also play import games.
This hack is more in line with modern hacking methods and could be considered the first actual console hack.


There is of course a legal way to play your legit games and imports without the 10NES and bent pins getting in your way, and that is by buying the NES 2, a remodeled version of the NES that did not include the 10NES lockout chip and had a top loading design like every other console ever, so I’d grab that one if I were you.

CONCLUSION
While electronics was much simpler back then, it doesn’t take much for one to go out and find hacks so old that resemble the ones we got today, one can only wish that hacks did not ultimately derived in piracy.
Stay tuned for more!
Liked This article? Check Day 2: The PS1
I swear that i cried when i saw the “NES” image <3. Brings back happyvchildhood memories. Thanks again of this awsome series of articles
Really informative, fantastic read.
Awesome article Acid_Snake there were 2 typos I saw the third paragraph first sentence has was when you do not need it. Also at the end the word conclusion. That was really cool to find out about the NES:D
Really interesting article! I hope “10 Days of Hacking” will go pretty in-depth, as it’s a broad, yet fascinating topic.
Here I did a tutorial how to dissable the 10NES chip a long time ago….
i just checked it out for memories lol…thanks
I’m tempted to try this hack on my nes :p
Man this brings back memories. NES and SEGA Master System. And then SNES and SEGA GENESIS. I still have all my consoles to this day. My Mom was a district manager and got them for cheap. So she would always get the newest thing that came out. Until she got hurt. So I keep them in remembrance of her. She doesn’t have much time to live. So I will never get red of them. I even still have the cases and boxes for them. 🙂
I’m not exaclty in the same situation, but really I do understand it pretty well 🙂 Never let go off them.
Oh trust me I’m never getting red of them. I love these consoles. Eventually I will put them all behind a glass show case with the year of make,year of release, when I got them and who I got them from.
Wish I was born in that time… I was a N64/PS1 child
I was apparently about 3yo when I was playing PS1.. (it was my older brothers console) I’m not sure now if I had the “unplugged controller” but damn… I really thought Devil from Tekken 2 was glassy (hence the mirrors behind or whatevs)
i remember using the Gyromite cart to run famicom games on the ness
depending if its an early copy of the game it has a famicom to nes adaptor in the cart with the famicom cart chip inserted in it
NES used to be known as Pegasus aroudn here in Poland.
It was a ripoff though. But really nostalgic :’)
Excellent piece of reading, really. I learned a lot ! Makes me want to get rid of the 10Nes chip in one of my NES consoles, that would stop the infinite reset I reckon.
I spoke to a guy on youtube who flashed his own home-brew to connect two NES’s through the internet. Really cool. I think he was either using a Arduino or a pi.
It all makes sense now!
back when i was a kid i noticed that over time my games would stop working and blowing on them made them work, eventually it would get so bad that i’d spend about 10 minutes getting it to work, one time i even broke the damn spring or something so i had to use a fixed length matchstick to keep the cartridge inside to play my games.
So nintendo and their anti-piracy chip was to blame for my frustration.
Now I remember as well, I had to problem with the cartridge that it won’t stay down as well after a couple of years.
I bitterly regret that I’ve sold all my 54 cartridges many years ago. The NES was the best console ever, togethet with the GameBoy 😀
Nice article. Thanks!
The NES was an amazing console, a great first choice for the 10 days of hacking. that damn 10nes chip, people had to blow a lot of cartridges just to get some good gameplay. JK!!
Interesting reading. Well done. Keep up the good work.
Got the NES, game genie and a gold edition Zelda I bought from my cousin for 2 dollars years and years ago…Yeah I’m gonna have some fun!
Interesting read and there’s a lot of information there. Surely you might want to put your sources too.
Great read thanks a bunch!
why is it conclution?
I had a friend in school who let me borrow the game genie before it was sold retail because he was a beta tester. The game genie for NES was the best thing ever allow me to cheat on every game I had. Those were the days. Also the pro action replay was another device
that helped me beat all those impossible Nes games by creating save states.
What a cool article. Good to know there’s a solid history behind hacking of the sort many of us think is cutting-edge. Thank you.
Reminds me of the method to hardmod a pandora battery. I like this article 🙂
I read the comments about old consoles like the NES and see that people actually still care about these console. But alas i never used these when i was really young i am 14 now.