DPSUBS

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with ".DPSUBS is a plain text files used to add subtitles to Darkplaces Cinematics player. While subtitles draw properties re set by cvars Category:File formats")
 
Line 1: Line 1:
 
.DPSUBS is a plain text files used to add subtitles to Darkplaces Cinematics player.
 
.DPSUBS is a plain text files used to add subtitles to Darkplaces Cinematics player.
  
While subtitles draw properties re set by [[cvar | cvars]]
+
While subtitles renderer properties is set by [[cvar | cvars]], subtitle texts are stored in .dpsubs file.
 +
 
 +
Each line of dpsubs containsthree tokens separated by space or tab.
 +
 
 +
* 1: subtitle start time
 +
* 2: subtitle length (can be negative, in this case subtitle will be shown until next subtitle starts).
 +
* 3: 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 should be encoded with UTF-8 with no BOM (Byte-Order-Mark).
  
 
[[Category:File formats]]
 
[[Category:File formats]]

Revision as of 21:56, 2 July 2012

.DPSUBS is a plain text files 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 containsthree tokens separated by space or tab.

  • 1: subtitle start time
  • 2: subtitle length (can be negative, in this case subtitle will be shown until next subtitle starts).
  • 3: 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 should be encoded with UTF-8 with no BOM (Byte-Order-Mark).

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox