Jump to content
The Dark Mod Forums

Game not opening


apoorv569

Recommended Posts

im running Arch Linux, i installed this game from the AUR. i added my user in games user group as suggested in during the installation of the game, when i try to launch the game nothing happens, so i tried running is through the terminal to get some output, i got this

TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp13s0 - ( i removed the ip )
found interface wlp13s0 - ( i removed the ip )
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
no 'darkmod' directory in exe path /opt/thedarkmod, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Current search path:
  /opt/thedarkmod/
  /opt/thedarkmod/tdm_textures_wood01.pk4 (376 files)
  /opt/thedarkmod/tdm_textures_window01.pk4 (389 files)
  /opt/thedarkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /opt/thedarkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /opt/thedarkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /opt/thedarkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /opt/thedarkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /opt/thedarkmod/tdm_textures_sfx01.pk4 (69 files)
  /opt/thedarkmod/tdm_textures_roof01.pk4 (72 files)
  /opt/thedarkmod/tdm_textures_plaster01.pk4 (142 files)
  /opt/thedarkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /opt/thedarkmod/tdm_textures_other01.pk4 (127 files)
  /opt/thedarkmod/tdm_textures_nature01.pk4 (281 files)
  /opt/thedarkmod/tdm_textures_metal01.pk4 (496 files)
  /opt/thedarkmod/tdm_textures_glass01.pk4 (51 files)
  /opt/thedarkmod/tdm_textures_fabric01.pk4 (43 files)
  /opt/thedarkmod/tdm_textures_door01.pk4 (177 files)
  /opt/thedarkmod/tdm_textures_decals01.pk4 (461 files)
  /opt/thedarkmod/tdm_textures_carpet01.pk4 (92 files)
  /opt/thedarkmod/tdm_textures_base01.pk4 (395 files)
  /opt/thedarkmod/tdm_standalone.pk4 (4 files)
  /opt/thedarkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /opt/thedarkmod/tdm_sound_vocals07.pk4 (1111 files)
  /opt/thedarkmod/tdm_sound_vocals06.pk4 (696 files)
  /opt/thedarkmod/tdm_sound_vocals05.pk4 (128 files)
  /opt/thedarkmod/tdm_sound_vocals04.pk4 (2870 files)
  /opt/thedarkmod/tdm_sound_vocals03.pk4 (743 files)
  /opt/thedarkmod/tdm_sound_vocals02.pk4 (1299 files)
  /opt/thedarkmod/tdm_sound_vocals01.pk4 (82 files)
  /opt/thedarkmod/tdm_sound_sfx02.pk4 (605 files)
  /opt/thedarkmod/tdm_sound_sfx01.pk4 (948 files)
  /opt/thedarkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /opt/thedarkmod/tdm_sound_ambient03.pk4 (24 files)
  /opt/thedarkmod/tdm_sound_ambient02.pk4 (163 files)
  /opt/thedarkmod/tdm_sound_ambient01.pk4 (220 files)
  /opt/thedarkmod/tdm_prefabs01.pk4 (960 files)
  /opt/thedarkmod/tdm_player01.pk4 (125 files)
  /opt/thedarkmod/tdm_models_decls01.pk4 (103 files)
  /opt/thedarkmod/tdm_models02.pk4 (2020 files)
  /opt/thedarkmod/tdm_models01.pk4 (3043 files)
  /opt/thedarkmod/tdm_gui_credits01.pk4 (49 files)
  /opt/thedarkmod/tdm_gui01.pk4 (715 files)
  /opt/thedarkmod/tdm_fonts01.pk4 (696 files)
  /opt/thedarkmod/tdm_env01.pk4 (152 files)
  /opt/thedarkmod/tdm_defs01.pk4 (179 files)
  /opt/thedarkmod/tdm_base01.pk4 (197 files)
  /opt/thedarkmod/tdm_ai_steambots01.pk4 (24 files)
  /opt/thedarkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /opt/thedarkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /opt/thedarkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /opt/thedarkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /opt/thedarkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /opt/thedarkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /opt/thedarkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /opt/thedarkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /opt/thedarkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /opt/thedarkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /opt/thedarkmod/tdm_ai_base01.pk4 (8 files)
  /opt/thedarkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1895.94 MHz
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
About to exit with code 0

 

Link to comment
Share on other sites

If installed under '/opt', shouldn't it be in '/opt/darkmod' instead of '/opt/thedarkmod'?

Perhaps, as root or using sudo, it might be an easy test to:

cd /opt
ln -s thedarkmod darkmod

If that does the trick then doing 'mv /opt/thedarkmod /opt/darkmod' should be able to be done safely after first removing the symlinked directory with 'rm darkmod'.

Though not sure that would cause a segfault

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

TDM can run on every location, as long the user has the permissions to execute and write.

An other Arch user changed his timezone to solve the same symptoms, apoorv569.
There is are  AUR's for this game, but which do you installed?
And is it possible in arch to download and run the original tdm updater and its binaries, instead of an aur?

To give you some other pointers/tips:
see https://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Linux

and if you have any questions please post them in the techsupport forum. 

Edited by freyk
  • Like 1

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

Link to comment
Share on other sites

9 hours ago, stgatilov said:

Could you please run the game under GDB and generate core dump?

According to this, you can do:

  1. gdb ./thedarkmod.x64
  2. run
  3. generate-core-dump

Then find the core dump file, upload it somewhere and share here.

i tried this but it says undefined command generate-core-dump

    /opt/thedarkmod  gdb ./thedarkmod.x64                                                      ✔  3m 16s   06:41:23 PM  
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./thedarkmod.x64...
(No debugging symbols found in ./thedarkmod.x64)
(gdb) run
Starting program: /opt/thedarkmod/thedarkmod.x64 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp13s0 - ( i removed the ip )
found interface wlp13s0 - ( i removed the ip )
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
no 'darkmod' directory in exe path /opt/thedarkmod, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Current search path:
  /opt/thedarkmod/
  /opt/thedarkmod/tdm_textures_wood01.pk4 (376 files)
  /opt/thedarkmod/tdm_textures_window01.pk4 (389 files)
  /opt/thedarkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /opt/thedarkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /opt/thedarkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /opt/thedarkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /opt/thedarkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /opt/thedarkmod/tdm_textures_sfx01.pk4 (69 files)
  /opt/thedarkmod/tdm_textures_roof01.pk4 (72 files)
  /opt/thedarkmod/tdm_textures_plaster01.pk4 (142 files)
  /opt/thedarkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /opt/thedarkmod/tdm_textures_other01.pk4 (127 files)
  /opt/thedarkmod/tdm_textures_nature01.pk4 (281 files)
  /opt/thedarkmod/tdm_textures_metal01.pk4 (496 files)
  /opt/thedarkmod/tdm_textures_glass01.pk4 (51 files)
  /opt/thedarkmod/tdm_textures_fabric01.pk4 (43 files)
  /opt/thedarkmod/tdm_textures_door01.pk4 (177 files)
  /opt/thedarkmod/tdm_textures_decals01.pk4 (461 files)
  /opt/thedarkmod/tdm_textures_carpet01.pk4 (92 files)
  /opt/thedarkmod/tdm_textures_base01.pk4 (395 files)
  /opt/thedarkmod/tdm_standalone.pk4 (4 files)
  /opt/thedarkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /opt/thedarkmod/tdm_sound_vocals07.pk4 (1111 files)
  /opt/thedarkmod/tdm_sound_vocals06.pk4 (696 files)
  /opt/thedarkmod/tdm_sound_vocals05.pk4 (128 files)
  /opt/thedarkmod/tdm_sound_vocals04.pk4 (2870 files)
  /opt/thedarkmod/tdm_sound_vocals03.pk4 (743 files)
  /opt/thedarkmod/tdm_sound_vocals02.pk4 (1299 files)
  /opt/thedarkmod/tdm_sound_vocals01.pk4 (82 files)
  /opt/thedarkmod/tdm_sound_sfx02.pk4 (605 files)
  /opt/thedarkmod/tdm_sound_sfx01.pk4 (948 files)
  /opt/thedarkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /opt/thedarkmod/tdm_sound_ambient03.pk4 (24 files)
  /opt/thedarkmod/tdm_sound_ambient02.pk4 (163 files)
  /opt/thedarkmod/tdm_sound_ambient01.pk4 (220 files)
  /opt/thedarkmod/tdm_prefabs01.pk4 (960 files)
  /opt/thedarkmod/tdm_player01.pk4 (125 files)
  /opt/thedarkmod/tdm_models_decls01.pk4 (103 files)
  /opt/thedarkmod/tdm_models02.pk4 (2020 files)
  /opt/thedarkmod/tdm_models01.pk4 (3043 files)
  /opt/thedarkmod/tdm_gui_credits01.pk4 (49 files)
  /opt/thedarkmod/tdm_gui01.pk4 (715 files)
  /opt/thedarkmod/tdm_fonts01.pk4 (696 files)
  /opt/thedarkmod/tdm_env01.pk4 (152 files)
  /opt/thedarkmod/tdm_defs01.pk4 (179 files)
  /opt/thedarkmod/tdm_base01.pk4 (197 files)
  /opt/thedarkmod/tdm_ai_steambots01.pk4 (24 files)
  /opt/thedarkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /opt/thedarkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /opt/thedarkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /opt/thedarkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /opt/thedarkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /opt/thedarkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /opt/thedarkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /opt/thedarkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /opt/thedarkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /opt/thedarkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /opt/thedarkmod/tdm_ai_base01.pk4 (8 files)
  /opt/thedarkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
[New Thread 0x7ffff7759700 (LWP 404303)]
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1895.71 MHz

Thread 1 "thedarkmod.x64" received signal SIGSEGV, Segmentation fault.
0x00000000005f8c19 in ?? ()
(gdb) generate-core-dump
Undefined command: "generate-core-dump".  Try "help".
(gdb) help
List of classes of commands:

aliases -- Aliases of other commands.
breakpoints -- Making program stop at certain points.
data -- Examining data.
files -- Specifying and examining files.
internals -- Maintenance commands.
obscure -- Obscure features.
running -- Running the program.
stack -- Examining the stack.
status -- Status inquiries.
support -- Support facilities.
tracepoints -- Tracing of program execution without stopping the program.
user-defined -- User-defined commands.

Type "help" followed by a class name for a list of commands in that class.
Type "help all" for the list of all commands.
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Type "apropos -v word" for full documentation of commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) Quit
(gdb) 

 

Link to comment
Share on other sites

8 hours ago, PranQster said:

If installed under '/opt', shouldn't it be in '/opt/darkmod' instead of '/opt/thedarkmod'?

Perhaps, as root or using sudo, it might be an easy test to:


cd /opt
ln -s thedarkmod darkmod

If that does the trick then doing 'mv /opt/thedarkmod /opt/darkmod' should be able to be done safely after first removing the symlinked directory with 'rm darkmod'.

Though not sure that would cause a segfault

i tried this but it gives the same output as before minus the 2 lines that read

no 'darkmod' directory in exe path /opt/thedarkmod, skipping
WARNING: using hardcoded default base path
  • Like 1
Link to comment
Share on other sites

7 hours ago, freyk said:

TDM can run on every location, as long the user has the permissions to execute and write.

An other Arch user changed his timezone to solve the same symptoms, apoorv569.
There is are  AUR's for this game, but which do you installed?
And is it possible in arch to download and run the original tdm updater and its binaries, instead of an aur?

To give you some other pointers/tips:
see https://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Linux

and if you have any questions please post them in the techsupport forum. 

i dont think timezone is the issue, and there is only one package in the AUR that i found thedarkmod-bin and its what i installed.

Link to comment
Share on other sites

6 minutes ago, apoorv569 said:

i dont think timezone is the issue, and there is only one package in the AUR that i found thedarkmod-bin and its what i installed.

Hmm... that was a stupid bug in 2.07.

If your timezone does not have DST, then it may be the cause.
You can try to set system timezone to Tehran and try to run TDM. Alternatively, try this binary instead.

  • Like 2
Link to comment
Share on other sites

12 minutes ago, stgatilov said:

Hmm... that was a stupid bug in 2.07.

If your timezone does not have DST, then it may be the cause.
You can try to set system timezone to Tehran and try to run TDM. Alternatively, try this binary instead.

lol i tried this it opened fine now. wtf this has to do with timezone i dont think im gonna change my timezone to DST everytime i wanna play this game.

  • Like 1
Link to comment
Share on other sites

Just use the binary that stgatilov shared.

I tested the AUR in Manjaro KDE.
The instalation, updater & tdm binary works fine on that distro.
 

Do we have to contact Diabonas, the maintainer of darkmod-bin, about this error? @stgatilov
(contact info is in the aur)
-edit-
No, because the AUR just downloads the TDM binaries & data from official TDM mirrors. (see installscript of the aur)
So that has to be fixed on our side, but you already know/did that.

Edited by freyk

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

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.

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

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...