DCS-SimpleRadio Standalone - ED Forums


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-29-2016, 07:29 PM   #1
ED Testers Team
Join Date: Mar 2015
Location: Brighton, UK
Posts: 1,941
Default DCS-SimpleRadio Standalone

Introducing the snappily named: DCS Simple Radio Standalone

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.

Its quite early days but currently I have working:
  • 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

You only need to run the installer to install the Scripts into DCS. The SR-Server.exe can be run without the installer. DO NOT run the installer or install the Script on your Standalone server unless your going to be flying as the server (no need too )

To Host the server all you need to do is run SR-Server.exe and make and TCP and UDP port 5002 is open. It does not need to be on a PC running DCS and you do NOT need to port forward if you're just using the client

[B].NET version 4.6.2 Required - PLEASE INSTALL THIS BEFORE INSTALLING SRS - https://www.microsoft.com/en-gb/down....aspx?id=53345

DOWNLOAD HERE - Unzip all files and Run the Installer: https://github.com/ciribob/DCS-Simpl...eleases/latest
or use the One Click Auto Updater to install and / or update

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 and UDP port 5002 are 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 and UDP for that

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 jut 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.

SRSAuto.SERVER_SRS_HOST = "" -- Port optional e.g. ""

SRSAuto.SERVER_SRS_HOST = "" -- BuddySpike One
-- OR
SRSAuto.SERVER_SRS_HOST = "" -- 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


Please follow the instructions here: https://forums.eagle.ru/showpost.php...postcount=1122

Future Features
  • Signal Degradation sound effects - Noise Increase with distance
  • FM transmission blocking (FM knocks out weaker FM Signals)
  • Location for AWACS / GCI

Encrypted Radios
DCS-SRS now supports encrypted Radios with differing keys. If a Radio receives an encrypted voice signal but doesn't have either the correct decryption key or decryption equipment, white noise will be played.

A radio with encryption enabled can hear non encrypted transmissions as normal.

Encryption is shown on the Radio overlay with an E followed by a number by the radio. The number indicates the key that is in use.

Procedure to enable Encrypted Audio:
  • Turn Power on to KY-58
  • Set Mode to OP
  • Pick the fill use wish to use. This is the key that encodes the audio. The receiving radio must have the same key set
  • Turn to C/RAD 1 to encrypt AN/ARC-164 UHF
  • Turn to C/RAD 2 to encrypt AN/ARC-186(V)FM
  • Turning to plain will disable encryption again

Procedure to enable Encrypted Audio:
  • Setup Radios as Normal
  • Press the Green UHF CDE Switch

To change the Mirage code use the overlay

Demo Video of Native DCS Overlay

Overlay and Overlay Configuration

The overlay has 3 states, hidden, small & full that you can see by pressing Left Control + Left Shift + Escape by default.

The Full state has a title bar that you can click and drag the window around with. The window position will be saved for when DCS is next opened.

The radio status is removed after 5 seconds if SRS is closed or loses server connection

To configure the overlay hotkey, run DCS once to create a config file in Saved Games\DCS\Config which will look something like so and quit DCS:

config = 
    ["mode"] = "minimum",
    ["hotkey"] = "Ctrl+Shift+escape",
    ["windowPosition"] = 
        ["y"] = 342,
        ["x"] = 981,
    }, -- end of ["windowPosition"]
} -- end of config
Edit the "Hotkey" section and add the characters from the keyboard you'd like to use instead. i.e

config = 
    ["mode"] = "minimum",
    ["hotkey"] = "Ctrl+Shift+1", -- now uses the combination of ctrl shift and 1 together to toggle
    ["windowPosition"] = 
        ["y"] = 342,
        ["x"] = 981,
    }, -- end of ["windowPosition"]
} -- end of config
Dont forget to restart DCS after editing this file or you wont see the changes.

If you want to remove the overlay entirely and never use it, just delete:
  • DCS-SRS-Overlay.dlg
  • DCS-SRS-OverlayGameGUI.lua

In Saved Games\DCS\Scripts

Preset Channel Configuration

Preset channels can be created for all FC3 aircraft and all expansion radios for Non FC3.

Channel presets are created per Radio - full list of names & frequencies here https://docs.google.com/spreadsheets...gid=1869108790 )

Preset files are named after the radio (no special characters needed & case is ignored) and are text files with a single frequency on each line.

For example, to create a fixed channel list for the first UHF radio in the F15C:

Create a file called ANARC-164 UHF1.txt or anarc164 UHF1.txt where you installed SimpleRadio Standalone (where the client exe is), add frequencies and save.

The file will be automatically loaded when that radio appears on an aircraft. The frequency list can also be manually reloaded with the reload button. The files are per radio not per aircraft.

Finally - I need your help!
If you'd like to help with this project, please help me fill in this sheet of radio info! It'll also help correct any mistakes I've made with the Radios.

LINK: https://docs.google.com/spreadsheets...gid=1869108790

The work can't be done without the data so if you can help fill in a box please do!
Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD
CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup
Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required!
DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Last edited by Ciribob; 01-14-2020 at 06:44 PM.
Ciribob is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:32 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.