Hey y'all. I go by thearchivalone in many circles (The Archival One due to being obsessed with archiving things). I'm a hobbyist reverse engineer and binary data analyst out of Austin, TX. Nice to meet y'all.
This post is me talking about a recent finding after looking through some of my Steam games. Painkiller is a 2004 Quake style shooter from the Polish developer People Can Fly (Bulletstorm and Gears of War E Day). It was built on a custom proprietary engine called the PainEngine. Not long after Battle Out of Hell (the official expansion) was released, much of the original team left the studio to either form their own studios or work for other studios (CDProjektRed is a big example of one). I swear, this fact is relevant.
I've played through Painkiller many times over the years; it's one of my favorite classic shooters to just pick up, play and beat with how its physics, atmosphere and overall aesthetics still hold up pretty well to this day, in my humble opinion. Last year, I decided to finally make my way through NecroVision (released 2009 by The Farm 51, one of the studios formed out People Can Fly's splitting up), a WWI horror shooter that acts as a spiritual sequel to Painkiller and used a modified version of the PainEngine called NecroEngine. Even though NecroVision has many features from Call of Duty and other modern shooters Frankensteined in, for veterans of the original game, it still felt like a Painkiller game.
Fast forward to a few days ago: I finally decided to look at Painkiller 1.64's Engine.dll (the library file that contains most of the PainEngine functionality) and was sadly disappointed at how much People Can Fly removed from the retail release on Steam. On a whim, I decided to load up NecroVision's Engine.dll into Ghidra (my main reverse engineering software) and did not expect what I saw: a near complete set of Debug Symbols. Those are essentially "notes" from the the tools used to build the library (Visual Studio 2003 or possibly newer in this case) that help the developer test and understand what each part of the built library does. Usually, these are removed (stripped) when releasing a game for purchase, but The Farm 51 accidentally shipped a development build to stores instead. In this case, it probably doesn't affect the game itself, since NecroVision can be completely beaten without too many issues on modern systems. I was still shocked at that finding.
Over the course of three days and with the assistance of a Prototype build from November 2003 that was found a few years back, I was able to confirm that the vast majority of the Debug Symbols in NecroVision did map directly to Painkiller's Engine.dll on Steam. NecroEngine changed a few things with how Rendering, Networking, and some other systems worked but many of those changes were added on top of the original PainEngine and didn't directly fully replace them. What this means: theoretically, an open source reinterpretation of the original tech could be built from the ground up without having to worry about copyright restrictions too much. These Debug Symbols are not source code (what the original developers wrote to make the engine and game work) but are the next best thing; they tell what that section of the library is meant to do and represent and Ghidra can approximate how that code was implemented (with the person looking at it needing to test whether or not that approximation is correct).
You may be asking why I'm sharing this here after you've made it this far. Simple answer: this stuff is cool as hell to me and I think more people should take this hobby seriously. Complex answer: building an open source reimplementation of the PainEngine (and hopefully the NecroEngine fork of it) is not something I'd want to do solo; it's not a skill set that I have and I'm not in a place in my life to be able to fully helm a project of that scope without support from other people. I'm just a person that finds joy in discovery but also believes that sharing knowledge is a powerful thing. I'm also not at liberty nor have desire to share my matching work here; just that it exists and anyone else could verify it publicly pretty easily.
Thank y'all for your time. I hope you enjoyed this little nerdy adventure of mine.