The Dark Mod

From PCGamingWiki, the wiki about fixing PC games
The Dark Mod
The Dark Mod cover
Broken Glass Studios
id Tech 4
Release dates
Windows October 16, 2009
macOS (OS X) June 19, 2011[1]
Linux October 8, 2013
The Dark Mod on IGDB
The Dark Mod on Wikipedia
Thief: The Dark Project 1998
Thief II: The Metal Age 2000
Thief: Deadly Shadows 2004
The Dark Mod (unofficial spin-off) 2009
Thief 2014

Key points

Originally a Doom 3 total conversion, now a standalone game.
The Dark Mod is a toolset for use with 'Fan Missions' designed by the community.

General information

Official site
The Dark Mod Forums
The Dark Mod Wiki/Game Manual
Official source code repository


Source DRM Notes Keys OS
Official website
Use tdm_update.exe to update the mod whenever a new version is available.
macOS (OS X)

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\Darkmod.cfg[Note 1]
macOS (OS X)
Linux <path-to-game>\Darkmod.cfg
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location[edit]

System Location
Windows <path-to-game>\fms\[Note 1]
macOS (OS X)
Saves are in a savegames folder inside each mission's folder.


Video settings.
Video settings.

Graphics feature State WSGF Notes
Widescreen resolution
See Multi-monitor.
See Multi-monitor.
4K Ultra HD
Field of view (FOV)
Default 90 - can be changed by typing g_fov X or r_fovRatio Y in console (where X is the direct FOV value (e.g. 106) and Y is the ratio of width and height of your screen in pixels (e.g. 1920/1080=1.777)
Can also be toggled by pressing Alt+ Enter.
Borderless fullscreen windowed
Set desktop resolution in-game and use Borderless Windowed.[2]
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
60 FPS and 120+ FPS
TDM 2.06 has "Uncapped FPS" under Experimental Features. This is actually a cap of 166 FPS.
High dynamic range display (HDR)
Post-process shaders approximate the HDR look (JC Denton's "HDR-Lite" shaders as of v1.03)


Edit config file[3]
  1. Go to the installation folder.
  2. Edit Darkmod.cfg with a text editor.
  3. Find a line seta r_customWidth and replace its value with a width of a resolution you want to use.
  4. Find a line seta r_customHeight and replace its value with a height of resolution you want to use.
  5. Find a line seta r_fullscreen and make sure it's set to "1", to make a game work in fullscreen mode.
  6. Find a line seta r_mode and make sure it's set to "-1".
  7. Find a line seta r_fovRatio and change the value according to this table (e.g. for 2.90:1 aspect ratio it's seta r_fovRatio 2.9, for 3.2:1 - seta r_fovRatio 3.2, etc.)
  8. Save a config file and run a game.


Menu is always stretched.

Disable head bob[edit]

Disable head bob
1. Create autoexec.cfg file in your darkmod.
2. Add the following commands:

seta pm_runbob "0"
seta pm_runpitch "0"
seta pm_runroll "0"
seta pm_walkbob "0"
seta pm_bobpitch "0"
seta pm_bobroll "0"
seta pm_bobup "0"
seta pm_crouchbob "0"

3. Save the file.


Keyboard and mouse State Notes
Mouse acceleration
No mouse acceleration. Mouse smoothing can be adjusted, but is off by default.
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller support
See the glossary page for potential workarounds.


Audio settings.
Audio settings.

Audio feature State Notes
Separate volume controls
Ambient, sound effects, player voice, and narrator volume.
Surround sound
Closed captions
Mute on focus lost
Always disabled.
EAX support
EAX was replaced by EFX in TDM 2.06. Missions must be updated with EFX reverb settings.


Language UI Audio Sub Notes

Issues fixed[edit]

A comprehensive list of issues, and their fixes, is listed on the Dark Mod Wiki here.

Game refuses to run on 64-bit Ubuntu[edit]

If it complains about missing libcurl version 4, try installing libcurl3 package forcing i386 architecture by issuing the following command:
sudo apt-get install libcurl3:i386

Note: As of TDM 2.6, there is a 64-bit build but tdm_updater is still 32-bit.

No sound in Linux[edit]

Ubuntu Linux uses PulseAudio as default backend. To configure Dark Mod for PulseAudio, use the following command:
env PULSE_LATENCY_MSEC=60 ./thedarkmod.x86 +set s_driver best +set s_alsa_pcm default
This will re-route game's ALSA output to Pulse and increase its latency a little bit in order to prevent sound skipping.

If you insist on using ALSA however, follow the steps below:

  • get the list of available sound devices using aplay -L (that's capital L)
  • start the game using pasuspender and the parameter +set s_alsa_pcm DEVICE where DEVICE is one of the entries from the list you obtained in the previous step, e.g.:

pasuspender ./thedarkmod.x86 +set s_alsa_pcm sysdefault:CARD=PCH +set NumberOfSpeakers 2

Issues unresolved[edit]

Other information[edit]


Executable 32-bit 64-bit Notes
TDM 2.06 has 64-bit support from Dhewm3
macOS (OS X)


Middleware Notes
Audio OpenAL

Performance tweaks[edit]

Performance tweaks can be found at the Dark Mod Wiki and the Dark Mod FAQ.
The game is built on the Doom 3 engine, so the TweakGuide should still be applicable.
Do not tweak the r_lightScale variable as it's used to calculate player's visibility (light gem). It's actually possible to disable all lights in the game by assigning it a value of 0.

System requirements[edit]

Minimum Recommended
Operating system (OS) 2000
Processor (CPU) 1.5 GHz
System memory (RAM) 3 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia Geforce 6 6xxx or ATI Radeon 97xx
(see note below)
64 MB of VRAM
DirectX 9.0b (OpenGL 2.0) compatible
See the official Known System Configurations page for a list of compatible GPUs and CPUs.
Soft Shadows require a GPU which supports the OpenGL 4.3 ARB_STENCIL_TEXTURE extension.
Operating system (OS)
Processor (CPU) 1.5 GHz
System memory (RAM) 3 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) 64 MB of VRAM
See the official Known System Configurations page for a list of compatible GPUs and CPUs.
Soft Shadows require a GPU which supports the OpenGL 4.3 ARB_STENCIL_TEXTURE extension.


  1. 1.0 1.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).


  1. What's new in TDM 1.06 - The DarkMod Wiki - last accessed on 2017-07-21
  2. Verified by User:Garrett on 10 December 2013‎
  3. Resolutions - The DarkMod Wiki