Legendary horror game Amnesia: The Dark Descent and A Machine for Pigs is now open source, meaning that modders can dig in and see what lies underneath the hood of both games.
The full source code for The Dark Descent and A Machine for Pigs has been released on Github for folks who want to take a crack at modifying the game. It’s relatively rare for developers to post their game codes themselves, though sometimes proprietary code can make its way online via leaks.
“This doesn’t mean that the game is suddenly free,” Amnesia developer Frictional Games said in a blog post. “It just means that people are free to use the source however they want as long as they adhere to the GPL3 licence. The game and all of its content is still owned by Frictional Games. Just like before.”
Seeing how these classic games are built will also mean seeing things like flaws, and inefficiencies Frictional Games warned — but it’s all still functional and potentially useful to anyone learning game development.
“I also hope this release can be of help to anyone wanting to create their own engine or just wanting to learn more about game programming,” Frictional Games said. “While the code is not the greatest in places and the tech used is not the latest, it is a fully contained game engine in a fairly easy-to-understand package. It is also a testament that it is possible to do this sort of thing, even with a very limited team.”
Amnesia: The Dark Descent originally was released on Sept. 8, 2010 for Windows, Mac, and Linux. A Machine for Pigs, originally a mod, was released as an indirect sequel to The Dark Descent on Sept. 10, 2013. A new title, Amnesia: Rebirth, will launch on Oct. 20 on Steam and PlayStation 4.