The Dark Mod

  • Main Page
  • News
  • Missions
  • Downloads
  • Team
  • Forums
  • Media

The Dark Mod 2.10 has been Released!

We are proud to announce the release of The Dark Mod 2.10!

The Dark Mod 2.10 comes with considerable improvements to loading times as well as a slew of new visual and gameplay features for mappers to experiment with, such as volumetric lighting (“god rays”) and more advanced security cameras!

Many of these new features are prominently on display in the six new missions released for the 2.10 Connections Contest that are now officially available in the mission downloader!

A full changelog can be viewed here, but some highlights include:

For Players

Loading Times
Considerable effort has gone into streamlining how textures are loaded, making more effective use of multiple CPU cores, and removing artificial delays. This even includes new handwritten algorithms for normalmap compression and mipmap generation so that TDM no longer relies on graphics card drivers.

Performance Improvements
As part of ongoing performance improvements, soft stencil shadows with anti-alising will be faster to render.

Object Handling
Afraid to grab a candle near a sleeping guard? Handling objects will now produce less noise, or none at all if holding down the “creep” button. You can also now control how far an item is thrown based on how long you hold down the “throw” button. Lastly, dragging unconscious bodies should feel better now (even if rats did their best to spoil the fun a little).

Main Menu Interactions
Tooltips have been added for many of the items found in the settings menu: a long-awaited feature! We’ve also reorganized the procedure for switching between missions to make it more intuitive for newcomers.

Window / Input Changes
The Linux build now relies on the GLFW library to create windows and handle the keyboard & mouse, eliminating many of the issues with OS integration on Linux.
On the Windows side, some minor changes were made to fullscreen/borderless modes.

For Mappers

Entity limit is no more!
What was once the bane of TDM’s most ambitious mappers, the entity limit has now been raised eight-fold to 65,536. No longer will mappers need to spend long hours merging entities.

Compilation Times
To complement the faster loading times, compilation times have been brought down too. Optimizations were made all over the dmap code, adding new algorithms and data structures to improve both speed and precision.

Advanced Security Cameras
Security cameras have been reworked from the ground up with the aim of bringing them to the same level of polish as TDM’s AIs, both in stealth gameplay and customizability. Most importantly, security cameras in new FMs will track the player or AIs and react to bodies. Wiki

Volumetric Lights (“God Rays”)
Unlike adding fake translucent geometry around lights, volumetric lights automatically match their source light, including light volume geometry, projection & falloff textures, and even shadows. Note that shadowcasting currently only works in “shadow maps” mode. Wiki

Xray Screens
Xrays are a Doom 3 feature that has been reintroduced to TDM and developed further. The screens are able to change the appearance of entities seen through them, even making them appear or disappear if desired. Look out for them in future Inventor’s Guild or magical-themed FMs. Wiki

Subtitles
Subtitles can now be assigned to sound files and have been added to the pre-bundled mission “Tears of St. Lucia”. Note that we did not consider localization of subtitles yet. Wiki

Tracking Secrets
Secrets are now easy to designate, with no custom scripts required. They’ll also be shown on the mission statistics screen at the end of the mission if the FM uses the new system. Wiki

Main Menu GUI Customisation
Mappers can change much of the main menu from a single purpose-built “customisation” .gui file instead of having to replace core files. You can find more details in guis/mainmenu_custom_defs.gui inside tdm_gui01.pk4.
Since several missions had to be updated to this new system, their customisations will no longer work in 2.09 or earlier versions.

Location Diagnostics During dmap
Location overlaps should now be much easier to find and fix thanks to new console output and pointfiles created during compilation.

Image Formats
As a compact alternative to TGA for uncompressed images, PNG images can now be used in materials. Note that loading PNG images may be slower than TGA.
DDS images can now be used in image programs, although doing so is discouraged because of the additional quality loss due to compression.

New Script Events
The mapper’s scripting repertoire has been expanded by new script events for dealing with vectors and bounds, setting solidity, detecting surface type via trace, and reading more properties about entities and the player, such as “notarget” or the calibrated light gem value.

New Assets

Fancy Wooden Furniture
A whole new suite of fancy wooden furniture pieces including prefabs has been contributed by Wellingtoncrab. They can be viewed in the release thread.

Automaton AI
The semi-robotic AIs from Sotha’s Ulysses mission have been added to the core mod, together with new prefabs for cosmetic recharging stations to include in patrol routes as well as a camera screen showing what the automaton sees.

Programming

Tracy Profiling
TDM’s rudimentary GL profiling has been replaced with the Tracy profiler, which has its own cool viewer. It has already greatly helped the TDM development team in their optimization efforts.

Mission Database
The mission database has been moved to an SVN repository which automatically synchronizes all mirrors and makes backup copies of old versions of missions.

More Technical Stuff
A generic hash table has been added. “Clear” in the idlib method now works as most programmers expect and unit test integration has been improved.

To update, simply run the tdm_installer.exe file in your darkmod folder. Note that tdm_update.exe is no longer supported, but you can download the new installer from the Downloads page if you don’t have it yet.
Please be aware that old saved games will not be compatible with 2.10, so finish any missions you might be in the middle of first!

Farewell to Grayman

We have lost one of the most talented members to ever join the TDM team.

Rand Phares “grayman” has lost his long battle with cancer and is no longer with us.

Before joining the TDM team and rising to become the lead developer, grayman was making mods for Doom, Quake, and Return to Castle Wolfenstein (including the excellent “Stolen Artifact” mod). Grayman used his deep knowledge of id Tech AI and scripting to repair and improve TDM AI from versions 1.02 to 2.08.

Grayman’s “William Steele” series missions were always filled with complicated sequences and had a cinematic quality that few authors achieved. Grayman often recorded his own voice-acting and his stories often were tinged with a little of his unmistakable humor.

It is impossible to fathom all the things grayman has done for TDM over the years and he will missed as both a developer and mentor for team members, mappers, and players alike.

Other news:

The Dark Mod 2.09a “Hotfix” has been released.

209 mission

A number of critical stability issues have been discovered subsequent to the 2.09 release, including a moderately rare crash in William Steele 3. I was decided that these fixes could not wait until 2.10 so a hotfix has been issued. Unlike full releases, save-game files will be compatible with this update so there is no need to wait to update to this version. If you have an AMD graphics card and found that 2.09 would not render properly, please try this new hotfix as many new graphic defaults are now friendlier to older AMD drivers.

A list of 2.09a ( Hotfix ) fixes can be found here:

https://forums.thedarkmod.com/index.php?/topic/20930-beta-testing-209a-aka-hotfix/

The Dark Mod 2.09 has been Released!

We are proud to announce the release of The Dark Mod 2.09!


TDM 2.09 marks a new phase of performance improvements aimed lowering CPU overhead in the graphics engine.


A whole new graphic backend has been created by Cabalistic which uses modern OpenGL features to eliminate the need for the CPU to constantly issue commands to allow the Graphic Processor to render scenes.

This gives TDM some of the performance advantages of rendering using a low level API like Vulkan.


Stgatilov has been very busy this release cycle. He has put heroic efforts into improving the way that TDM upgrades and hosting operate in addition to the vast improvements to TDM itself. (He also refactored the entire particle engine and created a link system to connect TDM to Dark Radiant.)


A full changelog can be viewed here, but some highlights include:


Better performance:

A brand new Backend that uses UBO, Persistent Mapping, Bindless textures, and Multi-Draw has been added.

“Frontend Acceleration” (Multi-Core job based rendering based on Doom 3 BFG) now works as expected.

Normal Map compression now uses RGTC resulting in lower storage, VRAM requirements, and less artifacts ( load times should improve in future TDM versions when pre-compressed RGTC textures are added )

Background texture loading has improved. This should shorten load times and reload.


Better visuals:

A new Sharpening Filter has been added. It can make 70% Render Scale look almost like native resolution (more performance).

( It also cleans up some blurry textures for all Render Scales. )

Bumpmap lighting is smoother, so that lighting does not instantly flip to off when getting close to edges of occluded objects.

Particle physics have been substantially improved for both accuracy and performance.

Borderless Fullscreen works properly on Windows.

Water and other GUI effects that did not respond to Gamma now brighten properly.

AMD and Intel fixes have been added for SSAO rendering


Better gameplay:

Experimental Gamepad support has been added.

Creep works in alway-run mode


Better mapping:

A new linking system allows The Dark Mod to act as a real-time preview of Dark Radiant

The redesigned particles now have improved setup and configuration.

Automated fixes have been created for “rotation hacked” models

Prefabs have been seen numerous fixes and reorganization to make them easier to use


Better Sound:

Conversation and other sounds are no longer stopped by saving or going to main menu.

EFX reverb has been added to “Mission 1: A New Job”

Extinguished gas lamps are no longer noisy when doused


New Assets:

Dragofer, Epifire, Bikerdude, LDAsh, Kingsal, Dram have all added substantial asset updates ranging from updated Werebeast animations, Steam Engines, fireflies


More stable:

A huge number of fragile code areas have been overhauled to either fix crashes or prevent likely crashes due to risk of divide by zero, uninitialized values, or dangling pointers (leftover settings) on entities and functions.


We recommend that you upgrade using the new “tdm_installer” available here. Please be aware that old saved games will not be compatible with 2.09, so finish any missions you might be in the middle of first!

The Dark Mod 2.08 released!

We are proud to announce the release of The Dark Mod 2.08! 


Long in development, many fixes related to Multi-Core, Uncapped FPS, and the 64-bit migration are now available. TDM 2.08 goes further with the process to modernize coding standards in TDM, replacing legacy OpenGL functions and ARB Assembly shaders with modern techniques. 


Mappers will be pleased to see many new quality assets as well as enhancements to rain, fog, skylight, AIs and visportal diagnostics.


For the eye-candy crowd, new Bloom, 64-bit color mode, and SSAO options have been added!


For Linux users, the project can now be compiled via CMake.

A full changelog can be viewed here, but some highlights include:

Better Visuals: Cabalistic has finally added the much requested SSAO feature to TDM. Using a method called Scalable Ambient Obscurance, now areas with flat ambient lighting come alive with new detail! He’s also implemented a new Bloom method, and brightness and gamma will no longer interfere with desktop brightness.


Better AI: Grayman has refined the AI yet again, for instance ensuring that sitting and lying aren’t thwarted by obstacles.

Better Gameplay: The player’s ability to move and interact with the environment has been improved thanks to fixes to mantling as well as climbing ropes and ladders. Ragdolls are easier to handle and shouldering them is accompanied by an animation.

Better Mapping: The mapper’s toolkit has seen several enhancements. A new X-ray surface and new spectrum spawnargs modify how objects are perceived. Rain is much less taxing and uses static collision detection to limit its fall. New visportal diagnostics make it easier than ever to track down notorious internal leaks.

Better Performance: The dev team has as always been hard at work making improvements to performance and laying the groundwork for even more improvements in the future. Multi-Core’s stability has been enhanced and is no longer listed as an “Experimental” setting.

New Assets: Many quality textures and models were added by both Team members and community contributors. Especially of note is the inclusion of Kingsal’s manbeasts and Springheel’s new zombies, and expect to catch glimpses of the werebeast. If you are a mission author, please take a look here.


New Sounds: The player’s movement is now accompanied by new sounds when mantling, swimming and sliding down ropes and ladders.

To update, simply run the tdm_update.exe file in your darkmod folder. Please be aware that old saved games will not be compatible with 2.08, so finish any missions you might be in the middle of first!

Hotfix for 2.07 now available (05/2019)

This hotfix release is intended mainly to fix serious problems with OpenGL that some players have.
The set of differences with the original 2.07 is minimal.
The hotfix release is expected to fully replace the original 2.07, and be called simply “TDM 2.07” in the future.

Unlike the usual case, this release does not break savegame compatibility.
You can load savegames produced by the original TDM 2.07 in the 2.07-hotfix version perfectly fine: no need to do anything.

The changes in 2.07-hotfix:

1) Fixed GLSL shaders not working on the latest AMD graphics drivers.
With original 2.07, players with AMD gpus had to either set r_useGLSL 0 or to download custom shader files.
Everyone who had this problem: please update to 2.07-hotfix, set r_useGLSL 1 back and remove glprogs directory if you have it.

2) Fixed GLSL shaders not working on some Linux drivers.
The same workaround was used to avoid the problem, which should be reverted after update.
It is also possible that shadow maps will start working for some players (due to this fix).

3) Fixed r_showportals 1 to work properly with Multi Core Enhancement and with subviews.
With original 2.07, it had problems like postprocessing being disabled or wrong rendering of portals.

4) Fixed missing tdm_coals_hot_ns material on some maps.