Ingenious Hacks That Brought The Original Prince Of Persia To Life

For many 8-bit computing veterans, the original Prince of Persia game was our first exposure to fluid life-like animation on screen. This groundbreaking technical achievement earned the game’s place in nostalgia and history. Ars Technica invited its original creator [Jordan Mechner] to sit in front of a camera and talk through many technical and game design challenges he had to solve. (Video embedded below. Bonus: correct pronunciation of Karateka directly from the creator’s mouth.)

Enjoy the journey back in time as [Jordan] broke down the convoluted process behind Prince of Persia‘s rotoscope animation. Starting with VCR footage, to film negatives, to tracing out with black markers and white correction fluid to generate a high contrast reference suitable for the (then) state-of-the-art digitizer. But generating those frames was just the beginning! They consumed majority of an Apple II’s memory, thus fighting memory constraints was a persistent headache. Fortunately for us, that limitation also motivated memorable elements such as our “Shadow Man” alter ego.

This Prince of Persia feature is the latest episode of Ars Technica’s “War Stories” series, inviting people behind notable games to talk about their work behind the scenes. The creators of Myst put a lot of effort into minimizing the impact of CD-ROM seek times, an entirely theoretical endeavour as they had no CD burner for verification. The creators of Crash Bandicoot paged in game content from CD in 64kb chunks as a player progressed, allowing creation of levels too large to fit in a PlayStation’s memory all at once. Read over these and other short synopsis of episodes so far or go straight to their YouTube playlist.

If this talk of wrangling bits with 6502 assembly code has whet your appetite for more, the source code for Prince of Persia is available for digging into. Don’t worry if you have long since lost track of your Apple II (or never had one) as the code can run in an emulator.

Continue reading “Ingenious Hacks That Brought The Original Prince Of Persia To Life”

Hackaday Links: Sunday, May 5th, 2013

hackaday-links-chain

Let’s start off this weekend’s links post with some advertising. We like targeted ads (mostly because we don’t have pooping problems and are tired of hearing about Activia). So we applaud IBM for finding our number with this commercial which produces a stop-motion animation using single atoms as pixels. Wow! [via Reddit and Internet Evolution]

Speaking of commercials, here’s some snake-oil which lets you touch a boob without being in the same room with the person [Thanks Michael].

Moving right along we’ve got a trio of trackpad hacks. There’s one that lets you use the keyboard and trackpad of a MacBook as a standalone USB input device [via Reddit]. Or you could take a Toshiba laptop to the tablesaw to turn it into a USB trackpad. But maybe your Acer C7 Trackpad doesn’t work very well and you just need better grounding.

[Nick McGill] is a member of the team developing an upper body exoskeleton as an assistive technology. This made the rounds on tech websites but the lack of in-depth build info on the project site kept it from getting its own feature here.

If you have a router capable of running DD-WRT here’s a method of setting up a PPTP VPN for free.

And finally, you may remember hearing about the original Prince of Persia source code being discovered and released about a year ago. Well [Adam Green] figured out how to compile it into the original Apple II floppy disks. [Thanks Arthur]

Cheat Your Way Through The Original Prince Of Persia

If you don’t have the patience to play through the original Prince of Persia perhaps you should just cheat? [BLuRry] has made this easy for us, by building Prince of Persia cheats into JACE, the Java Apple Computer Emulator.

He shows off the emulator and the cheats he added in the video after the break. We saw the ability to teleport anywhere, kill enemies immediately, and open gates and exits. All of this happens with the click of a mouse. But there’s also a configuration screen used to enable the cheats that offers a handful of other cheat options that weren’t original to the game. [BLuRry] managed to roll these cheats into the emulator after some thoughtful study of the original source code which [Jordan Mechner] recently released after the once-lost floppy discs storing the ancient digital gem were discovered.

You know, we always see people running doom on various types of hardware. Maybe we should start using PoP as our go-to novelty game?

Continue reading “Cheat Your Way Through The Original Prince Of Persia”

Original Prince Of Persia Game Source Code Released

The game that launched a multi-billion dollar franchise is now laid bare for your hacking pleasure. [Jordan Mechner] just posted the once-lost source code for Prince of Persia. This game was ground-breaking for its use of rotoscoping to mimic the movements of an actor (in this case it was his younger brother). Oh, and it’s a ton of fun to play.

This comes at an appropriate time since yesterday was the the 35th anniversary of the Apple II release. PoP was written for that platform but should be easy to get running on an emulator if you’re just interested in cloning the repository so that you can play it through once again. Interestingly enough, the source code went missing for many years. [Jordan’s] been looking for the original source code for a decade. Turns out his Dad came across a cardboard box with some original copies of the game in it and shipped it off for [Jordan] to take care of. Inside was a set of 3.5″ disks that are pure retro gold.

So here’s your chance to inject yourself into the game. The question is, will you be the Prince or will you be Jaffar?