The VSD file is a ZIP archive with the filename extension (optionally) changed to .VSD to indicate its use. Within the VSD file are the following required and optional elements:
The config.xml file contains the definitions and descriptions that tell the Virtual Sound Decoder how to manipulate the included WAV files to create the required sound effects. Each config file can describe one or more profiles, each of which defines a particular type of locomotive (perhaps an EMD F7 or a GE AC4400CW). The file is in standard XML format, and the matching XML Schema is included within the JMRI package files (xml/schema/vsdecoder/vsdecoder-config.xsd). The file can be created or edited using a standard text editor or any XML editing package.
Details about config.xml construction are on the [VSD_Config_File_Definition] page.
The License file contains human-readable licensing information that applies to all of the WAV files within the VSD file, as well as the information contained in the config.xml file and any optional information included. The VSD file creator is free to apply any licensing scheme he chooses, but he "must" include a license.txt file describing these terms within the VSD file.
The following additional restrictions apply:
VSD file creators are encouraged to provide their content under a "free" license, in the spirit of the JMRI project, but are not required to do so.
The sound files included within the VSD archive can be arranged in any fashion that is meaningful to the VSD file creator. It is suggested that at a minimum the WAV files be stored in a "sounds" sub-folder, and more hierarchical arrangements are encouraged. For example, sounds unique to each included profile might be stored in profile-specific subfolders ("sounds/loco_a", "sounds/loco_b") while common, shared sounds are combined into a shared folder ("sounds" or "sounds/common").
Any arrangement of folders will work, as long as the relative paths are correctly specified in the corresponding entries within the config.xml file.
The VSD File creator may include any optional additional information within the archive that he wishes. Suggestions include:
Please do not include any executable content within the VSD File.
Wiki: VSD_Config_File_Definition
Wiki: Virtual_Sound_Decoder