Skip to main content

Prince Of Persia creator uploads ‘lost’ source code to the ‘net

Image used with permission by copyright holder

When Jordan Mechner released Prince of Persia for the Apple II in 1989, it immediately took the world by storm. Running and jumping were common tropes in gaming at that point, but the game’s incredibly fluid rotoscope animation was totally new. Combine that with the game’s engrossing combat and cerebral, puzzle-esque layout and you have all the makings of a classic.

Unfortunately, at the time, Mechner was, as he writes in his blog, “burned out on coding and seriously eager for the next chapter of my life to start.” Thus, he packed away the floppy disks containing the game’s source code, thinking he’d never need them again. Fast foward to 2002 and Mechner is working on Ubisoft’s Prince of Persia: The Sands of Time. He wonders what ever happened to the original PoP code, but discovers that he can’t find those old disks anywhere. The idea was that the original version of the game would be included in the PlayStation 2 version of Sands of Time, but to do so the development team needed access to the source code and Mechner just couldn’t find it. Eventually they found a version of the Mac source code, and that was put into the PS2 title instead.

Mechner continued periodically searching for the code for the next few years, but never managed to locate the disks. That is, until two weeks ago when his father was cleaning house and opted to ship a box of his son’s belongings off, if only to get them out of the way. Therein lay the original disks.

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

Realizing that he could never risk losing such an important piece of gaming history again, Mechner decided the best way to preserve the source code would be to upload it to the internet. Nothing ever truly dies on the ‘net, so it seemed the ideal archival solution. The only problem was that Mechner’s code was stored on ancient 3.5″ floppy disks. Finding a machine that could read them would prove a minor hassle in comparison to the fear that the now more-than-two-decade-old disks had degraded over time.

After a bit of fretting publicly, Mechner was contacted by a group of volunteers including “digital archivist Jason Scott, Apple II collector Tony Diaz, Derek Moore, and the technical teams behind the DiscFerret and Kryoflux disk readers” who offered to help preserve the code for future generations. As of this morning the team uploaded its efforts to github, and now you too can download the original Apple II source code for Prince of Persia.

As for the moral of this story, Mechner concludes his tale by urging everyone to backup their data as often as possible. “If you have data you want to keep for posterity, follow the Russian doll approach,” he writes. “Back up your old 20GB hard drives into a folder on your new 200GB hard drive. Next year, back up your 200GB hard drive into a folder on your new 1TB hard drive. And so on into the future.”

“As for me, the past 48 hours have been a fun walk down memory lane. And have given me a renewed appreciation for paper, celluloid, and stone tablets.”

Editors' Recommendations

Earnest Cavalli
Former Digital Trends Contributor
Earnest Cavalli has been writing about games, tech and digital culture since 2005 for outlets including Wired, Joystiq…
How to get all Athra Surges in Prince of Persia: The Lost Crown
Sargon leaps in Prince of Persia: The Lost Crown.

Going back to its 2D roots, Prince of Persia: The Lost Crown spices up the formula in regard to design and gameplay to fit the Metroidvania mold. Traversal and navigation are about what you would expect, including the ability to uncover the map by finding a hidden NPC, but combat is a lot more flexible than you might think. In addition to your normal attacks, Athra Surges serve as your most powerful tools to unleash in a pinch. Most come naturally throughout the game, but half are optional and require some extra exploration to unlock. If you want to make the most of your Athra gauge and craft the perfect build in Prince of Persia: The Lost Crown, here's how to get them all.
How to get all Athra Surges
There are 10 total Athra Surgest to collect in Prince of Persia: The Lost Crown, however, only five of them are given to you through natural progression. The remaining five you will need to hunt down and collect by beating the Alternate Sargon in a fight. He will appear at specific areas on the map, and if you can best him, you will be rewarded with a new Athra Surge. The five you get through normal progression are:

Verethranga's Smite: a dashing attack that deals multiple hits.
Bahman's Breath: spawns an HP restoring area of effect.
Arash's Ray: shoots a beam that can pierce enemies
Bahamut's Rage: creates a massive tornado around Sargon that throws any enemy nearby for damage.
Rashnu's Judgment: puts you in a counter-stance that unleashes a powerful attack on any enemy that hits you while active.

Read more
All Farbia locations in Prince of Persia: The Lost Crown
A character reached out to grab a shard in Prince of Persia: The Lost Crown.

Even though the series has never fully embraced the Metroidvania design, Prince of Persia: The Lost Crown proves that this franchise was tailor-made for it. The dynamic movement, time abilities, and acrobatic combat, when packaged in a tight, well-designed 2D game, mix like a cold drink in the desert. With that genre shift, you can count on most of the tropes to come along with it, most notably the intricate and intertwining map. Exploration is key to these games, as is backtracking, which means you will frequently reference your map to get your bearings. But until you've uncovered the rooms yourself, each section of the map will remain shrouded in fog. While you could manually fill in each and every corner, finding Farbia in a given zone will instantly reveal everything there is to see on your map. The trick then becomes figuring out where to find her.
Where to find Farbia
There are 10 zones in Prince of Persia: The Lost Crown, and thus, that many opportunities to find and chat with Farbia and exchange 50 Time Shards to reveal the map. Here's her location in each of them.
The Depths

To reach Farbia in The Depths, you must first unlock the Shadow of the Simurgh ability. With it, take the main elevator down to the bottom level. Use the ability here to create a clone of Sargon on the lift, send it back up, and teleport below it after it rises. At the bottom, you can speak to Farbia and pay for a clear map.
Sunken Harbor

Read more
5 Switch games you should play while you wait for Prince of Persia: The Lost Crown
Sargon reaches for a feather in Prince of Persia: The Lost Crown.

Prince of Persia: The Lost Crown is the first critical darling of 2024. In my own four-and-a-half star review, I call Ubisoft's new game "a monumental achievement in approachable, seamless Metroidvania design." I definitely recommend you pick that game up once it launches on January 18. And I think that it's a fantastic fit for Nintendo Switch in particular.

If you've already played through The Lost Crown's demo several times and are wondering what else you can play to whet your appetite for Ubisoft's latest, then I recommend checking out these games on the Nintendo eShop.
Metroid Dread

Read more