Skip to content

API Refactoring Release

Compare
Choose a tag to compare
@rurounijones rurounijones released this 17 Nov 14:33
· 167 commits to main since this release

DCS-gRPC 0.2.0 Released!

We are happy to announce version 0.2.0 of DCS-gRPC. Development for this release has focused on reorganising the public API layout to conform to gRPC idoms and make them easier to manage going forwards. We have also added some new APIs and started working on the major task of implementing the AddGroup API. For a list of current APIs see the 0.2.0 API Documentation

Please note that this release is not backwards compatible with 0.1.0 although we hope to be able to minimise breaking changes from this version going forwards. For more information on our versioning policy please see here.

The other major change is in the initialization which removes the need for sanitisation in MissionScripting.lua and also enables the ability to run DCS-gRPC in all missions on the server without needing mission editing.

There are a number of demo client applications for DCS-gRPC. Please see this page for more information on them.

Changelog

Added

  • SetEmission API
  • GetMissionStartTime API
  • GetScenarioCurrentTime API
  • GetBullseye API
  • GetTransform API
  • AddGroup API (Initial version suitable for spawning fixed SAM sites)
  • Eval API executable in the DCS hook environment along with command-line tool
  • Ability to include DCS-gRPC on all server missions without needing to edit the mission
  • Updated Rust version and many Rust dependencies

Changed

  • Split and reorganised APIs into versioned namespaces
  • Switched to a different way of initialising the DCS-gRPC server that does not require sanitisation
  • Changed Enum numbering to allow more idiomatic gRPC usage

Installation

To install please download the DCS-gRPC-0.2.0.zip and extract into your DCS Saved Games folder. The README.md contains instructions on how to enable DCS-gRPC on a per-mission basis or on a per-server basis.

An example mission with DCS-gRPC integration called DCS-gRPC-Example.miz is included in the Missions folder

Support & Contact

You can reach us via the Github issues and Discord. We don't think DCS-gRPC requires yet another Discord so we have instead created a DCS-gRPC section on the OverlordBot Discord . You can also find Binary and RurouniJones on other DCS related Discords (e.g. The Hoggit Discord).