Installation
Prerequisites
Before installing the CPDLC Plugin, ensure you have the following:
- vatSys (version 1.4.20 or later)
- .NET Framework 4.7.2 or later
Installing from GitHub
- Download the latest release from GitHub.
- Extract the
CPDLCPlugin.zipfile into your vatSys plugins directory (Documents\vatSys Files\Profiles\<Profile Name>\Plugins\CPDLCPlugin). - Run the
unblock-dlls.bathelper script (included in theCPDLCPlugin.zipfile) to unblock all the.dllfiles.
Verifying Installation
- Open vatSys.
- If you see the
CPDLCmenu item in the vatSys menu bar, the installation was successful.
If you do not see the CPDLC menu item after restarting vatSys, refer to the Troubleshooting section below.
Configuring Labels and Strips
The plugin provides custom label and strip items. You can place these items anywhere in your profile's Labels.xml and Strips.xml files.
See Labels.xml.diff and Strips.xml.diff for examples.
Available Label Items
CPDLCPLUGIN_CPDLCSTATUS: CPDLC connection status symbol (.,-,+)CPDLCPLUGIN_CPDLCSTATUS_BG: Background for CPDLC status (highlights when downlink awaiting response)CPDLCPLUGIN_TEXTSTATUS: Voice capability indicator (blank,R,T,V)CPDLCPLUGIN_TEXTSTATUS_BG: Background for voice capability (highlights when text message received)
vatSys requires separate items for foreground content and background color. The _BG items control background highlighting based on message state.
Replacing Default Items
Highly recommended: Replace the default LABEL_ITEM_CPDLC and CPDLCStatus items with the plugin's items to avoid confusion.
vatSys uses the Eurocat CPDLC symbols (., -, +) for voice capabilities on VATSIM. The plugin repurposes these symbols for their intended CPDLC function, and provides CPDLCPLUGIN_TEXTSTATUS as a replacement voice capability indicator.
Labels.xml: Replace LABEL_ITEM_CPDLC with:
<!-- CPDLC Plugin: CPDLC Status -->
<Item Type="CPDLCPLUGIN_CPDLCSTATUS" />
<Item Type="CPDLCPLUGIN_CPDLCSTATUS_BG" BackgroundColour="Custom" />
<!-- CPDLC Plugin: Text Status -->
<Item Type="CPDLCPLUGIN_TEXTSTATUS" />
<Item Type="CPDLCPLUGIN_TEXTSTATUS_BG" BackgroundColour="Custom" />
Strips.xml: Replace CPDLCStatus with:
<!-- CPDLC Plugin: CPDLC Status -->
<StripItem Type="CPDLCPLUGIN_CPDLCSTATUS" MinLength="1" />
<!-- CPDLC Plugin: Text Status -->
<StripItem Type="CPDLCPLUGIN_TEXTSTATUS" />
Troubleshooting
CPDLC menu item not appearing
If the CPDLC menu item does not appear, it's likely that the .dll files for the plugin have been blocked by Windows.
This is a security feature in Windows that blocks files downloaded from the internet to protect your computer from potentially harmful software.
- Locate the
unblock-dlls.batfile (included in theCPDLCPlugin.zipfile). - Ensure the file is located in the same folder as the
.dllfiles, or in one of the folders above it. - Run the script by double-clicking it. You will be shown a list of all the
.dllfiles the script will unblock. PressYto continue, orNto exit. - Restart vatSys once the script has completed.
This script will search for any .dll files in the current folder or sub-folders and ensure they are unblocked.
DPI Awareness
If you are using a high-resolution display (4K monitor, high-DPI laptop screen, etc.) and experience graphical issues after launching vatSys, you may need to run the dpiawarefix.bat script.
- Locate the
dpiawarefix.batfile (included in theCPDLCPlugin.zipfile). - Run the script by double-clicking it.
- Restart vatSys.
This script adjusts Windows DPI settings for vatSys, making it compatible with high-resolution displays.