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.
| Folder | Contents | VDZ writes to it |
|---|---|---|
libraries | Library files (.vdl). VDZ also reads one level of subfolders. | Only from the Library Editor |
conversions | LVDrop default studies (*DefaultStudy.xml) and the saved LVDrop names (<library>.lvdrop-map.toml). | Yes |
templates | The Excel template for making a library. | No |
ErrorReports | A text report for each crash or serious error. | Yes |
Where the root folder is
VDZ uses the first of these that applies:
- The folder set in Preferences → Libraries → VDZ root folder.
- On Windows,
%LocalAppData%\ZeroCross\VDZ, if it has alibrariesfolder. - 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
| File | Windows | macOS | Linux |
|---|---|---|---|
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.txt | as above | as above | as above |
Crash report choices, crash-reporting.txt | as above | as above | as above |
Crash dumps waiting to be sent, crashes folder | as above | as above | as above |
The full version also keeps the user’s licence:
| Item | Windows | macOS | Linux |
|---|---|---|---|
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.json | Credential Manager | Keychain | The 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
| File | Meaning |
|---|---|
Name.vdz | The project. |
Name.vdz.lock | Shows 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-journal | A temporary file that can appear for a moment while VDZ saves. |
icons folder | Optional. SVG files here replace VDZ’s built-in symbols for projects in that folder. |
Other locations
| Location | Used for |
|---|---|
%TEMP%\VDZ | The text file that VDZ makes when a user clicks Open on the ISSUES or FEEDBACK list. VDZ opens it in Notepad. |
C:\Temp\VDZ | The 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'
| Key | Meaning | Values |
|---|---|---|
data.library_folder | The VDZ root folder. | A folder path |
files.recent_projects_shown | How many recent projects the start screen lists. With 0, VDZ stores none. | A whole number |
ribbon.show_udc | Shows 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
.vdzfiles, 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.