Jump to content
The Dark Mod Forums

English Subtitles for AI Barks


Recommended Posts

About Errors Running Recently-Created testSubtitles... FMs under TDM 2.12 Beta 3

Console gui parsing errors now occur in the FM's custom version of tdm_subtitles_message.gui, because Beta 3 no longer defines SUBTITLES_TEXT_BORDERCOLOR.

To correct this, in the testSubtitles.../guis/tdm_subtitles_message.gui, comment out the 2 lines that say:


Or replace with the so-fixed and updated version of this file from testSubtitlesCynic, to be released shortly.

Early testSubtitles... FMs created during the first half of 2023 may need additional surgery to run without error.

Link to comment
Share on other sites

The subtitles of The Cynic (aka Bernie) vocal set, are now available for eventual incorporation into TDM:


This male character is often snide or crabby. In addition to general barks, there are phrases for a guard of the city watch, and for a trader.

Note for Integrators

This release incorporates and supercedes the TDM 2.10 subtitle demo, provided by @Dragofer, with its version of tdm_ai_cynic.subs. Likewise, it obviates the need for the distribution's  fm_test_subtitles_ai_cynic_dragofers_dozen.shdshd


In file fm_root.subs there are 301 inlines, including:

  • 40 with an explicit linebreak, intending 2 lines
  • 261 without

 23 of these have explicit duration extensions, as follows:

  •  16 from 0.25 to 0.49, for 17 cps
  •  7 capped at 0.50 seconds, for 17-20 cps
  •  none with more than 0.50 seconds, for 20 cps

There are 12 SRTs, including:

  • 10 with 2 messages
  • 1 with 3 messages
  • 1 with 4 messages

Of the 27 total SRT messages, there are:

  • 17 with an explicit linebreak, intending 2 lines
  • 10 without

In all, there are 313 voice clips with subtitles, showing 328 messages.

Corresponding Excel File


This is based on Version 6 of the Excel Template for TDM bark subtitles. The "Script Subtitle" column contains Dragofer's original subtitles.

About the GUI

Like The Drunk, subtitle backing fields for The Cynic uses the "tabbed widget" design, with reduced main field heights, one of several design alternatives that were being discussed. For the sound source widget itself, it uses snatcher's white sector oval provided by beta3.

  • Like 1
Link to comment
Share on other sites

Here is the final release of The Wench, with Dragofer's Dec 9, 2023 sound file revisions (see bugtracker 6284), as included in TDM 2.12 beta3:


The revisions correct a few mismatches between what was said and what the intended purpose was. The statistics are little changed. The testSubtitlesWenchFinal FM will run under beta 3, with the same GUI as testSubtitlesCynic.

Details of Revisions

There were no changes to the collection of .srt files. The changes affect only the .subs file (and what's in testSubtitlesWenchFinal's FM-specific sound shader).

It is too much effort and time to revise the Excel spreadsheet, of early "v1" barks template form. Instead, if the reader wishes to do so, start with the WenchOriginalSubtitles.xlsx (available via the original Wench post), and apply the changes below. The total number of rows is unchanged.


Here, assume all .ogg names start with "tdm_ai_wench_", not shown.
  deleted (actually moved) contents: find_corpse01.ogg, 02.ogg, 03.ogg
  evidently name is renumbered:
     find_corpse10.ogg to find_corpse01.ogg  "Murder!" fm_test_subtitles_shader151
     find_corpse09.ogg to find_corpse02.ogg "Ah! Someone's been killed!\nRaise the alarm...!" fm_test_subtitles_shader152
     find_corpse08.ogg to find_corpse03.ogg "Awh! Someone's been killed!\nRaise the alarm!" fm_test_subtitles_shader153
  presumed unchanged: find_corpse04-07.ogg
new: find_corpse_female03.ogg "She's dead. Murder!" fm_test_subtitles_shader162
  was: tdm_ai_wench_find_corpse01.ogg
new: find_corpse_male03.ogg "(distraught) He's dead!" fm_test_subtitles_shader165
  was: tdm_ai_wench_find_corpse02.ogg [or maybe 03]
find_corpse_male04.ogg "He's dead!" fm_test_subtitles_shader166
  was: tdm_ai_wench_find_corpse03.ogg [or maybe 02]
new: notice_pocket_picked04.ogg "Where could it be?" fm_test_subtitles_shader311
  was: tdm_ai_wench_searching_no_evidence23.ogg
pain_small02.ogg "Ouch!" fm_test_subtitles_shader322
  new content, probably start of old clip that began with Ah!. Clip duration now 0.643 sec
pain_small03.ogg "Oww!" fm_test_subtitles_shader323
  new content, probably start of old clip that began with Awh! Clip duration now 0.790 sec


  • Like 2
Link to comment
Share on other sites

15 minutes ago, datiswous said:

We have entered beta already. Beta 3, which was a week ago.

Oh wow, how did I miss that? I still need to finish my ongoing FM and the save would likely be rendered incompatible, so I'll check the beta and this feature out once I find the next FM to get to :)

Link to comment
Share on other sites

  • 2 weeks later...

Gotta say: As much as I thought I knew what all of the voices said, with subtitles I'm finding a corrections to what I had believed over the years: Part of me actually feels like the illusion was broken even if they make more sense now. Some examples just for the fun:

  • "Shipment was late, who does he think he's fooling": Due to the accent I always thought the merchant said light instead of late... that actually made me wonder if back in the day they had a policy to charge more if the ship was too empty and not carrying enough goods for a trip to be worth it.
  • I always thought the cynic said "god keeps the leftovers, that's why I never get any"... it's actually the cook.
  • "Deadly boring, I could use a big of fun": Always heard the thug say a bit of fighting, real version is less exciting lol.
  • Used to think the thug says "gonna get me a good ole' after this", which I interpreted as getting something to drink especially as it sounded like ale with an accent... nah he actually says whore :D
  • Like 2
Link to comment
Share on other sites

11 hours ago, MirceaKitsune said:

As much as I thought I knew what all of the voices said, with subtitles I'm finding a corrections to what I had believed over the years

Yeah, I had the benefit of a vocal script for most utterances, to decipher what they were saying. In a few cases, I had to listen over and over, and then make a best guess. Their chatter usually makes sense, but not 100.000%

Link to comment
Share on other sites

  • 2 weeks later...
On 1/27/2023 at 12:09 AM, Geep said:

buildSubtitleShader.exe - Latest release of April 10, 2023. This program fabricates a TDM sound shader file specifically for the testSubtitles... series of FMs used here. It does so by wrapping each sound file name in a directory into a sound shader with uniform incremental naming. While limited to a single directory, the latest release simplifies merging runs from multiple directories.

I was wondering if it's possible to make a program that generates a subs file from a folder with a bunch of srt files. I know this is too much to ask for, but I just mention the idea..

The lines are usely:

srt "sound/sub-path-to-sound-folder/sound-file-name.ogg" "subtitles/sound-file-name.srt"


Edit: I think I already figured it out using Python code.

Just putting it here quickly so I can reproduce it later.

import os, sys

path = "C:/Progs/tdm/fms/mandrasola/sound/sfx/mandrasola/"

path_sounds = "sound/sfx/mandrasola/"

path_subs = "subtitles/"

listfiles = os.listdir(path)

for x in listfiles:
    print("srt " + '"' + path_sounds + x + '"' + ' "' + path_subs + x.removesuffix('.ogg') + ".srt" + '"')



srt "sound/sfx/mandrasola/mandrasola_guard1.ogg" "subtitles/mandrasola_guard1.srt"
srt "sound/sfx/mandrasola/mandrasola_guard2.ogg" "subtitles/mandrasola_guard2.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell1.ogg" "subtitles/mandrasola_lovell1.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell2.ogg" "subtitles/mandrasola_lovell2.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell3.ogg" "subtitles/mandrasola_lovell3.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell4.ogg" "subtitles/mandrasola_lovell4.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell5.ogg" "subtitles/mandrasola_lovell5.srt"
srt "sound/sfx/mandrasola/mandrasola_lovell6.ogg" "subtitles/mandrasola_lovell6.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla1.ogg" "subtitles/mandrasola_ludmilla1.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla2.ogg" "subtitles/mandrasola_ludmilla2.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla3.ogg" "subtitles/mandrasola_ludmilla3.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla4.ogg" "subtitles/mandrasola_ludmilla4.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla5.ogg" "subtitles/mandrasola_ludmilla5.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla6.ogg" "subtitles/mandrasola_ludmilla6.srt"
srt "sound/sfx/mandrasola/mandrasola_ludmilla_iwarnyou.ogg" "subtitles/mandrasola_ludmilla_iwarnyou.srt"


Man this would have saved me so much time yesterday..

Edited by datiswous
  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

🥳  I have just released a new utility, "refont", as an open-source, partial-successor of the traditional "q3font". For the whole story, see the new wiki page Refont.

(I'm gonna post this in a few forum threads. Don't hate me for that.)

  • Like 2
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.

  • Recent Status Updates

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
      · 2 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
  • Create New...