SRS

From Eagle Dynamics Wiki
Jump to: navigation, search

DCS Simple Radio Standalone

disclaimer: The content of this page was originally written by Ciribob on the ED Forums.

The goal of this project is to bring integrated Radio Comms into DCS similar to my existing TS plugin and others (Aries, UniversRadio, TARS) but without relying on TeamSpeak. The Standalone is meant to be a compliment for TS, allowing players to use Full Radio voice comms if they want with the eventual goal of the program automatically connecting when connecting to a multiplayer server. TS is then used as a fall back to establish frequencies or for those that don't have the radio.

Features so far implemented

SRS provides follwoing features so far:

  • All FC3 Aircraft with Realistic Radios and Frequencies + Guard Frequencies
  • All Clickable cockpit aircraft including Gazelle
  • Hotkeys for PTT + Switching Active Radio (Gazelle + A10C + FC3 only)
  • In Cockpit PTT
  • Intercom Support in L-39
  • GCI / CA / ATC Radio
  • Voice encryption for A-10C / Mirage / F-15C / A-10A / Gazelle
  • Radio Overlay indicating current frequencies, selected radio and active light when Transmitting or Receiving
  • Built from Scratch voice protocol using OPUS encoding - allows much greater flexibility as I'm not dependant on TS3 or Mumble.
  • Client Microphone Boost
  • Audio Separation
  • Optional Line of Sight
  • Optional Radio Distance limitations
  • Squelch Effect
  • Handling of Lag and Missing Packets
  • Support for 10 radios for Ground Commander / AWACS
  • Server side controlled expansion radios giving 3 radios to almost all aircraft including WW2 for training

Installation

common preperation / Requirements

  • make sure that the .NET Version 4.6.2 is installed → Download
  • users of Win 7N / 8N or 10N (The N Version of Windows lacks the media relevant technologie) need to download the Media Feature PackDownload This package adds the media codecs you need which are removed in the N Version, please install it or SRS wont work

automated Installation

Manual Install Procedure

  • Extract the entire zip somewhere
  • Copy DCS-SimpleRadioStandalone.lua to C:\Users\USERNAME\Saved Games\DCS\Scripts
  • Copy DCS-SRSGameGUI.lua to C:\Users\USERNAME\Saved Games\DCS\Scripts
  • Copy DCS-SRS-OverlayGameGUI.lua to C:\Users\USERNAME\Saved Games\DCS\Scripts
  • Copy DCS-SRS-Overlay.dlg to C:\Users\USERNAME\Saved Games\DCS\Scripts
  • Copy DCS-SRS-Hook.lua to C:\Users\USERNAME\Saved Games\DCS\Scripts\Hooks
  • Create the script folder if it doesnt exist
  • Add to the END of the Export.lua file in C:\Users\USERNAME\Saved Games\DCS\Scripts:

local dcsSr=require('lfs');dofile(dcsSr.writedir()..Scripts\DCS-SimpleRadioStandalone.lua)

  • If Export.lua doesn't exist, just create the file and add the single line to it.
  • Copy the rest of the zip files where ever you like and then run, don't forget to keep opus.dll with the rest of the .exes

Server Hosting Procedure

  • Run SR-Server.exe (no need to run installer or add scripts!) and make sure TCP port 5002 and 5003 is open. It does NOT need to be on a PC running DCS.
  • If you change the server port by editing the CFG file - be sure to always open the TCP port that you set, as well as one above the configured one. The second port is needed for audio. I.e Port 5010 is set so open 5010 and 5011 to TCP

Auto Connect Feature - Server Owners ONLY - Clients don't need this file! To enable SRS clients to be prompted automatically to connect just add the DCS-SRS-AutoConnectGameGUI.lua to the appropriate DCS Saved Games folder e.g. DCS.openbeta/Scripts/Hooks, DCS.openalpha/Scripts/Hooks or just DCS/Scripts/Hooks

If you dont have a Scripts or a Hooks folder inside Scripts, just create them

Edit the line below to your server address where SRS server is running. Port is optional. DCS must be restarted on the server for this file and any changes to take effect.


CHANGE FROM

SRSAuto.SERVER_SRS_HOST = "127.0.0.1" -- Port optional e.g. "127.0.0.1:5002"

TO

SRSAuto.SERVER_SRS_HOST = "5.189.162.17:5010" -- BuddySpike One

OR

SRSAuto.SERVER_SRS_HOST = " 37.59.10.136" -- TAW One (port optional)


And thats it.

If a client isn't connected and has SRS running they'll be prompted to connect automatically. You'll also see the message posted in the chat listing the address when slots change or a client connects.

Installation and Overview Video

YouTube Video

Troubleshooting