Doom 3: BFG Edition source code


Under construction icon-yellow.svgThis article or section is a stub. Please help the Doom Wiki by adding to it.

The Doom 3: BFG Edition source code was released under the GPLv3 license by id Software on November 26, 2012, a little over a month after Doom 3: BFG Edition itself, and a year after the original Doom 3 source code was released.


It contains a few architectural changes, some of which make it incompatible with the original Doom 3. It uses multithreading, networking code, and dynamic resolution adjustment retrofitted from id Tech 5. It also includes Doom Classic, an integrated implementation of The Ultimate Doom and Doom II based on the Xbox and XBLA commercial ports.

The source code is altered significantly from the commercial release versions available through Steam and on console platforms. It removes Valve intellectual property related to integration with Steam. There is no support for achievements, matchmaking, cloud saves, leaderboards, or any other Steam features. Platform-specific code for running on Xbox 360 and PlayStation 3 is not included. The proprietary Bink video playback library is not included. Finally, backend support for rendering of stencil shadows via the "depth fail" method, also known as "Carmack's Reverse," is not included due to a patent on the algorithm held by Creative Technologies.

Even despite this, use of the Windows version of Steam is still required to obtain the data files, which can usually be accomplished using Wine on non-Windows platforms.

See also[edit]

External links[edit]

Source code genealogy
Based on Name Base for
id Tech 4 Doom 3: BFG Edition RBDOOM-3-BFG