Source port

A source port is a port of the source code for the Doom engine. The term usually denotes a modification made by fans, as opposed to any of the officially licensed versions produced by id Software or affiliated companies.

The Doom source code was released to the public on December 23, 1997. Although Doom was originally created for DOS, the release was of the Linux version, and the source code had to be ported back to DOS and to other operating systems. Hence the term "source port", which out of custom also is used for those modifications which are not technically ports to another platform. The term itself originates from the first source port, DOSDoom and its 0.2 version.

Source ports have been created for a variety of PC operating systems, such as the 32-bit Windows family, Linux and the BSDs. By abstracting away the x86-specific code, ports have also been created for a large variety of other hardware platforms: PowerPC/Macintosh; the Game Park 32, a Korean hand-held; the Nokia 7650 and 9210 cell phones; the Sega Dreamcast; and any POSIX environment with the X windowing system.

The original purpose of source ports was cross-platform compatibility, but shortly after the release of the source code, programmers were correcting old, unaddressed Doom bugs and deficiencies in their own source ports, and later began adding new features to alter gameplay.

The source code was originally released under a proprietary license which prohibited commercial use and did not require programmers to provide the source code for the modifications they released in executable form. As a consequence of the source code for glDoom, the first port to add OpenGL graphics to Doom, being lost in a hard disk crash, the code was re-released in 1999 under the GNU General Public License after requests from the community (all of the original Doom source code on this wiki is covered by the GNU GPL).

As of today, the majority of Doom source ports are open source. The GNU GPL requires that authors who use GPL code in their software must release the modified source code as well.

Although the obligation does not apply to authors who used the previous non-GPL license, many authors voluntarily switched their projects to the GNU GPL.

=List of source ports=

Desktop

 * Written in Java, so compatibility is subject to the presence of a compatible Java Virtual Machine on the target platform.

Console
Note that official ports of Doom to various gaming consoles exist.
 * Boom (GP2X, etc.)
 * DoomDC (Sega Dreamcast)
 * Doom PSP (Sony PlayStation Portable)
 * DoomX (Xbox)
 * dsDoom (Nintendo DS)
 * dsHeretic (Nintendo DS)
 * nxDoom (Sega Dreamcast)
 * PSP Legacy (Sony PlayStation Portable)

Web-based

 * A Doom port using Flash 10
 * Doomed Online

Game script

 * Terminal DOOM is a port to Doom 3 in-game terminals

Digital cameras

 * DoomD (Digita OS)

Calculator

 * nDoom, developed for the TI-nspire.

Virtual Reality

 * QuestZDoom, developed for Oculus Quest headsets using LZDoom and GZDoom as a base.