The game code is open under the free license GPLv3 and published on GitHub (Amnesia: The Dark Descent, Amnesia: A Machine For Pigs). Games are written in C++ and use SDL for input processing and OpenGL for graphics. The repositories include files for building for Linux and macOS using CMake and for Windows using Visual Studio 2010. In addition to the code for the games themselves, the source code for the game editors associated with them is also open. It is expected that the discovery of the code will facilitate the development of mods, of which there are already more than a thousand for these games, and will enable the creation of new open game engines based on technologies used in Amnesia games.
Of the features offered in the open source that may be useful to developers of game engines, the following are noted: