Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Files and folders

VDZ keeps everything in files, with one exception: the full version keeps the computer’s sign-in in the operating system’s credential store. Apart from the installer’s entries on Windows, the full version stores nothing in the registry.

The VDZ root folder

The root folder holds the shared data that VDZ reads.

FolderContentsVDZ writes to it
librariesLibrary files (.vdl). VDZ also reads one level of subfolders.Only from the Library Editor
conversionsLVDrop default studies (*DefaultStudy.xml) and the saved LVDrop names (<library>.lvdrop-map.toml).Yes
templatesThe Excel template for making a library.No
ErrorReportsA text report for each crash or serious error.Yes

Where the root folder is

VDZ uses the first of these that applies:

  1. The folder set in Preferences → Libraries → VDZ root folder.
  2. On Windows, %LocalAppData%\ZeroCross\VDZ, if it has a libraries folder.
  3. On Windows, %ProgramData%\ZeroCross\VDZ.

On macOS the default is ~/Library/Application Support/ZeroCross/VDZ. On Linux it is ~/.local/share/ZeroCross/VDZ.

When VDZ starts, it creates the conversions, templates and ErrorReports folders if they are missing. It never creates the libraries folder.

Per-user files

FileWindowsmacOSLinux
Preferences, config.toml%AppData%\zerocross\vdz~/Library/Application Support/zerocross/vdz~/.config/zerocross/vdz
Recent projects, recent-projects.txt%LocalAppData%\zerocross\vdz~/Library/Application Support/zerocross/vdz~/.config/zerocross/vdz
Window position, window.txtas aboveas aboveas above
Crash report choices, crash-reporting.txtas aboveas aboveas above
Crash dumps waiting to be sent, crashes folderas aboveas aboveas above

The full version also keeps the user’s licence:

ItemWindowsmacOSLinux
The signed licence, licence.json%LocalAppData%\hyenergysolutions\vdz~/Library/Application Support/hyenergysolutions/vdz~/.config/hyenergysolutions/vdz
The sign-in: the computer’s session and the key that opens licence.jsonCredential ManagerKeychainThe kernel keyring

The credential store entry is named com.hyenergysolutions.vdz, with the account licence-sign-in. Do not copy licence.json to another computer or deploy it: it is tied to the computer it was made on. See Network access and privacy.

On Windows, the preferences file is in the roaming profile. The other files are in the local profile. Because Windows ignores the case of folder names, the local files sit in the same folder as a per-user VDZ root folder.

Files beside a project

FileMeaning
Name.vdzThe project.
Name.vdz.lockShows that the project is open, and who has it open. VDZ removes it when the project closes. See Project files on shared drives.
Name.vdz-journalA temporary file that can appear for a moment while VDZ saves.
icons folderOptional. SVG files here replace VDZ’s built-in symbols for projects in that folder.

Other locations

LocationUsed for
%TEMP%\VDZThe text file that VDZ makes when a user clicks Open on the ISSUES or FEEDBACK list. VDZ opens it in Notepad.
C:\Temp\VDZThe files that UDC hands to VDZ: VDZ_Schematic.vds and VDZ_Lots.vdd. Used only when the UDC tools are turned on.

VDZ writes no log file.

Pre-setting preferences

To set a preference centrally, or to stop users changing it, use IT policy: see Managed settings. You can also give users a starting set of preferences by placing a config.toml file in each user’s preferences folder before they first start VDZ. A user who has a config.toml file is not shown Quick Start, which asks for the root folder on the first start.

The file has one [settings] table. This example points VDZ at a shared root folder:

[settings]
"data.library_folder" = '\\server\share\VDZ'
KeyMeaningValues
data.library_folderThe VDZ root folder.A folder path
files.recent_projects_shownHow many recent projects the start screen lists. With 0, VDZ stores none.A whole number
ribbon.show_udcShows the UDC tools.true or false

Users can change any of these in Preferences afterwards. VDZ ignores keys it does not know.

The crash report choices are not read from this file. See Network access and privacy.

What to back up

  • Projects: the .vdz files, wherever users save them. VDZ makes no backup copies and does not save automatically.
  • Libraries and conversions: the VDZ root folder, if your company maintains its own libraries or LVDrop names.
  • Signing keys: the key and certificate files of anyone who signs libraries. Store them as you store other private keys.