The original Far Cry turns 20 years old next year, but it looks like somebody wanted to celebrate a little early - and by leaking the game’s entire source code to the Internet Archive, no less.
As spotted by noted modder Vinícius Medeiros - known for their Duke Nukem Forever: Enhanced overhaul - the source code for the original Windows release of FarCry, along with the early CryEngine that powered its visuals, appeared on Archive.org at the end of June.
Out of nowhere, the full source code of Far Cry 1 just dropped on the Internet Archive pic.twitter.com/agRMPHLT6o
Medeiros noted that the source code doesn’t include the game’s assets, but does allow its engine binaries and DLLs to be compiled - effectively meaning that the source code could be used to run the PC game in a debug mode and modify things at a deeper code level by those in the know. (In one such example, Medeiros suggests that it might even enable porting the OG Far Cry to a Nintendo Switch.)
“Far Cry 1 was already easily moddable ages ago since launch due to Crytek releasing the SDK and level editor, the full source code means that people can make modifications and fixes to the engine,” Medeiros explained to one commenter on Twitter.
The source code for Far Cry and CryEngine uploaded to the Internet Archive are labelled as being version 1.34, suggesting that a number of patches are already included in the code. Medeiros added that the leaked code includes a 64-bit build of the Windows-only game, which was originally released in 2004.
As well as being intriguing in terms of understanding a game’s development, source code dug up by enthusiasts can be vital to preserving and restoring games - with missing source code potentially causing major hurdles
Read more on rockpapershotgun.com