A source modification, also known as a source mod, is a modification of the source code from 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. Unlike a source port, they are usually made for a specific goal in mind.
Though it has become a rarity, source modifications continue to be made to this very day.
Source modifications were popular in the late nineties and early 2000's. They were seen as a necessity to implement new features in a time where advanced scripting was not yet available. In later years, source modifications became less common as advanced source ports gained more flexibility. Later modifications were usually done to maintain control over the code or to implement a customized feature that would not be accepted in the mainline codebase of a source port.
Practically all source modifications are derived from a port, as opposed to being based off the original Linux Doom source code.
Source modification versus source port
The differences between a source modification and a source port lay in the nuances they make and the intents of their purposes:
- A source modification is meant for a specific goal in mind, its scope tied to implementing a subset of features needed to achieve its intended purpose, but that are not significant enough to warrant the port moniker and which generally would not be possible using existing scripting methods of the time.
- A source port exposes several new features and constantly refines these for a general audience on top of an existing codebase, enough that its distinctively different compared to its original codebase.
- Source modifications generally do not distribute their source code. One exception would be DoomWars, which saw its sources released.
The gamesrc-ver-recreation project is a collection of modifications of various programs' released source codes, the purpose being the reproduction of originally released EXEs, byte-by-byte (or at least of EXEs close to these).
It includes restorations of various games that utilize the Doom engine: Doom, Heretic, Hexen, Strife and Chex Quest. As gamesrc-ver-recreation recreates and reverse-engineers proprietary code, they should not be considered an executable hack, but rather a source modification instead.
List of source modifications
- WolfenDoom: Spear of Destiny (SOD.EXE) (Boom 2.01 based source modification)
- WolfenDoom: The Nocturnal Missions (NOCTURN.EXE) (Boom 2.01 based source modification)
- WolfenDoom: The Original Missions (ORIGINAL.EXE) (Boom 2.02 based source modification)