Skip to content

Installation

Michal Plichta edited this page Apr 14, 2024 · 23 revisions

Note if you upgrade from 1.5.1:

  • Older version of DCSpy required Logitech LCD SDK ver. 8.57.148 (C:\Program Files\Logitech Gaming Software\LCDSDK_8.57.148). Since DCSpy 1.6.0 use built-in SDK in LGS (Logitech Gaming Software), you can safely remove/delate from your system.

Installation

There are two ways of install DCSpy: single file download (basic / new way) or via Python package manager (advanced / old way). Both have advantages and disadvantages. For new users it is recommended to use first one, current users can stick to old way or switch to new way. Both will be supported.

Single file download (new way)

  • Advantage: Simple download and you are ready to go
  • Disadvantage: Windows Defender can block download/execution
  1. Install Logitech Gaming Software 9.04.49
  2. Go to Releases, from Assets section download one of:
    • dcspy_*.exe - simple one window application
  3. Place file anywhere in your system, double click to start.
  4. DCS-BIOS
    • Install DCS-BIOS directly from DCSpy (button Check DCS-BIOS, see DCS-BIOS Upgrade).
      It checks if new version exists, download, and unpack DCS-BIOS to Save Games folder and check Export.lua file.
    • Or follow manual installation DCS-BIOS wiki page

Due to how Python application can be pack into executable file (using PyInstaller), sometimes Windows Defender can recognize it as a virus. See more details here

via pip (old way)

  • Advantage: Better control, simple update process, no Defender hassle
  • Disadvantage: Python interpreter is needed, more steps, more complicated process
  1. Install Logitech Gaming Software 9.04.49
  2. Download Python 3.12 but 3.9+ should be fine, please choose Windows x86-64 version, file should be python-3.12.0-amd64.exe.
  3. During Python installation please select
    • Optional Features:
      • pip
      • py launcher
    • Advanced Options:
      • Associate files with Python (requires the py launcher)
      • Add Python to environment variables
      • Customize install location: C:\Python312 or C:\Python
  4. DCS-BIOS
    • You can skip for now and install DCS-BIOS directly from DCSpy (button Check DCS-BIOS, see Configuration).
      It checks if new version exists, download, and unpack DCS-BIOS to Save Games folder and check Export.lua file.
    • Or follow manual installation DCS-BIOS wiki page
  5. Package is available on PyPI, open Windows Command Prompt (cmd.exe) and type:
pip install dcspy

or download manually wheel file from releases:

pip install dcspy-3.0.0-py3-none-any.whl

Note: If you got pip is not recognized as an internal or external command, operable program or batch file. error, see FAQ

Next step: Usage