Editing DPSUBS
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: | ||
− | + | .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 | + | 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: | 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 should be encoded with UTF-8 with no BOM (Byte-Order-Mark). | |
[[Category:File formats]] | [[Category:File formats]] | ||
− |