Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Getting a bunch of warnings on map start, I think related to subtitles?  It happens when I put the AI entity 'atdm:ai_townsfolk_female' in my map.

 

WARNING:Couldn't load SRT file                                                 
'subtitles/lady02//tdm_ai_lady_alertdown_to_idle_heard08.srt' for sound        
'sound/voices/lady02/tdm_ai_lady_alertdown_to_idle_heard08.ogg' according to   
decl 'tdm_ai_lady02'                                                           
WARNING:Couldn't load SRT file                                                 
'subtitles/lady02//tdm_ai_lady_alertdown_to_idle_seen_evidence04.srt' for sound
 'sound/voices/lady02/tdm_ai_lady_alertdown_to_idle_seen_evidence04.ogg'       
according to decl 'tdm_ai_lady02'                                              
WARNING:Couldn't load SRT file 'subtitles/lady02//tdm_ai_lady_idle09.srt' for  
sound 'sound/voices/lady02/tdm_ai_lady_idle09.ogg' according to decl           
'tdm_ai_lady02'                                                                
WARNING:Couldn't load SRT file 'subtitles/lady02//tdm_ai_lady_idle11.srt' for  
sound 'sound/voices/lady02/tdm_ai_lady_idle11.ogg' according to decl           
'tdm_ai_lady02'  

 

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Posted (edited)
On 1/28/2024 at 6:37 PM, nbohr1more said:

( Would be cool if we had an automated tester / screenshot comparison tool like Dolphin Emulator uses to automatically test if engine updates affect visuals in multiple games. )

How about using TDM  automation framework (and maybe pcem/qemu)?

More info see:

https://forums.thedarkmod.com/index.php?/topic/19828-automation-features-and-discussion/

Edited by freyk
  • Like 1

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

Posted
2 hours ago, stgatilov said:

I committed a fix in svn rev 10636.

Let's hope it does not break something else in player movement.

Fix confirmed. No other issues seen thus far ( swimming works, climbing, no hanging in the air when jumping, etc).

  • Like 1

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 new subtitle audio locator widget is nifty but it only seems to update every nth frame, so it looks a little bit laggy. Can we make it per-frame or smoothen it out?

  • Like 1
Posted
1 hour ago, freyk said:

How about using TDM  automation framework (and maybe pcem/qemu)?

Yeah I guess you could make a script that loads missions, then teleports to different area's and makes screenshots (actually I made a similar script for envshot a while back), but then you have to review all those screenshots?

Maybe just a script that changes calc in something else and don't look back (maybe this is dumb)?

Posted
8 hours ago, datiswous said:

Yeah I guess you could make a script that loads missions, then teleports to different area's and makes screenshots (actually I made a similar script for envshot a while back), but then you have to review all those screenshots?

Yeah, I wanted to implement some kind of testing framework on top of automation but did not.

Posted
11 hours ago, Frost_Salamander said:

Getting a bunch of warnings on map start, I think related to subtitles?  It happens when I put the AI entity 'atdm:ai_townsfolk_female' in my map.

I deleted double-slashes in svn rev 16957.
I think they were causing the issue.

I believe it only happens on Linux, Windows side somehow reduces the double-slash to single directory separator.

  • Like 1
Posted
12 hours ago, Daft Mugi said:

I found the setting that causes it. The glitch happens when anti-aliasing (r_multiSamples) is enabled.

EDIT: Bisecting shows that rev 10384 is the first commit to introduce this glitch.

Antialiasing mostly affects some backend logic, while the commit changed data structures in frontend. It is very hard to believe they are linked in any way.

Maybe the bug is not reliably reproducible?
Maybe antialiasing is an important condition when it happens, but otherwise it is timing-specific, so accelerating frontend made it pop up. Or maybe antialiasing is just one way to slow gown backend and using maximum soft shadow quality or r_fboResolution 2 would make it happen too.

Maybe the particular behavior is driver-dependent (e.g. NVIDIA masks the error away).
Which GPU do you have? Which drivers do you use?
Which CPU do you have BTW?

I cannot reproduce it myself, even on Linux VM.
Does it happen in the very specific viewpos and goes away if you move away slightly?
Maybe someone else can reproduce it?

Posted
3 hours ago, stgatilov said:

I cannot reproduce it myself, even on Linux VM.

Does it happen in the very specific viewpos and goes away if you move away slightly?
Maybe someone else can reproduce it?

Also unable to reproduce, Linux Mint 21.3 Virginia. Nvidia Geforce RTX 2060 latest non-free 535 drivers.

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
10 hours ago, stgatilov said:

I believe it only happens on Linux, Windows side somehow reduces the double-slash to single directory separator.

I was actually using Windows - so maybe not?

  • Haha 1

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Posted

I don't think this counts as a bug but maybe it's something to look at...

Nvidia GPU, Intel CPU

Linux: Scroll of Remembrance - Shadowmaps ( size 1440 ) 70+ FPS / Stencil 58+ FPS

Windows: Shadowmaps ( size 1440 ) 52+ FPS / Stencil 30+ FPS

I am guessing we can mostly attribute this to Windows CPU usage bloat. Can any other dual-booters confirm?

Edit:

I went back to check my Windows security "Exploit Protections" area for "TheDarkModx64.exe" to see if it still existed and still had most of the protections disabled and found some new protections were added. I disabled "Heap Protection" and:

Shadowmaps 58+ ( mostly 60+ ) / Stencil 38+ ( mostly 40+ )

( All the FPS are at the start of the mission facing the manor, eg worst case scenario ).

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

Windows or some other programs in background?

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.

Posted
On 2/1/2024 at 2:24 AM, stgatilov said:

Antialiasing mostly affects some backend logic, while the commit changed data structures in frontend. It is very hard to believe they are linked in any way.

Yeah, I don't know what to say. Rev 10383 works fine and 10384 does not.

On 2/1/2024 at 2:24 AM, stgatilov said:

Maybe the bug is not reliably reproducible?

It is always reproducible for me, meaning that every time I try to reproduce it, I can reproduce it.

On 2/1/2024 at 2:24 AM, stgatilov said:

Maybe antialiasing is an important condition when it happens, but otherwise it is timing-specific, so accelerating frontend made it pop up. Or maybe antialiasing is just one way to slow gown backend and using maximum soft shadow quality or r_fboResolution 2 would make it happen too.

After some more testing, I found that r_multiSamples set at 2 or 4 has the glitch most often at that viewpos. When set to 8 or 16, it is still possible but less likely.

Setting r_fboResolution 2 made no difference.

If com_maxFPS is set to something lower, such as 30, the glitched frames display for a longer period of time.

On 2/1/2024 at 2:24 AM, stgatilov said:

Maybe the particular behavior is driver-dependent (e.g. NVIDIA masks the error away).
Which GPU do you have? Which drivers do you use?
Which CPU do you have BTW?

Yeah, I also wonder if it driver dependent or GPU dependent. I discovered the glitch while using graphics drivers Mesa 22.0.5, so I updated my OS and graphics drivers to Mesa 23.3.2 today as a test, and the problem is still there. It's strange that rev 10384 exposed this problem.

My machine specs and settings:

  • Linux, Ubuntu 22.04
  • AMD Ryzen 9 5900X
  • AMD Radeon RX 6700 XT (Mesa 22.0.5 & Mesa 23.3.2 both exhibit the glitch)
  • com_fixedTic 1
  • com_maxFPS 60
  • Anti-Aliasing 2x (r_multiSamples 2)
On 2/1/2024 at 2:24 AM, stgatilov said:

Does it happen in the very specific viewpos and goes away if you move away slightly?

The video I shared shows the viewpos. Even at the same viewpos, the glitched frame will pop in and out. I've only seen this glitch happen in this single room in Accountant 1. If I move around the room at that viewpos, I can find other view positions that also expose the glitch.

Here's another viewpos for Anti-Aliasing 4x, 8x, and 16x. It requires moving the mouse slightly to get into the exact viewpos to expose the glitch. (1.7 -166.4 0.0) is not precise enough.

-1460.29 1425.48 172.25 1.7 -166.4 0.0

Glitched frame (Shows the curtain texture, covering most of the frame. Also, a hint of the red carpet texture?):

ac1(2024-02-0616-02-11)(-1460.291425.48172.25).thumb.jpg.ddc602adda48ac1463ab154f897da7bd.jpg

Good frame (Same viewpos and Anti-Aliasing settings, when the glitched frame disappeared for a moment.):

ac1(2024-02-0616-03-15)(-1460.291425.48172.25).thumb.jpg.ee290e36154ecb7701e0bc7bebdeaa7e.jpg

 

(Before and after rev 10384) I wonder if this might also be related to:

 

(Before and after rev 10384) Also, sometimes on the loading screen with Anti-Aliasing enabled, I get a glitched background, which does not show with Anti-Aliasing disabled. See left side of screenshot:

Screenshotfrom2024-02-0616-59-41.thumb.jpg.a9cce40b55d42f7be21fa30201206708.jpg

 

I don't know if the last two examples (distorted first frame on launch & loading screen distorted background) are related, but I thought I'd mention them just in case it helps track down the issue.

Posted

In case you're still tracking and fixing light leaks, I found the following in Poets and Peasants:

 

poets(2024-02-0713-03-03)(1768_476_9760.25).thumb.jpg.838c204218b12ba2ae2a9b7e5b3ef5e0.jpgpoets(2024-02-0713-00-49)(1770_7757_7161.4).thumb.jpg.dcb053badaa842831fb1cb329bc84cf6.jpg

 

The first picture is dev16814-10408. The second picture is dev16809-10394. Something must have changed between those two devs.

  • Like 1
  • Thanks 1

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

Regarding worldspawn "forceAllShadowsBehindOpaque" set to "1", it doesn't seem to get restored on game load.

To reproduce (works with any fixed mission using "forceAllShadowsBehindOpaque"):

  1. Add "forceAllShadowsBehindOpaque" "1" to the worldspawn in the map file.
  2. From main menu, "Start this Mission" or "Restart Mission".
  3. setviewpos
  4. Notice that the light leak is fixed (not present).
  5. Save game.
  6. Load game.
  7. Notice that the light leak is present (not fixed).

Example

1. From main menu, "Start this Mission" or "Restart Mission".
2. Run setviewpos.
3. Save game.

heart(2024-02-0622-32-04)(1736.483691.68-137.75).thumb.jpg.8d5741937a4d291be421b7590ab8465b.jpg

4. Load game.

heart(2024-02-0622-31-45)(1736.483691.68-137.75).thumb.jpg.e821d105119b55d3c6dea2e48f8d411f.jpg

  • Like 1
Posted
9 hours ago, Daft Mugi said:

Glitched frame (Shows the curtain texture, covering most of the frame. Also, a hint of the red carpet texture?):

 

I'm seeing the same thing in Dragons Claw, a big chunk of skybox right here:

 

claw1_31 (2024-02-07 18-41-29) (183.68 -1210.86 -418.81).jpg

  • Like 1

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

Playing Tears of St. Lucia, I noticed really bad framestutter in the church. It seems to happen around the builder guards. The game starts to micro freeze at a short interval (every second roughly). I don't know if this a beta or a mission issue.

Posted
10 hours ago, thebigh said:

I'm seeing the same thing in Dragons Claw, a big chunk of skybox right here:

I can reproduce this one.
Enable noclip and execute: "setviewpos 207 -1212 -408".
Tiny movement by Y and you get proper view, but here exactly at visportal it gets closed.

@Daft Mugi, does it look like the issue you have?
I bet it does not.

Posted

I looked closer at the problem in Dragon's Claw, and this is caused by some kind of precision issue in dmap.

The .proc file contains imprecise BSP plane:

/* node 18377 */ ( 0.0399680398 1 0 1202.8780517578 ) -38 18378

And also there is a visportal stored there:

/* iap 62 */ 4 37 50 ( -96 -1200 -488 ) ( 304 -1216 -488 ) ( 304 -1216 300 ) ( -96 -1200 300 )

The game loads the visportal polygon and computes portal plane from it, which is:

plane	(a=-0.0399680398, b=-0.999200940, c=0.00000000, d=-1202.87805)

As you see, the plane normals are different by 0.2%.
The visportal plane computed from polygon is almost perfectly unit, but the BSP plane is not unit (length slightly greater than unit). This makes the game think it is on the left of visportal in one place, but on the right of visportal in another place.


I tried to re-dmap but the data is the same.
I'll try to see what is going on.
Indeed, making the portal axis-aligned would have most likely fixed the issue.

Posted

Ok, here is the source of the goddamn precision issue:

static void WriteFloat( idFile *f, float v )
{
	if ( idMath::Fabs(v - idMath::Round(v)) < 0.001 ) {
		f->WriteFloatString( "%i ", (int)idMath::Round(v) );
	}
	else {
		f->WriteFloatString( "%f ", v );
	}
}

I guess I'll never stop finding more weird tolerance stuff in this codebase 😭

Anyway, I'll fix this after 2.12: never know the consequences.

UPDATE: Here is issue in bugtracker 6480

  • Like 2
Posted

I cannot load saves/quicksave in one of my project maps anymore. When starting quickload/load the mission loads a tiny bit, but crashes to desktop then.

Can't say whether this was already a problem with the previous beta versions.

Checked all other WIPs and it works fine there.

qconsole.log Darkmod.cfg

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

    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • 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!
      · 5 replies
×
×
  • Create New...