Editing DPSUBS

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Text file used to add subtitles to Darkplaces Cinematics player.
+
.DPSUBS is a plain text files 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.
  
Each line of dpsubs contains three tokens separated by space or tab.
+
Each line of dpsubs containsthree tokens separated by space or tab.
  
# subtitle start time
+
* 1: subtitle start time
# subtitle length (can be negative, in this case subtitle will be shown until next subtitle starts).
+
* 2: subtitle length (can be negative, in this case subtitle will be shown until next subtitle starts).
# subtitle text
+
* 3: subtitle text
  
 
Example of file:
 
Example of 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).
+
.DPSUBS should be encoded with UTF-8 with no BOM (Byte-Order-Mark).
  
 
[[Category:File formats]]
 
[[Category:File formats]]
[[Category:Darkplaces engine]]
 

Please note that all contributions to Blood Wiki are considered to be released under the Creative Commons Attribution Share Alike (see BloodWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox