Jump to content
System downtime for updates - Monday 21 April 2025 ×
The Dark Mod Forums

Recommended Posts

Posted

Hi,

 

 

i have trouble running TDM 2.04 on Ubuntu 16.04. I installed the needed 32bit packages (https://wiki.ubuntuusers.de/Spiele/The_Dark_Mod/).

Also I enabled the use of 32bit: http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit/454254#454254

 

But I still get this error:

 

andre@linuxhost:~/Spiele/darkmod$ ./thedarkmod.x86
TDM 2.04 #6596 linux-x86 Jul 7 2016 15:43:56
found interface lo - loopback
found interface enp9s0 - 192.168.2.104/255.255.255.0
Found Intel CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 CMOV
tdm using generic code for SIMD processing.
------ Initializing File System ------
Current search path:
/home/andre/Spiele/darkmod/
/home/andre/Spiele/darkmod/tdm_textures_wood01.pk4 (317 files)
/home/andre/Spiele/darkmod/tdm_textures_window01.pk4 (348 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_sculpted01.pk4 (424 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_natural01.pk4 (123 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_flat01.pk4 (281 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_cobblestones01.pk4 (214 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_brick01.pk4 (440 files)
/home/andre/Spiele/darkmod/tdm_textures_sfx01.pk4 (64 files)
/home/andre/Spiele/darkmod/tdm_textures_roof01.pk4 (65 files)
/home/andre/Spiele/darkmod/tdm_textures_plaster01.pk4 (140 files)
/home/andre/Spiele/darkmod/tdm_textures_paint_paper01.pk4 (42 files)
/home/andre/Spiele/darkmod/tdm_textures_other01.pk4 (51 files)
/home/andre/Spiele/darkmod/tdm_textures_nature01.pk4 (256 files)
/home/andre/Spiele/darkmod/tdm_textures_metal01.pk4 (465 files)
/home/andre/Spiele/darkmod/tdm_textures_glass01.pk4 (50 files)
/home/andre/Spiele/darkmod/tdm_textures_fabric01.pk4 (41 files)
/home/andre/Spiele/darkmod/tdm_textures_door01.pk4 (171 files)
/home/andre/Spiele/darkmod/tdm_textures_decals01.pk4 (367 files)
/home/andre/Spiele/darkmod/tdm_textures_carpet01.pk4 (92 files)
/home/andre/Spiele/darkmod/tdm_textures_base01.pk4 (375 files)
/home/andre/Spiele/darkmod/tdm_standalone.pk4 (4 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals_decls01.pk4 (27 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals07.pk4 (1111 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals06.pk4 (688 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals05.pk4 (128 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals04.pk4 (2854 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals03.pk4 (743 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals02.pk4 (1300 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals01.pk4 (82 files)
/home/andre/Spiele/darkmod/tdm_sound_sfx02.pk4 (596 files)
/home/andre/Spiele/darkmod/tdm_sound_sfx01.pk4 (924 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient03.pk4 (24 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient02.pk4 (156 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient01.pk4 (209 files)
/home/andre/Spiele/darkmod/tdm_prefabs01.pk4 (557 files)
/home/andre/Spiele/darkmod/tdm_player01.pk4 (125 files)
/home/andre/Spiele/darkmod/tdm_models_decls01.pk4 (93 files)
/home/andre/Spiele/darkmod/tdm_models02.pk4 (1836 files)
/home/andre/Spiele/darkmod/tdm_models01.pk4 (1916 files)
/home/andre/Spiele/darkmod/tdm_gui_credits01.pk4 (49 files)
/home/andre/Spiele/darkmod/tdm_gui01.pk4 (679 files)
/home/andre/Spiele/darkmod/tdm_game02.pk4 (2 files)
/home/andre/Spiele/darkmod/tdm_game01.pk4 (2 files)
/home/andre/Spiele/darkmod/tdm_fonts01.pk4 (696 files)
/home/andre/Spiele/darkmod/tdm_env01.pk4 (98 files)
/home/andre/Spiele/darkmod/tdm_defs01.pk4 (166 files)
/home/andre/Spiele/darkmod/tdm_base01.pk4 (156 files)
/home/andre/Spiele/darkmod/tdm_ai_steambots01.pk4 (24 files)
/home/andre/Spiele/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_heads01.pk4 (96 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_guards01.pk4 (373 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_females01.pk4 (169 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
/home/andre/Spiele/darkmod/tdm_ai_base01.pk4 (8 files)
/home/andre/Spiele/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: 1228 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'
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1228 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
signal caught: Segmentation fault
si_code 1
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
About to exit with code 0
Please help me. What should I do? :(
Posted

I have a Nividia GForce GTX 860M in my Lenovo y50-y70. But I dont use the proprietary drivers so the Intel Chip is in use.

But it also doesnt work with the proprietary one. Same error message.

Posted
andre@linuxhost:~$ sudo ldconfig -v | grep libGL

[sudo] Passwort für andre:

/sbin/ldconfig.real: »stat()« kann nicht für »/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: »stat()« kann nicht für »/usr/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: »stat()« kann nicht für »/lib32« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: Pfad »/lib/x86_64-linux-gnu« mehrfach angegeben //specified multiple times

/sbin/ldconfig.real: Pfad »/usr/lib/x86_64-linux-gnu« mehrfach angegeben //specified multiple times

/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.23.so is the dynamic linker, ignoring


/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.23.so is the dynamic linker, ignoring


libGLEW.so.1.13 -> libGLEW.so.1.13.0

libGLU.so.1 -> libGLU.so.1.3.1

libGLEWmx.so.1.13 -> libGLEWmx.so.1.13.0

libGL.so.1 -> libGL.so.1.2.0




//**** is translation from german in english
Posted

Looks like you've got general driver configuration issues such as mismatched libraries ( 1.3.1 vs 1.13.0 )

and missing files. I would head over to the Ubuntu forums to see about the best way to repair things.

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

 

http://www.indiedb.com/mods/the-dark-mod

 

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

Posted

The Ubuntu Installation is brand new. So I don't think that this is definitely the point...

 

A new installation does not mean something can't go wrong, and if the output log that you posted is showing mismatched files, then something isn't right.

Posted

I've got the solution!!

 

First install these packages:

sudo apt-get install libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386 libasound2-plugins:i386

 

Then install PlayOnLinux (it includes the packages to make OpenGL in 32bit possible):

sudo apt-get install playonlinux

 

Have fun :)

 

 

Please put this to the installation instructions for Ubuntu.

Posted (edited)

Then install PlayOnLinux (it includes the packages to make OpenGL in 32bit possible):

sudo apt-get install playonlinux

But running tdm on wine (playonlinux) is a workaround, not a native sollution.

(I already made a playonlinux/playonmac installatin script for it)

But running tdm not natively, its possible that youre may experience speed/sound/display problems.

 

We would like to see that you fix your driverproblem.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted

It runs natively! Playonlinux has some dependencies which are needed for Opengl in 32bit to work. Just after installing it you can start tdm through./thedarkmod.x86. It isn't a driver problem. Lots of people experience this in Ubuntu 1604. POL has ~150 packages. It would be a lot of work to find those which are needed. So Id recommend install POL and you are fine.

Posted

And the packages to solve the dependencies for playonlinux, are the things we need to run tdm.

(so an install for playonlinux is not necessary)

 

If i compare the outdated installation howto with your info, do we also need to install to install the following packages?

libglu, libgl1-mesa-dri,libgl1-mesa-glx and libglapi?

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

Ok.

When i summarize all the installation manuals and sollutions for you all, this is the following result.

What do you think about the following howto?

 

I will also update my these packages to the deb and rpm packages, with this information soon.

Because the only step that was missing, where installing the other packages.

 

==

 

Howto install tdm on ubuntu linux 64 bit manually:

 

Open your terminal and enter the following commands:

sudo dpkg --add-architecture i386
sudo apt-get install libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386 libasound2-plugins:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 wget unzip
sudo mkdir -p /usr/share/games/darkmod
sudo chown -R nobody:users /usr/share/games/darkmod
sudo chmod uga+w /usr/share/games/darkmod
exit
open the terminal again and enter the following lines:

cd /usr/share/games/darkmod
wget http://www.fidcal.com/darkuser/tdm_update_linux.zip
unzip ./tdm_update_linux.zip -d /usr/share/games/darkmod
rm ./tdm_update_linux.zip
chmod uga+x ./tdm_update.linux
Run the updater:

./tdm_update.linux
Wait until the updater ends, then:

chmod uga+x ./thedarkmod.x86
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,

create them and use the following settings:

settings for updater-shortcut

Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
Categories=Game;ArcadeGame;
Type=Application
settings for the gameexecutable-shortcut

 
Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
Type=Application
Terminal=false
Note:

The following things are done automatically using my rpm and deb packages

This will also create shortcuts and installs other things.

===

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

  • 2 weeks later...
Posted (edited)

I followed the manual above, using my Ubuntu 64 vm.
Got the same video error (exactly as in the topic-start).
And I confirm the solution, to install the playonlinux-package.
(added this to manual above.)

But why needs TDM this (and other packages dependencies from playonlinux)??

Dhewm doesn't need that package as a dependency (but i didn't did a test run)

Quake 2 engine games works fine (without installing playonlinux)

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

For my 200th post on this forum, i answer my own question:

As it is said, TDM executable and the updater are 32 bit applications.

They dont run on a 64bit Linux Distro, so 32 bit libraries must be installed.

Playonlinux depence on more 32bit libraries, that are not registered in the manual.

Going to filter it (again).

 

Playonlinux is nice to have. You can even run tdm on it.

 

edit:

Instead of playonlinux-package, install also the following packages:

libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386

(searching for more)

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

  • 2 weeks later...
Posted

I didn't have those three packages installed because:

~/darkmod$ ldd thedarkmod.x86 
	linux-gate.so.1 (0xf774a000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7711000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf770c000)
	librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7702000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf75b0000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf759b000)
	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf7594000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf74a2000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf745b000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf743e000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7291000)
	/lib/ld-linux.so.2 (0xf774d000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf726b000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7267000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7260000)

But it makes sense that I would need to install them. After doing so, I still get the same exact error message:

----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
signal caught: Segmentation fault
si_code 1
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
About to exit with code 0

  • 2 years later...
Posted
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,

create them and use the following settings:

settings for updater-shortcut

Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
Categories=Game;ArcadeGame;
Type=Application
settings for the gameexecutable-shortcut

 
Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
Type=Application
Terminal=false
Note:

The following things are done automatically using my rpm and deb packages

This will also create shortcuts and installs other things.

===

 

 

Hi! I am currently installing TDM on my new computer (Ubuntu 18.04), but whenever I try to create shortcuts I get this error message (command not found).

boris@boris-VM40B:~$ Path=/usr/share/games/darkmod/
boris@boris-VM40B:~$ Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL-c: Befehl nicht gefunden.
boris@boris-VM40B:~$ Categories=Game;ArcadeGame;
ArcadeGame: Befehl nicht gefunden.
boris@boris-VM40B:~$ Type=Application

I tried several other tutorials to create a shortcut, but I am stuck...

Join the conversation

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

Guest
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.

  • Recent Status Updates

    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 3 replies
    • Goblin of Akenash

      My mapping discord if anyone is interested, its more of a general modding thing rather than just for TDM 
      https://discord.gg/T4Jt4DdmUb

       
      · 0 replies
    • nbohr1more

      2.13 Moddb Article is up: https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-213-is-here
      · 1 reply
×
×
  • Create New...