Jump to content
The Dark Mod Forums

datiswous

Member
  • Posts

    2421
  • Joined

  • Last visited

  • Days Won

    32

datiswous last won the day on April 10

datiswous had the most liked content!

Reputation

860 Legendary

3 Followers

About datiswous

  • Birthday 07/18/1981

Profile Information

  • Location
    Amsterdam

Recent Profile Visitors

20804 profile views

Single Status Update

See all updates by datiswous

  1. I just figured out how to make subtitles work in TDM (srt) for ingame cutscenes and how to automatically generate the srt file in Kdenlive's speech recognition (I just had to edit it a bit).

    Kdenlive is a free and open source multiplatform pretty advanced video editor.

    Test case is the first builder gost scene in Requiem saying:

    1
    00:00:00,180 --> 00:00:02,140
    the builder be with you this night
    
    2
    00:00:02,600 --> 00:00:04,840
    there will be secrets all around you
    
    3
    00:00:05,040 --> 00:00:06,439
    so have a keen eye

    The following page gives you the basic info:

    https://wiki.thedarkmod.com/index.php?title=Subtitles

    These 2 tutorials give you the info for creating the srt files:

    If you run into the problem the Kdenlive cannot find your Python PATH, then here is a solution:

    https://www.mail-archive.com/kde-bugs-dist@kde.org/msg672183.html

    Edit: During the installation of Python, in the installer, if you select more options, you can specify to set the PATH. I tried this on another Windows computer and this fixed the issue. Much easier solution.

     

    This is all the code for the testcase:

    Spoiler

    fm_root.subs file in subtitles folder in fm's root:

    // Requiem subtitles
    
    subtitles fm_root {
        verbosity story
        srt "sound/voices/Hanno1.ogg" "subtitles/hanno1.srt"
    }

    hanno.srt file in same folder:

    1
    00:00:00,180 --> 00:00:02,140
    the builder be with you this night
    
    2
    00:00:02,600 --> 00:00:04,840
    there will be secrets all around you
    
    3
    00:00:05,040 --> 00:00:06,439
    so have a keen eye

     

     

    Maybe I will create a seperate (text,images based) tutorial on the wiki.

    1. Show previous comments  2 more
    2. Geep

      Geep

      Do make this into a separate forum thread or better yet a wiki post.

    3. datiswous

      datiswous

      Yeah I will do that. I think I will put the info in a thread in TDM Editors guild first and when I have more experience I make a wiki article.

      I guess at some point every speech could have subtitles, including all core ai speech. @nbohr1moreis it already possible to integrate subtitles for all the tdm_sound_vocals ? Or is this still only fm based?

    4. nbohr1more

      nbohr1more

      Right, that is the "on" mode where we will eventually have sub-titles for all AI barks (etc). We default to Story mode which is only for cut-scenes and story elements.

    5. Show next comments  3 more
×
×
  • Create New...