DPSUBS
From Blood Wiki
(Difference between revisions)
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | Text file used to add subtitles to Darkplaces Cinematics player. | |
While subtitles renderer properties is set by [[cvar | cvars]], subtitle texts are stored in .dpsubs file. | While subtitles renderer properties is set by [[cvar | cvars]], subtitle texts are stored in .dpsubs file. | ||
Line 15: | Line 15: | ||
076.5 6.0 "Call your dogs! They can feast on your corpses!" | 076.5 6.0 "Call your dogs! They can feast on your corpses!" | ||
− | + | Dpsubs files should be encoded with UTF-8 with no BOM (Byte-Order-Mark). | |
[[Category:File formats]] | [[Category:File formats]] | ||
+ | [[Category:Darkplaces engine]] |
Latest revision as of 14:01, 20 July 2012
Text file used to add subtitles to Darkplaces Cinematics player.
While subtitles renderer properties is set by cvars, subtitle texts are stored in .dpsubs file.
Each line of dpsubs contains three tokens separated by space or tab.
- subtitle start time
- subtitle length (can be negative, in this case subtitle will be shown until next subtitle starts).
- subtitle text
Example of file:
035.5 3.0 "Malek!" 045.0 3.0 "Malek!" 071.0 3.0 "Malek!" 076.5 6.0 "Call your dogs! They can feast on your corpses!"
Dpsubs files should be encoded with UTF-8 with no BOM (Byte-Order-Mark).