Jump to content
The Dark Mod Forums

TDM 2.0 crash on launch


Recommended Posts



the Dark Mod 2.0 has recently stopped working for me. Prior to this, I installed one of the missions in-game (don't remember which one) and during the installation process, the game crashed to desktop. The next time I tried to launch the game (the next day) all I got was a black screen for a short time as if the game would launch and then a crash to desktop, as well as the following crash log:




TDM 2.00 #5890 win-x86 Oct 5 2013 11:19:28

2993 MHz AMD CPU with MMX & 3DNow! & SSE & SSE2 & SSE3 & HTT

2048 MB System Memory

1024 MB Video Memory

Winsock Initialized

Found interface: {41226F81-92EB-44C1-916B-F8FF7CC43440} TAP-Win32 Adapter V9 (Tunngle) - NULL netmask - skipped

Found interface: {2FFDF9E8-862A-485C-8DCE-9FDFD22A57CE} Atheros AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20) -

Sys_InitNetworking: adding loopback interface

Found AMD CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 3DNow! CMOV

tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.

enabled Flush-To-Zero mode

enabled Denormals-Are-Zero mode

------ Initializing File System ------

Current search path:

C:\Games\The Dark Mod\darkmod/fms/thieves

C:\Games\The Dark Mod\darkmod\fms\thieves\thieves.pk4 (34 files)

C:\Games\The Dark Mod\darkmod/

C:\Games\The Dark Mod\darkmod\tdm_textures_wood01.pk4 (297 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_window01.pk4 (234 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_stone_sculpted01.pk4 (312 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_stone_natural01.pk4 (110 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_stone_flat01.pk4 (271 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_stone_cobblestones01.pk4 (192 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_stone_brick01.pk4 (390 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_sfx01.pk4 (41 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_roof01.pk4 (65 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_plaster01.pk4 (124 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_paint_paper01.pk4 (37 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_nature01.pk4 (218 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_metal01.pk4 (360 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_glass01.pk4 (36 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_fabric01.pk4 (38 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_door01.pk4 (155 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_decals01.pk4 (317 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_carpet01.pk4 (71 files)

C:\Games\The Dark Mod\darkmod\tdm_textures_base01.pk4 (323 files)

C:\Games\The Dark Mod\darkmod\tdm_standalone.pk4 (4 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals_decls01.pk4 (25 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals07.pk4 (1104 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals06.pk4 (680 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals05.pk4 (128 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals04.pk4 (2337 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals03.pk4 (739 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals02.pk4 (1292 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_vocals01.pk4 (82 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_sfx02.pk4 (596 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_sfx01.pk4 (882 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_ambient_decls01.pk4 (8 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_ambient03.pk4 (24 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_ambient02.pk4 (151 files)

C:\Games\The Dark Mod\darkmod\tdm_sound_ambient01.pk4 (205 files)

C:\Games\The Dark Mod\darkmod\tdm_prefabs01.pk4 (544 files)

C:\Games\The Dark Mod\darkmod\tdm_player01.pk4 (123 files)

C:\Games\The Dark Mod\darkmod\tdm_models_decls01.pk4 (89 files)

C:\Games\The Dark Mod\darkmod\tdm_models02.pk4 (1809 files)

C:\Games\The Dark Mod\darkmod\tdm_models01.pk4 (1679 files)

C:\Games\The Dark Mod\darkmod\tdm_gui_credits01.pk4 (49 files)

C:\Games\The Dark Mod\darkmod\tdm_gui01.pk4 (667 files)

C:\Games\The Dark Mod\darkmod\tdm_game02.pk4 (2 files)

C:\Games\The Dark Mod\darkmod\tdm_game01.pk4 (2 files)

C:\Games\The Dark Mod\darkmod\tdm_fonts01.pk4 (696 files)

C:\Games\The Dark Mod\darkmod\tdm_env01.pk4 (98 files)

C:\Games\The Dark Mod\darkmod\tdm_defs01.pk4 (169 files)

C:\Games\The Dark Mod\darkmod\tdm_base01.pk4 (149 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_steambots01.pk4 (24 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_monsters_spiders01.pk4 (82 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_undead01.pk4 (50 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_townsfolk01.pk4 (79 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_pagans01.pk4 (10 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_nobles01.pk4 (49 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_mages01.pk4 (7 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_heads01.pk4 (69 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_guards01.pk4 (313 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_females01.pk4 (155 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_humanoid_builders01.pk4 (87 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_base01.pk4 (8 files)

C:\Games\The Dark Mod\darkmod\tdm_ai_animals01.pk4 (80 files)

File System Initialized.


----- Initializing Decls -----


------- Initializing renderSystem --------

using ARB renderSystem

renderSystem initialized.


I18N: SetLanguage: 'english'.

I18N: Found no character remapping for english.

I18N: 1213 strings read from strings/english.lang

I18N: 'strings/fm/english.lang' not found.

WARNING:Couldn't load image: guis/assets/splash/launch

Couldn't open journal files

Couldn't exec editor.cfg - file does not exist.

execing default.cfg

Unknown command 'use'

Unknown command 'console'

Unknown command 'next'

Unknown command 'prev'

Unknown command 'previous'

Unknown command 'next'

Unknown command 'crouch'

Unknown command 'Lean'

Unknown command 'lean'

Unknown command 'Readables'

Unknown command 'spyglass'

Unknown command 'compass'

Unknown command 'lantern'

Unknown command 'maps'

Unknown command 'objectives'

Unknown command 'keys'

Unknown command 'lockpicks'

Unknown command 'lean'

Unknown command 'Inventory'

Unknown command 'Mantle'

Unknown command 'creep'

Unknown command 'frob'

Unknown command 'inventory'

execing Darkmod.cfg

Couldn't exec autoexec.cfg - file does not exist.

I18N: SetLanguage: 'english'.

I18N: Found no character remapping for english.

I18N: 1213 strings read from strings/english.lang

I18N: 'strings/fm/english.lang' not found.

----- Initializing Sound System ------

WARNING:LoadLibrary openal32.dll failed.

sound system initialized.


----- R_InitOpenGL -----

Initializing OpenGL subsystem

...getting default gamma ramp: success

...registered window class

...registered fake window class

...initializing QGL

...calling LoadLibrary( 'opengl32' ): succeeded

...calling CDS: ok

...created window @ 0,0 (1280x1024)

Initializing OpenGL driver

...getting DC: succeeded

...PIXELFORMAT 10 selected

...creating GL context: succeeded

...making context current: succeeded


------- Input Initialization -------

Initializing DirectInput...

mouse: DirectInput initialized.

keyboard: DirectInput initialized.


sound: STEREO

Checking portable OpenGL extensions...

v - using GL_ARB_multitexture

v - using GL_ARB_texture_env_combine

v - using GL_ARB_texture_cube_map

v - using GL_ARB_texture_env_dot3

v - using GL_ARB_texture_env_add

v - using GL_ARB_texture_non_power_of_two

v - using GL_ARB_texture_compression

v - using GL_EXT_texture_compression_s3tc

v - using GL_EXT_texture_filter_anisotropic

maxTextureAnisotropy: 16.000000

v - using GL_EXT_texture_lod_bias

v - using GL_EXT_texture3D

v - using GL_EXT_stencil_wrap

v - using glStencilOpSeparate

v - using GL_NV_register_combiners

X - GL_ATI_fragment_shader not found

X - GL_ATI_text_fragment_shader not found

v - using GL_ARB_vertex_buffer_object

v - using GL_ARB_vertex_program

v - using GL_ARB_fragment_program

v - using EXT_depth_bounds_test

---------- R_NV20_Init ----------


----------- R200_Init -----------

Not available.

---------- R_ARB2_Init ----------



----- R_ReloadARBPrograms -----






















using ARB_vertex_buffer_object memory

using ARB2 renderSystem

Font fonts/english/stone in size 12 not found, using size 24 instead.

gamex86 - Found DLL in EXE path with timestamp of 1381450515 - C:\Games\The Dark Mod\darkmod/gamex86.dll

gamex86 - Found DLL in pak file with timestamp of 1380968720 - C:\Games\The Dark Mod\darkmod\tdm_game01.pk4/gamex86.dll

gamex86 - DLL in EXE path is newer, ignoring DLL in pak file

Found AMD CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 3DNow! CMOV

game using MMX & SSE & SSE2 & SSE3 for SIMD processing.

enabled Flush-To-Zero mode

enabled Denormals-Are-Zero mode

--------- Initializing Game ----------

The Dark Mod 2.00, code revision 5894

Build date: Oct 5 2013

Initializing event system

...819 event definitions

Initializing class hierarchy

...168 classes, 399672 bytes for event callbacks

Initializing scripts

--------- Game Map Shutdown ----------

--------- Game Map Shutdown done -----

ERROR:Error: file script/tdm_location_settings.script, line 234: too few parameters for function 'getLightInPVS'




Error during initialization

Shutting down OpenGL subsystem

...wglMakeCurrent( NULL, NULL ): success

...deleting GL context: success

...releasing DC: success

...destroying window

...resetting display

...restoring hardware gamma: success

...shutting down QGL

...unloading OpenGL DLL




I'm guessing that the easiest fix would be to reinstall but maybe this gives the guys who created this great mod some technical feedback that they might implement in a later patch (?). Or it helps someone with a similar problem ...


Thanks in advance!


- f0xX


PS: I hope my spoilers work.

Yep, they did!

Edited by f0xX
Link to comment
Share on other sites

Looks like you've got an old version of the "Thieves" mission which is using an outdated light script.


Try deleting the Thieves folder inside your FMS directory and download it via the mission downloader

Please visit TDM's IndieDB site and help promote the mod:




(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

That did the trick, thanks a lot. :)


Edit: On an other note - you seem to be an experienced TDM user, could you tell me if there is a site where I could download more well-made 2.0 fan missions? Google and this forum don't yield much and the in-game downloader seems to be offline right now.


Edit 2: Ok, I worked through the forums and found a bunch of 2.0 maps. I'm guessing these are the only ones I will find at the moment?

Edited by f0xX
  • Like 1
Link to comment
Share on other sites

The online mission downloader has been down ever since Slashdot linked to us a few days ago, but anything on there is compatible with 2.0.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...