Decompiled Tomb Raider Source Code Reveals Loads Of Vulgar Words (NSFW)

Imagine you’re a programmer, working on a video game almost two decades ago. No one outside the studio is ever going to see your code, so you can name methods and write comments however you like, right? Uh… maybe don’t bet the house on that, especially if you were involved with Tomb Raider: Chronicles in the late 90s, because someone’s decompiling that bad boy today. Insert obligatory language warning here.

The currently decompiled source code can be found on GitHub, if you’d like to trawl through it yourself. Otherwise, a number of Reddit users on /r/programming have already found a couple of unsavoury gems.

RECT* fuckmyanalpassage;

char bullshitbollox;

extern void DisplayStatsUCunt();

And of course:

struct PHD_3DPOS bum_view;

You click any of the above code segments to visit them directly in the source.

How is this possible? It’s true that a lot of the original flavour of source code is lost when it’s compiled into binary form, however, the people working on the decompilation got a little help:

Basically approx. a year ago, someone uploaded a .zip on the forums that contained a bunch of leaked PSX SDK tools, and internal dev files from Core Design. That included beta versions of TR4 and 5, alongside with debug symbols that contained functions, variables (globals and locals) and struct defs.

So, if you’re currently coding a game, maybe think twice about the language you’re using. And I’m not talking about the programming language.

TOMB5 [GitHub, via Reddit]


The Cheapest NBN 1000 Plans

Looking to bump up your internet connection and save a few bucks? Here are the cheapest plans available.

At Kotaku, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


15 responses to “Decompiled Tomb Raider Source Code Reveals Loads Of Vulgar Words (NSFW)”

Leave a Reply

Your email address will not be published. Required fields are marked *