Version chunk (of a DLS file)

The version chunk defines the version of the collection of sounds. This version is used when installing DLS files and replacing old DLS file versions with a new one. A version chunk is not required in a DLS file.

The version chunk in the DLS file format has the following structure.

Byte sequence description Length in bytes Starts at byte in the chunk Value
chunk ID 4 0x00 The ASCII character string "vers"
size 4 0x04 The size of the chunk in number of bytes (unsigned integer) less 8 (less the size of "chunk ID" and the "size"). The size of this chunk is always 8
high order 32 bits of the version 4 0x08 The top 32 bits of the version
low order 32 bits of the version 4 0x0C The bottom 32 bits of the version

The format of the version follows the format of versions in Windows executables and dynamic link libraries. For example, in the version "1.0.1.10", the first two numbers will form the hexadecimal value 0x00010000 for the top 32 bits and the last two numbers form the hexadecimal value 0x0001000a for the bottom 32 bits.

See also:
Downloadable Sounds (DLS) format

Add new comment

Filtered HTML

  • Freelinking helps you easily create HTML links. Links take the form of [[indicator:target|Title]]. By default (no indicator): Click to view a local node.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.