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

Recommended Posts

  • 2 weeks later...
  • Replies 144
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Dreeeaam the impossible dreeeaaaam!

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted

dev16481-9881 is available.

There are two reasons for this dev build:

  1. major update of compiler and third parties
  2. releasing all the changes which happened during 2.10 beta but did not get into release

 

  • Like 4
Posted (edited)
On 3/7/2022 at 1:01 PM, stgatilov said:

Don't open game console by tilde if com_allowConsole is 1 on Linux

Is there a way to keep com_allowConsole 1 on restart? Currently on every restart, I have to open the console to set it to 1.

Btw. the description is wrong. It should be: Don't open game console by tilde if com_allowConsole is 0 on Linux . Default it is set on 0 on Linux

On 3/18/2022 at 9:47 AM, stgatilov said:

set ID_CONSOLE_LOCK to 1 in the source and compiled a release build.

That fixed it for me. When com_allowConsole is set to 0, tilde works as expected -- tilde puts away weapon and Ctrl+Alt+~ toggles the console. Also, when com_allowConsole is set to 1, tilde toggles the console as expected.

Edited by datiswous
Posted
11 hours ago, datiswous said:

Is there a way to keep com_allowConsole 1 on restart? Currently on every restart, I have to open the console to set it to 1.

You need to pass +set com_allowConsole 1 as command line parameter.
You can create shortcut of batch/shell file for that.

1 hour ago, wesp5 said:

Which were?

Changelog is at the top of this thread, as usual.

  • Like 1
  • Thanks 1
  • 2 weeks later...
Posted

hey stgatilov, I'm trying to compile TDM source, but it seems the source compilation guide here  is out of date, it still recommends VS2017 when the source now requires VS 2022 and after installing the latest VS, I get a bunch of unresolved external symbol errors for OpenAL mostly, I assume I need to update OpenAL soft?  I'm still a little green about this type of errors, when they happen, they are the ones that stump me the most. :P   

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(helpers.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(alfstream.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(ambdec.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(chorus.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(fshifter.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(modulator.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(vmorpher.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(threads.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(alconfig.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(cpu_caps.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(convolution.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(winmm.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(wave.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(hrtf.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(panning.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(event.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(null.cpp.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(wasapi.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(dsound.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(alc.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(logging.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(voice.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(auxeffectslot.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\pugixml.lib(pugixml.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(buffer.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(source.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck_EH4	DarkModTools	L:\darkmod_src\OpenAL32.lib(state.obj)	1	
Error	LNK2019	unresolved external symbol __imp___std_init_once_begin_initialize referenced in function alcOpenDevice	DarkModTools	L:\darkmod_src\OpenAL32.lib(alc.obj)	1	
Error	LNK2019	unresolved external symbol __imp___std_init_once_complete referenced in function alcOpenDevice	DarkModTools	L:\darkmod_src\OpenAL32.lib(alc.obj)	1	
Error	LNK2001	unresolved external symbol __std_reverse_copy_trivially_copyable_1	DarkModTools	L:\darkmod_src\OpenAL32.lib(hrtf.obj)	1	
Error	LNK2019	unresolved external symbol __std_reverse_copy_trivially_copyable_8 referenced in function "class std::unique_ptr<struct HrtfStore,struct std::default_delete<struct HrtfStore> > __cdecl `anonymous namespace'::LoadHrtf02(class std::basic_istream<char,struct std::char_traits<char> > &,char const *)" (?LoadHrtf02@?A0xe8b25d95@@YA?AV?$unique_ptr@UHrtfStore@@U?$default_delete@UHrtfStore@@@std@@@std@@AEAV?$basic_istream@DU?$char_traits@D@std@@@3@PEBD@Z)	DarkModTools	L:\darkmod_src\OpenAL32.lib(hrtf.obj)	1	
Error	LNK2019	unresolved external symbol __std_reverse_copy_trivially_copyable_4 referenced in function "void __cdecl MixDirectHrtfBase<&void __cdecl `anonymous namespace'::ApplyCoeffs(class std::array<float,2> * __restrict,unsigned __int64,class std::array<class std::array<float,2>,128> const &,float,float)>(class std::array<float,1024> &,class std::array<float,1024> &,class al::span<class std::array<float,1024> const ,-1>,class std::array<float,2> * __restrict,float *,struct HrtfChannelState *,unsigned __int64,unsigned __int64)" (??$MixDirectHrtfBase@$1?ApplyCoeffs@?A0xd07b7227@@YAXPEIAV?$array@M$01@std@@_KAEBV?$array@V?$array@M$01@std@@$0IA@@4@MM@Z@@YAXAEAV?$array@M$0EAA@@std@@0V?$span@$$CBV?$array@M$0EAA@@std@@$0?0@al@@PEIAV?$array@M$01@1@PEAMPEAUHrtfChannelState@@_K5@Z)	DarkModTools	L:\darkmod_src\OpenAL32.lib(mixer_c.obj)	1	
Error	LNK2001	unresolved external symbol __std_reverse_copy_trivially_copyable_4	DarkModTools	L:\darkmod_src\OpenAL32.lib(mixer_sse.obj)	1	
Error	LNK1120	6 unresolved externals	DarkModTools	L:\darkmod\TheDarkModx64.exe	1	

 

Posted
22 hours ago, HMart said:

hey stgatilov, I'm trying to compile TDM source, but it seems the source compilation guide here  is out of date, it still recommends VS2017 when the source now requires VS 2022

Fixed that.

Quote

and after installing the latest VS, I get a bunch of unresolved external symbol errors for OpenAL mostly, I assume I need to update OpenAL soft?  I'm still a little green about this type of errors, when they happen, they are the ones that stump me the most. :P  

Emm... it means that static libs for OpenAL and pugixml use some symbols which your VC/CRT installation does not provide, or something like that. I'd say that's not something for non-professional C++ programmer to debug 😁

This might happen because of wrong VS version.

  1. If you have some VC projects/solutions open, close all of them.
  2. Use SVN client to ensure that TDM source repository is perfectly clean, i.e. there are no local changes in any files (especially in .sln and .vcxproj files)
  3. Make sure to open the solution in 2022 version of Visual Studio (especially if you have not deleted version 2017 yet).
  4. Try to rebuild whole solution.
  • Like 3
Posted (edited)

Thanks for the pointers stgatilov, btw not sure if correct but in the mean time I did solved the OpenAL errors by updating in the "ThirdParty\artefacts\" the OpenAL library and include files, to the latest OpenAL soft version, after that I got only a single unresolved external symbol error with pugixml. But I will start over with a clean install, so the solution is the one that comes by default and not something I hacked around, cheers.

 

Update: 

Cleaned the solution like you said, rebuild with VS2022 worked. :) 

I most have broken it when I tried to compile with VS 2017 and when it failed, tried to retarget it (like suggested by VS...).

And yes I still have 2017 installed, hell I still have VS 2010 that I used to try compile HPL engine from Frictional Games, VS 2015 that I use to edit Dewm3 engine, VS 2017, VS 2019 and now VS 2022 all in the same computer, based on how bad Microsoft has become, I don't know how they all can coexist so well and everything works. :D

 

Edited by HMart
Posted (edited)

Holly sh I saw something strange right now, when I started the game with my own compiled exe. 

When using the original TDM exactable, all sliders in the menu miss the small red gismo, that you use to see where the slide value is at, when using my compiled exe the gismos are there!? What could be causing that? 

TDM original

A.gif.e11ad28f22b1cdf9152bafe32dc8bcf3.gif

My compiled exe

b.gif.265a0c9d43b04f12bb28bf65851cf1db.gif

Edited by HMart
Posted
7 minutes ago, HMart said:

Holly sh I saw something strange right now, when I started the game with my own compiled exe. 

When using the original TDM exactable, all sliders in the menu miss the small red gismo, that you use to see where the slide value is at, when using my compiled exe the gismos are there!? What could be causing that? 

Off the top of my head the versions of compiled and original are different

Posted
On 4/17/2022 at 9:05 PM, waxhead said:

Please consider adding the ability to navigate the main menu with keyboard.

I doubt D3 Gui system supports that, so that would be too much of effort for such a minor improvement.

Posted

I'm now getting errors looking like this when I try to save a game:

WARNING:LibJPEG: JPEG parameter struct mismatch: library thinks size is 584, caller expects 568
Segmentation fault (core dumped)

The save game itself gets written and loads without issue, but it has no preview thumbnail.

I'm on Linux Mint 20.2, but the issue does not occur on my Windoze machine.

I did not have this problem in dev16481-9881.

My libjpeg-dev version is the latest available, 8c-2ubuntu8.

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted (edited)
On 4/17/2022 at 5:01 PM, AluminumHaste said:

Since we're asking for ridiculous things; please consider writing a vulkan renderer.

Well, zink is ready to use nowdays :D

From Mesa 22.1 on Windows too.

Edited by lowenz

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

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