You don’t always need a necromancer to bring something to life. While it takes the insanity of a warlock to attempt what Angel Studios did in 1998. Their spell involved porting Capcom's PlayStation classic, Resident Evil 2, to the N64. “Otter, why are you being so dramatic?”. This was trying to fit a library into a suitcase without losing a page. And, not to mention, I’ve got a flair for the dramatic.
Crunching the numbers isn't just for the accountants.
There are a few reasons why this task could be considered impossible, so let’s get started, shall we? Let’s get the most obvious out of the way. Nintendo 64 cartridges could only store 64 MB of data. This would have to fit BOTH scenarios from a game that was originally shipped for the PlayStation on 2 discs that held 650-700 MB apiece. Now, let’s put a pin in that insanity for just a second.“Otter, now you’re being dramatic again,” I hear you typing. The major obstacle Angel Studios had to deal with the how they were going to compress all that data down to fit it into a 64 cart.Mathematically, it was impossible. You can’t fit over 2 gigs of data into something designed to hold 64 MB. But you can compress it, which is an insane ask. These maniacs, while on a deadline of ONLY 12 MONTHS, had to develop their own video compression system. I’ll be the first to admit: the video quality isn’t the greatest. It’s kinda fuzzy, like an old movie on VHS, but I feel it adds to the presentation. But we were still able to see the cinematics, so I’m not going to complain, and neither can you. The way they were able to get away with this was making the N64 do the decompression on the fly. The 64 lacked video decoding hardware like Sony’s MDEC Chip, which was a specialized mini processor that was dedicated to decompressing video files. Angel Studios had to work around this limitation and use the existing hardware of the N64 and use their aetheric ways to program the coprocessor to be their video decoder. The N64’s Reality Signal Processor, which takes care of the graphics and signal processing, was forced to help decode video and audio. This allowed the team to store what would have been large files to process compact data in real time. Just take a look at the game's opening FMV. Notice the smooth animation? It's all magic! The compression ratio was 165:1, and all they had to do was cut the video frames in half and chuck some of the detail, but who’s complaining? Their next trick was to decompress the file so the system could have it all without crashing the game. When playing RE2 on the 64, we’re only getting 15 FPS. These madmen weren’t done, though, because, because how can you cut the frames down and not get a super jumpy and jagged picture? They used that custom codec they had created and tricked us. The codec was able to blend adjacent frames while they played, giving us an illusion of motion, allowing us to see something smooth. How the hell did they get 3D character models onto the cart? It gets technical here, so I’ll break it down a bit. The biggest issue is the 64 and PS1 spoke different languages. When Angel Studios first opened the files from the PlayStation files, they couldn’t even load them. Once again, the team had to write their own software to read the files for every 3D model. Next was trying to cram 110-120 KB into 4KB. If they were any bigger, the system would come to a halt. So, the masters of crushing had to compress the files once again but this time, it really worked out in their favor. Since the PlayStation lacked texture filtering (causing the characters their jagged polygonal appearance), the N64 had built in bi-linear texture filtering and perspective correction. Angel Studios was able to use this hardware to smooth the jagged edges out of the character models, making them look less blocky. The 64 had a bit of a cheat, though. The 64 Expansion Pak! This little guy boosted the 64's 4MB of RAM to 8MB. It also unlocked a higher resolution mode, up to 640x800 with sharper models and cleaner animations. Frame rate is important to us though, right? Angel Studios weaved a final incantation; they utilized dynamic resolution scaling. An example of this process would be like this. If Leon is alone, the game rendered him in high detail. If there were a bunch of zombies trying to gnaw his face off, the 64 would scale down the rendering resolution of both the models and background to handle the extra load without dropping frames. “But what about the Save Room music and sound?” I got you, Habibi! Since the 64 couldn’t match the same quality of the original PS release, Angel Studio once again had to get clever with what they had available. The studio worked hand in hand with Factor 5 and audio programmer Chris Hülsbeck. Factor 5 had their own audio tech called MusyX that helped convert the soundtrack to MIDI sequences and reusable instrument samples. They had converted around 200 music sequences with their associated samples. All the while, using sounds that repeated across the different tracks and used them as a shared sound bank. Looping a small sample to sustain a note, our ears were getting tricked now. We didn’t hear a note playing for a couple of seconds, taking up precious space. We heard a sample loop until the original note was supposed to end. The characters had hundreds of lines, so they couldn’t be replaced with MIDIs; they once again had to compress the hell out of the voice files using another in house codec (MORT). This did cause the dialogue to come out a bit muffled, but hey, they still did it!
Reviving the dead and adding some new bits for pazazz
Angel Studios had done what most thought was impossible, in a crushing time frame. All their in-house work creating codecs and hardware manipulation brought forth one of the best ports of all time. While Resident Evil 2 is considered an all-time great on PlayStation, Angel Studios said ,"hold my beer" and added some pretty cool extras not available in other releases. There was an item randomizer mode that moved all the non-key items, an alternative control scheme that did away with the tank controls, a parental control that adjusted the gore level and an option to change the color of the blood. Another awesome addition was the EX-Files that adds files that connect RE1, RE3, Code: Veronica and Resident Evil Zero. It’s easy to take a good port for granted. God only knows how many shitty ones we’ve played. Angel Studios didn’t just shove 2 discs into a cartridge; they had to use their heads. Like trying to get the hell outta Raccoon City, they needed to think smart, work quick and rely on their cleverness. Just like Claire and Leon wished they had more storage in their hip pouches, they made do… to escape their world of survival horror. What did you think of RE2 on Nintendo 64? Have you played it? Have you noticed how the characters looked against the PlayStation version and wondered why they looked better on the 64? Fight me in the comments because I will stand 10 toes down: this is the best version of the game! If you’re interested in delving deeper into the sorcery used to do this, check out this article in Game Developer Magazine!