Source SDK subtitle .dat files

How to translate the files of a game
exygen12
Posts: 17
Joined: Fri Nov 17, 2017 4:54 pm

Source SDK subtitle .dat files

Post by exygen12 »

Hi, I have a subtitle file named "subtitles_english.dat". The engine is Source SDK by Valve. I searched on internet a bit. It says, this file is a compiled version of closecaption_english.txt file. Is there any way to decompile this file? Thanks.
Last edited by exygen12 on Sat Jan 27, 2018 12:52 am, edited 2 times in total.
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Source SDK subtitle .dat files

Post by Graveyard »

Which game? Console or PC version?
exygen12
Posts: 17
Joined: Fri Nov 17, 2017 4:54 pm

Re: Source SDK subtitle .dat files

Post by exygen12 »

EDIT: Anyway solved :)
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Source SDK subtitle .dat files

Post by ducan012456 »

@exygen12 how do you decompile and compile it ? I want to translate this game.
p/s: sorry for my bad english.
atom0s
Posts: 250
Joined: Sat Dec 27, 2014 8:49 pm

Re: Source SDK subtitle .dat files

Post by atom0s »

You can find the source to their compiler for those files here:
https://github.com/ValveSoftware/source ... mpiler.cpp
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Source SDK subtitle .dat files

Post by Shokoniraya »

upload a sample file
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Source SDK subtitle .dat files

Post by ducan012456 »

This file. Game: titanfall 2
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Source SDK subtitle .dat files

Post by swuforce »

You can try my script.
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Source SDK subtitle .dat files

Post by ducan012456 »

Thank you swuforce ! It work like a charm!

But I don't know what's wrong with my language. After decompile .vfont, the font has all the character I need but it not work in game :((
shindegeist
Posts: 21
Joined: Thu Dec 30, 2021 8:49 am

Re: Source SDK subtitle .dat files

Post by shindegeist »

How to decompile and compile Vfont for titan fall 2 guys?