Files
perun/README.md
2019-02-23 17:47:38 +01:00

3.1 KiB

Perun for DCS World

This toolset extracts data from DCS World server and export it to local json file and UDP port. Optional windows app puts JSON data to MySQL database. Additionaly windows app can be used to merge LotATC and DCS SRS data in one database making Perun for DCS World ultimate integration tool for server admins.

Getting Started

You can use this toolkit with or without Windows app. Simple DCS export scripts will create JSON file which can be used for further processing, by default this file is created in Scripts\Json folder located in your Saved Games DCS folder tree.

Prerequisites

Core:

  • For JSON Export:
    • DCS World stable or DCS World beta
  • (Optional) For MySQL Export:
    • MySQL server with read/write access

3rd party support:

  • for DCS SRS integration location of the clients-list.json file and SRS configuration with JSON data export enabled - see SRS documentation
  • for LotATC integration location of the stats.json file and LotATC configuration with JSON data export enabled - see LotATC documentation

Installing

  • Download latest release optionaly together with Win32 binary file for MySQL export
  • Copy contents of DCS folder to you \Scripts folder (inside DCS folder in your Saved Games)
  • create MySQL server 03_MySQL folder contains creation SQL file
  • optionaly Run the Win32 application
    • set MySQL connection data
    • point LotATC json file location
    • point DCS SRS json file location
    • click connect and leave the app running
  • Start DCS World and host multiplayer session
    • by default the JSON is written into Scripts\Json folder located in your Saved Games DCS folder tree
    • by default the UDP port 48620 is in use as target

Data packets

  • ID: 1, contains version information
  • ID: 2, contains status data in the following sections
    • mission
    • players
  • ID: 3, available slots list and coalitions
    • coalitions
    • slots
  • ID: 50, chat event
  • ID: 51, game event
  • ID: 100, DCS SRS's client-list.json
  • ID: 101, LotATC's stats.json

Built With

Contributing

Please contact me if you'd like to contribute.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thanks to Gildia DCS Polish community of DCS World pilots.