Giter Site home page Giter Site logo

pet333r / pw-dev_script Goto Github PK

View Code? Open in Web Editor NEW
107.0 13.0 10.0 6.29 MB

Script for DCS World

Home Page: http://pw-developer.com/

License: GNU Lesser General Public License v3.0

Lua 99.85% Batchfile 0.05% PowerShell 0.10%
dcs-ufc dcs-aoa-indexer dcs-world android dcs dcs-nav

pw-dev_script's Introduction

DCS World Script

Script for exporting data from DCS World

Table of context

HOW TO INSTALL SCRIPT / Video

Step by step how to install DCS World script

How to install script

supported software

automatic script installation

  • download Script Configurator from this link: https://github.com/pet333r/pw-dev_script/releases/download/configurator/Script.Configurator.zip

  • extract somewhere to disk and run

  • click the "..." button to select the path to install the script, the path should look like this:

    • c:\Users\{Your username}\Saved Games\DCS.openbeta\
    • c:\Users\{Your username}\Saved Games\DCS\

  • after selecting the correct path, click the "Download & install script" button, the zip file with the script will be downloaded and installed in the appropriate place, additionally an entry will be automatically added to the main Export.lua file

  • then set correct IP addresses of your Android devices in the Config.lua file (you can do this in a few ways):

  • in the future, when a script update will be available, you will be able to easily update it by clicking the "Update script" button

  • the last thing is to enter your computer's IP address in the Android application settings (DCS UFC / DCS NAV / DCS AoA Indexer)

configure script for DCS World

After installing the script, enter the IP addresses of your Android devices in the Config.lua file, you can do this:

  • on the CONFIGURATION tab in the application
    -- change the IP address to the IP address of your device (tablet/phone)
  • in the menu in DCS World DCS World > Options > Special > pw-dev

update script

in the application you can also check the version of the script that is installed and whether a newer version is available. In case an update is available, the entire script can be easily updated by clicking the "Update script" button

files scheme

Scheme of folders with installed script

DCS or DCS.openbeta
├── Logs
│   └── telemetry                   KML and CSV files are saved here
├── Mods
│   └── Services
│       └── pw-dev
└── Scripts
    ├── Hooks
    │   └── pw_dcs_util-hook.lua
    ├── pw-dev_script
    │   ├── lib\
    │   ├── Modules\                folder with files for individual modules in DCS World
    │   ├── Utilities\              folder with additional software
    │   ├── add_firewall_rules      file adds rules to Windows firewall (if necessary)
    │   ├── Config.lua              main script configuration file
    │   ├── ExportInit.lua
    │   ├── my_local_PC_IP          checking the PC IP address
    │   └── version                 installed script version
    └── Export.lua                  main Export.lua file with entries for additional scripts

manual installation

download latest script version in ZIP file from this link: https://github.com/pet333r/pw-dev_script/releases/download/script/Scripts-Extended.zip, save it wherevere You want on disk and unpack

next go to and open folder: (depending on the DCS World version you have installed..)

  • c:\Users\{Your username}\Saved Games\DCS.openbeta\
  • c:\Users\{Your username}\Saved Games\DCS\
    or if you have both, choose one or both DCS versions to install script;-)

if you don't have a folder 'Scripts'

if You don't have folder Scripts, simply copy all files from unpacked ZIP file to one of the locations and go to Edit Config.lua

if you have 'Scripts' folder and have installed other scripts

  • copy the Mods folder to the above-mentioned folder
  • copy pw-dev_script and Hooks folder from unpacked ZIP file into Scripts folder
  • open main Export.lua file in Scripts folder (recommend Notepad++ for this) and add this code to the beginning of the file (above the entries for other scripts, example here: compability)
pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);

folder scheme

this is what the scheme of the folder with the script installed should look like (depending on the DCS version) folder Scripts

folder pw-dev_script inside Scripts

edit Config.lua

in folder pw-dev_script open Config.lua for edit, there are several "groups" in the file:

-- device 1
PWDEV.Config.Device[1] = {}
PWDEV.Config.Device[1].Export = true;           -- set to true if you want to send data to this device
PWDEV.Config.Device[1].Host = "192.168.0.11"    -- IP for 1st app

choose one of them and edit Host by changing the IP address to the IP address of your device to which the data is to be sent
it is IMPORTANT that the device's IP address matches and PC / phone / tablet must be on the same network

example you will find below in the example connection

how to find IP's of PC and Android device

Android

To find Android device IP: on device go to Settings > WiFi > check the properties of your network (it may be different on different Android devices / versions / system overlays)

PC

to find the IP address of your PC with DCS World installed: https://www.digitalcitizen.life/find-ip-address-windows
or run my_local_PC_IP.cmd file in script folder or click on the PC IP button on the script configuration panel in DCS World, a console window will open

example:

example connection

Example configuration:
PC IP: 192.168.0.10
Android device IP: 192.168.0.12

connection

1 if your network structure is more complicated than a (PC -> router <- Android device), devices may not be able to "see" each other because each belongs to a different subnet of the router, this must be changed in the router settings

2 it's best to assign a static IP address to your Android device's router (the router will always assign the same IP address to a device on your network)

3 the application works on these ports by default:

  • 5160 UDP : output port from PC (this port is used to send data from DCS to Android or applicastion in the network)
  • 25070 UDP : input port on PC (listening for information received from Android or an application in the network)

4 where to enter the IP address of the device to which I want to send the data from the script?
In one of the "groups" in the Config.lua file which is located in the folder with the script. Never enter the same IP address in several groups with the same port number, it may block data transfer on this port.

features

additional script functions:

1 saving telemetry data to KML and CSV files, files are saved in one of the folders (depending on your DCS World version)

  • c:\Users\{Your username}\Saved Games\DCS.openbeta\Logs\telemetry\

  • c:\Users\{Your username}\Saved Games\DCS\Logs\telemetry\

    1.1 KML file (the file can be opened in any application that supports that file format):

1.2 CSV file : an additional application is required to open the file and view the saved data, which can be downloaded from this link:: https://www.dropbox.com/s/piif8wybqlp4okq/DCS_FDR_Viewer.zip App displays the flight route in a 3D view and others data on 2D graphs

known issues

1 If You can interact with DCS but not receiving data

  • You probably set wrong Your Android device IP in Config.lua file

2 If Your device stopped receiving data

  • Your router has likely assigned a different IP address to your Android device. Check the device's IP address and enter a new one in the Config.lua file.

3 If you receive data from DCS but no button works

  • check if you have the correct PC address given in the DCS UFC settings
  • your firewall probably blocking incomming connections, turn off the firewall for a few minutes and check if everything works (to unblock the default ListenerPort: 25070 / UDP)
    https://www.windowscentral.com/how-open-port-windows-firewall

faq

1 What are the minimum Android versions for each app? [ DCS UFC / DCS Nav / DCS AoA Indexer]

  • DCS UFC: Android 5.0 and above
  • DCS Nav: Android 7.0 and above
  • DCS AoA Indexer: Android 4.4 and above

2 do the applications and script work in multiplayer?

  • YES, on the server the property must be set: Allow player export: yes, most servers have this option enabled;-)

3 does integrity check pass?

  • YES (more precisely, it doesn't even have any effect on it :-) )

4 are there any limitations to the DCS World version with which the apps work?

  • NONE, the applications work with any version of DCS World, no matter if it is a standalone or openbeta version, and whether it was installed directly from the producent website or you use the Steam version

compability

Script may not work with some other scripts if they use similar solutions to connect to external applications. This is a known problem in DCS.
If you noticed that something is not working and you are also using other scripts, put other scripts in the comment (add -- at the beginning of the entry) to check which ones do not want to work with each other.

tested and works with :

  • DCS-BIOS
  • Tacview
  • VAICOM PRO
  • SRS

for users using SRS and VaicomPro (works when the script entry is "higher" in the file, above the SRS / VaicomPro entry)
example of the main Export.lua file (thanks to one user: Arsenio)

pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);

local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[Scripts\VAICOMPRO\VAICOMPRO.export.lua]]);

pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Tech\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil);

local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua');

Stream Deck support

For the script to work properly with StreamDeck, a plugin for the Elgato StreamDeck software must be installed, more information can be found here: https://github.com/charlestytler/streamdeck-dcs-interface

  • To install the DCS Interface Streamdeck plugin, you will need to download and run the installer com.ctytler.dcs.streamDeckPlugin from This page

plugin config

  • IP Address: 127.0.0.1
  • Listener Port: 1725 (default)
  • Send Port: 25070 (the same as in the Config.lua file > PWDEV.Config.ListenerPort)

🔴 IMPORTANT The script does not send all the data from the modules available for DCS World. Therefore, not every available 'option' will be transferred between DCS World and StreamDeck (if you use any ready-made configurations found on the Internet). This is because the DCS UFC application does not need all this data and there is no need to send it additionally (it only increases the network traffic)

license

The script is available free of charge under the LGPLv3 license.
Part of the script was based on DCS-ExportScripts Additional functionality was added and modified to increase performance and separate sending of individual data to reduce the load on the application.

pw-dev_script's People

Contributors

pet333r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pw-dev_script's Issues

DCS crashing on mission load

I notice that if I enable tool/app to my DCS game, it crashes when loading any mission. When I delete the folder 'pw-dev_script' in Scripts folder, the game works fine.

Problem with log files

Hello,

First of all thank you for your work. I use DCS UFC and DCS Nav.
I have a little problem using the pw-dev_script script with other script like DCS Bios.
I have a script that writes well to its log file when used alone. But if I launch it at the same time as DCS UFC then it can no longer write to its log file.

My Export.lua file only contains:

dofile(lfs.writedir()..[[Scripts\Export-SR.lua]])
pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);

My script uses its logs like this:

ExportSR.export_file_livedata = io.open(lfs.writedir().."Logs/Export-LiveData-SR.log", "w")
ExportSR.export_file_livedata:write(string.format("aircraft: %s\n\n", ExportSR.aircraft_name))

The second line fails when using DCS UFC with error:

2022-07-02 08:31:25.895 ERROR   Lua::Config: Call error LuaExportStart:[string "C:\Users\Stephane\Saved Games\DCS\Scripts\Export-SR.lua"]:93: attempt to index field 'export_file_livedata' (a nil value)
stack traceback:
	[C]: ?
	[string "C:\Users\Stephane\Saved Games\DCS\Scripts\Export-SR.lua"]:93: in function 'LuaExportStart'
	[string "C:\Users\Stephane\Saved Games\DCS\Scripts\pw-dev_script\ExportInit.lua"]:65: in function <[string "C:\Users\Stephane\Saved Games\DCS\Scripts\pw-dev_script\ExportInit.lua"]:59>.

Do you have an idea ?
Thanks

App receives no information from DCS

My issue is fairly consistent with others surrounding this problem- the buttons in the app work fine to control the plane, except the displays do not update with any information on the app.

A-10C CDU steer switch error

The "Steer" control in the bottom of the A-10C CDU is now modeled like a button that increments the steer point number.

I think it should be modeled like a momentary switch Up/Down that increments/decrements the steer point number.

Thank you for your amazing app.

Feature Request: Display the content of tne MFD on android devices

Hi. I am new at DCS and using your app on 4 devices. Is it possible to show the content of the MFDs on the android devices? I would like to build a virtual cockpit with tablets and mobile phone. To use them for DCS is very great use case for all my old devices. Thanks for your good work.

Script is disabled by DCS startup process

Starting DCS 2.9.0.46801 I get the following message:
pwscript

Script is updated using the Utility:
image

Dcs.log:
dcs.log

Firewall is configured correctly with correct ports, static ip assigned for all devices.

Script/Util worked fine before update.

DCS repair did not resolve.

Time zone configured correctly.

F-14 RIO CAP not functional

Can't figure out why it's only the F-14 RIO CAP. All the other F-14 modules seem to be working whether sending or receiving input. When interacting as the pilot or RIO the ACMP is able to be interacted with, in single-player and online, but once switched over to CAP there is no input. When manipulating the CAP in-game no changes to the app are seen. Clearly, there is an issue with outgoing and inbound information. When using the F/A-18 no issues are seen. All outgoing input registers and all inbound data is displayed.

Bug with SPO-15 RWR for FC3 modules

Effect: App crashes

Cause: Unknown

Reproduction steps:

  • Load into any FC3 module (This was tested in SP)
  • Get locked by SAM (OSA module)
  • App crashes on missile launch.

Tablets:

  • Samsung A7
  • Lenovo tab (dont know the model)
  • Restarted the tablets, still crashes.

[Suggestion] - Feedback Sounds / Vibration

Hey Peter, just had a brief suggestion. Anyway you could code in for a default android "screen press" feedback sound or vibration, with the option to enable/disable it? Having some tactile feedback that my shitty android tablet actually registered the press would be fantastic.

Thanks!

F-16

Hello. I come here to say that your work is fantastic, but I am having problems with my F-16. He's just running the Warnings and DED screen.
I would like you to tell me that it is just a configuration problem on my part. And MDF doesn't work for me either. Thank you very much.

[Issue] Various Panel Data not Displaying

The numeric nav data for the KA-50's INU is not displaying. I tried on two different devices, and both devices are working fine for other modules with similar functionality (such as the DED for the F-16 etc) and both have the same issue of not displaying the INU text in the app.

DCS NAV Problem

I have a problem with DCS NAV, when I am in the cockpit and open the DCS NAV APP, all my cockpit displays of the aircraft disappear on my main monitor. radar rwr etc all black. when I close the app everything comes back ?

please help

mfd screen problem

Hi, it works well but I couldn't take mfd screens to my tab, all mfd buttons are working but screen is empty.

Feature Request: F-14 Warning Lights in AoA Indexer app

F-14 warning lights similar to the existing AR/NWS indexer in AoA Indexer app.

From Chuck's Guide/Heatblur wiki:

Warning Lights:
•WHEELS: Landing gear is not down and locked, flaps below 10 deg and either throttle below 85 %
•BRAKES: Antiskid or brake failure or Parking Brake is set
•ACLS/AP: Automatic Carrier Landing System or Autopilot is disengaged
•NWS ENGA: Nosewheel Steering is engaged
•AUTO THROT: Disengagement of automatic throttle control mode not resulting from throttle mode switch

Not working

Did a fresh DCS install, then a fresh install of DCS_UFC script config, then input correct ip addresses for both tablets and the in the tablet apps input ip address of computer. Started DCS but tablets (Tablet apps are only used for DCS) are not receiving data from DCS nor is DCS receiving commands from tablets. Everything is up to date including fresh installs of tablet apps.
Help would be greatly appreciated.

[DCS 2 XHSI] DCS2XHSI.exe sends first packet then stops.

Hi, i am sorry, i have not found your DCS 2 XHSI repo, so rasie this issue here.

I have installed DCS2XHSI , XHSI 2.0 beta 10 as you recommend, X-plane 11. And i have tested XHSI and X-Plane work well.

But DCS2XHSI does not work well.
This is log of XHSI:
[2022-04-22 20:39:02] FINEST: Receiving from port 192.168.2.50:51180(PS: This is my remote where DCS2XHSI runs) ( net.sourceforge.xhsi.model.xplane.XPlaneUDPReceiver / receiveXPlanePacket )
[2022-04-22 20:39:02] CONFIG: Received first packet from 192.168.2.50:51180 ( net.sourceforge.xhsi.model.xplane.XPlaneUDPSender / setDestination )
[2022-04-22 20:39:02] INFO: UDP reception re-established ( net.sourceforge.xhsi.model.xplane.XPlaneUDPReceiver / run )
[2022-04-22 20:39:02] FINE: Received first sim packet ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: Receiving sim packet ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:999=0.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:80=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:200=2.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:210=0.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:211=3.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:206=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:207=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:208=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:209=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:201=2.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:212=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:213=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:214=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:217=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:218=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:223=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:845=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:202=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: ID:203=1.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] CONFIG: Plugin version 0.0 ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / decode_plugin_version )
[2022-04-22 20:39:02] WARNING: Receiving from XHSI_plugin version 1.0 Beta ? ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINE: ... ADCD packet contains 19 sim data values ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: Ticking updates ( net.sourceforge.xhsi.model.xplane.XPlaneDataPacketDecoder / new_sim_data )
[2022-04-22 20:39:02] FINEST: Updating observer 0 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 1 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 2 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 3 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 4 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 5 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 6 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 7 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 8 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:02] FINEST: Updating observer 9 ( net.sourceforge.xhsi.model.xplane.XPlaneSimDataRepository / tick_updates )
[2022-04-22 20:39:03] WARNING: No UDP reception ( net.sourceforge.xhsi.model.xplane.XPlaneUDPReceiver / run )

I captured the packets via wireshark, found that DCS2XHSI can recive packets from DCS.exe, but DCS2HSI.exe sends first packet then stops.

These are messages from DCS2HSI:
R4G;2102=19:08:08;
R4G;2102=19:08:09;
R4G;2102=19:08:10;
R4G;2102=19:08:11;
R4G;2102=19:08:12;
R4G;2102=19:08:13;
R4G;2102=19:08:14;
R4G;2102=19:08:15;
R4G;2102=19:08:16;
R4G;2102=19:08:17;
R4G;2110= 9600I;2111= 9600T;
R4G;2102=19:08:18;2110= 9610I;2111= 9610T;
R4G;2110= 9600I;2111= 9600T;
R4G;2102=19:08:19;
R4G;2102=19:08:20;
R4G;2102=19:08:21;
R4G;2102=19:08:22;
R4G;2102=19:08:23;
R4G;2102=19:08:24;
R4G;2102=19:08:25;
R4G;2102=19:08:26;
R4G;2102=19:08:27;
R4G;2102=19:08:28;
R4G;2110= 9590I;2111= 9590T;
R4G;2102=19:08:29;
R4G;2102=19:08:30;
R4G;2102=19:08:31;
R4G;2102=19:08:32;
R4G;2102=19:08:33;
R4G;2102=19:08:34;
R4G;2102=19:08:35;
R4G;2102=19:08:36;
R4G;2102=19:08:37;
R4G;2102=19:08:38;
R4G;2110= 9580I;2111= 9580T;
R4G;2110= 9590I;2111= 9590T;
R4G;2110= 9580I;2111= 9580T;
R4G;2102=19:08:39;
R4G;2102=19:08:40;
R4G;2102=19:08:41;
R4G;2102=19:08:42;
R4G;2102=19:08:43;
R4G;2102=19:08:44;
R4G;2102=19:08:45;
R4G;2102=19:08:46;
R4G;2102=19:08:47;
R4G;2102=19:08:48;
R4G;2110= 9570I;2111= 9570T;
R4G;2102=19:08:49;
R4G;2102=19:08:50;
R4G;2102=19:08:51;
R4G;2102=19:08:52;
R4G;2102=19:08:53;
R4G;2102=19:08:54;

Warning Panel Viggen does not refresh

Hi there, it seems the warning panel of the Viggen does not refresh completely, meaning it will have blurred warning lights between states. Difficult to explain.
IMG_1186

MFD not working

Everything else works except for MFD. I set the MFD to center, right or left. Even then, the button does not do anything. The game does not respond to any buttons I pressed in the app.

EDIT: It's working. I found out that the Config lua got replaced. Hence the IP addresses I set changed back to default.

Update PowerShell script ExecutionPolicy override message

Not sure if this is actually an issue or not as things seem to work as expected. When using the script configurator to update the LUA files, I get the following error message in the PowerShell window:

F:\Eagle Dynamics\DCS World OpenBeta\Scripts\pw-dev_script>powershell -ExecutionPolicy Bypass -File update.ps1
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope.  Due to the override, your shell will retain its current effective execution policy of Bypass. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy". 
At F:\Eagle Dynamics\DCS World OpenBeta\Scripts\pw-dev_script\update.ps1:1 char:1
+ Set-ExecutionPolicy RemoteSigned
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
+ FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand

The shell script then runs through all the various LUAs and it seems to update successfully regardless, but I wanted to make sure this got mentioned here so we could get official word on if it's a bug or if it's a known issue that doesn't impact functionality. Love your UFC app, my Chromebook is now a semi-permanent fixture for my desk-pit.

F-16 DED missing lines

Info

I have issue, pw-dev_script interfere with DCS-BIOS.
I use DCS-BIOS in my own simple python application (display some data at Logitech G keyboards with LCD)
After long investigation here: dcs-bios #146, we find out when both pw-dev_script and DCS-BIOS are loaded few line are missing:

LIST - 1

list1
list_1

LIST - 3

list3
list_3

LIST - 9

list9
list_9

Findings:

Load order in Export.lua do not make any difference, doesn't matter if pw-dev_script is first or second:

pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\BIOS.lua]])

Only one walkaround I found is commented out pw-dev_script from Export.lua, then DCS-BIOS report correct content of all DED screens. But then I can not use you applications any more :(

What now?

DCS-BIOS guy (see comments this and that) said you do similar things in Modules/F-16C_50.lua as him in Scripts/DCS-BIOS/lib/F-16C_50.lua, so maybe there is any trick to get pw-dev_script and DCS-BIOS co-exists.

DCS AH-64D

Hi,
Are you planning to upgrade the UFC DCS application to the AH-64D module?

Autostart blocks Steam exiting DCS

Hello,
I've upgraded to the latest version and added the missing Autoloader-Hook, starting the binary for me.

But there is a problem with Steam. Since the binary doesn't get closed after exiting DCS, Steam still thinks that DCS is running and I can't start DCS again until I exit the DCSUtil manually.

Hint: You may want to change the Hook to start the binary on a onSimulatorStart event, and to stop it on a onSimulatorStop event. :)

Dual tablet not working

I have dual fire hd 8 tablets running dcs ufc. one will send and receive the other will only receive. IPs are static and different .22 for pc and .60 and .61 for tablets. I used the auto configurator and verified LUA files looked correct. everything checks good.

Error during Update

Try to download modules to: D:\Pascal\Saved Games\DCS\Scripts\pw-dev_script\Modules
1
Invoke-WebRequest : 404: Not Found
Au caractère D:\Pascal\Saved Games\DCS\Scripts\pw-dev_script\update.ps1:88 : 7

  •   Invoke-WebRequest -Uri $url -OutFile $output
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation : (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebEx
      ception
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
      https://raw.githubusercontent.com/pet333r/pw-dev_script/master/Modules/A-4E-C.lua
      A-10A.lua
      A-10C.lua
      A-10C_2.lua
      AJS37.lua
      AV8BNA.lua
      Bf-109K-4.lua
      C-101CC.lua
      Christen Eagle II.lua
      Empty-DCS.lua
      F-5E-3.lua
      F-14B.lua
      F-15C.lua
      F-16C_50.lua
      F-86F Sabre.lua
      FA-18C_hornet.lua
      FW-190A8.lua
      FW-190D9.lua
      I-16.lua
      JF-17.lua
      Ka-50.lua
      L-39ZA.lua
      M-2000C.lua
      MB-339PAN.lua
      Mi-8MT.lua
      MiG-15bis.lua
      MiG-19P.lua
      MiG-21Bis.lua
      MiG-29A.lua
      MiG-29S.lua
      P-51D.lua
      SA342M.lua
      SpitfireLFMkIX.lua
      Su-25.lua
      Su-25T.lua
      Su-27.lua
      Su-33.lua
      TF-51D.lua
      UH-1H.lua
      Yak-52.lua

Time taken: 1:733 s

JF-17 UFC no text

Maybe I just didn't see that this is normal but I can control everything just fine and the light panels work, but the "LCD" com1 / com2 panels do not show the text info in the JF-17 UFC.

DCS UFC not displaying f18 ufc and disconnection

DCS UFC is not displaying the in game text on the ufc in the app. If I restart my computer it works for a moment but afterwards goes dead. the buttons will still work sometimes and other times they wont. Someone please help. All the ports and scripts are correct along with the newest versions of the app and software.

DCS Nav crashes when opening the Radar Map

I have DCS Nav running on a Samsung Tablet (SM-T580) with Android 8.1.0.

  • Script Configurator is ready (Check returns all green boxes).
  • Android app has been configured with PC IP and its ports.
  • DCS has been configured with the tablet IP.
  • DCSUtil is running and its port is the same as the app in the tablet.

I open a mission on DCS and when I press the RADAR MAP button on the tablet interface, the world map opens briefly and then the app crashes.

EDIT
I tried everything on an Android 11 phone... same result.

Not working. Debugging Menu?

Followed the youtube tutorial step by step.
Bought and installed on Tablet.
Executed the update scripts as you see here
image

And the ip matches as well
image

So then i open the app go into mirage 2000 PCN or any display. Then start DCS go into instant actions free flight in DCS. but on the tablet nothing changes or displays. if i change it to the PCA or anything then it says on the bottom "trying to connect to" the correct ip address. But nothing changes. Touching any buttons doesn't do anything inside the cockpit.

BlueStacks DCS NAV

Hello sir, I have a problem with BleuStack with your application.

I could correctly install your application on bluestacks but when I launch it it does not work because I do not see myself on the maps, can you help me?

In addition :
https://cdn.discordapp.com/attachments/942779294139187241/1039189809085829242/image.png

You can see that I entered the ip address that bluestack uses with (android phone emulator)

I opened my ports and authorized the app in my anti virus
(on both)
(because I'm using bluestacks on a tablet computer)

So thank you for your attention to this message.

F16 DED

This is a really nice piece of software, thank you. I am using an android device and the ICP works well but I have two problems. I cannot seem to display the ded and the MCP is blank.

App get no informations

Hey, for me there is no way that it Works right :(

Buttons are Working from Tablet to PC. But no Infos are on the Tablet.

image

IP: Adresses are all perfect:

image

I opend al the Ports but not working either.

Is there another workaround?

DCS MFD Exporter not working

Hi

I'm a bit confused..
On your side for the MFD exporter in the FAQ's you mentioned that:

How this app impact on DCS performance?

  • affect less than normal export on another screen because viewports is "showing" below Your monitor, so GPU doesn't need to render it on screen

But unfortunately this isn't working, when I export my MFD's under my monitor then the test button never shows any image.. If I change the position of my secondary display underneath my first display, I can see the MFD getting exported and then when I hit the test button, the test is successful and showing the MFD's.

Could it be that the rendering is broken do to changes on ED/DCS rendering behavior?

Browse to DCS Directory

Upon opening Script Installer, I am unable to back out of a User directory to select my DCS installation location. Tried running as admin and changing Script Configurator.exe directories.

Feature Request: F-15E Steike Eagle

More of a request than an issue.
Probably doesn't need to be requested, but users of the app would certainly benefit from the F-15E Strike Eagle being added to the app.

Broken since update in September

Any particular reason DCS UFC will no longer connect to my pc? Nothing has changed since July but now it refuses to send or receive data. I have checked everything, reinstalled everything and nothing will work. Seems the issue is in the app...All IP and ports check out. My gameglass and matric apps still work perfectly...just UFC that now refuses to work. Since the last update.

C-101EB does not export (only C-101CC)

Modules folder does not include a file for C-101EB version of C-101, only the C-101CC.

I copied "C-101CC.lua" and renamed it "C-101EB" (and updated the comment on line 1), pasted it into the Modules folder, and in a quick check it does export now to DCS UFC.

I did not test with DCS Nav or the AOA app.

FPS cut in half when enabling the export

To reproduce:
-Disable export of pw-dev_script, test FPS in free flight mission; result = 121 average FPS
-Enable export of pw-dev_script, test FPS in same mission; result = 63 average FPS

To narrow it down I've also closed the android apps, so I can see it's caused only by the lua scripts.
Also have removed any other exports (commented our SRS and Tacview exports).

Copy of my export.lua

local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]])

-- Data export script for DCS, version 1.2.
-- Copyright (C) 2006-2014, Eagle Dynamics.
-- See http://www.lua.org for Lua script system info
-- We recommend to use the LuaSocket addon (http://www.tecgraf.puc-rio.br/luasocket)
-- to use standard network protocols in Lua scripts.
-- LuaSocket 2.0 files (*.dll and *.lua) are supplied in the Scripts/LuaSocket folder
-- and in the installation folder of the DCS.

-- Expand the functionality of following functions for your external application needs.
-- Look into Saved Games\DCS\Logs\dcs.log for this script errors, please.

-- local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')

-- pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil);

AJS37 CK37 akt pos out first digit doesn't flash to show long or lat

Hi,

When using the CK37 screen the first digit of the display in AKT POS out mode doesn't flash to differentiate between long and lat.

When first selecting akt pos out mode it does flash the for the first long lat display sequence, but then fails to flash thereafter.

app version: 1.0.2022.0520

F16 not working

Hello,

I have installed the latest pw-dev_script. (downloaded from this website)
When I run DCS with The F18 or the A10, I receive udp data from the lua script.
But when I run DCS with the F16, I receive no udp data from the lua script.
What can be the problem?

With kind regards,
Jan Hein

Could You build a Universal UFC ?

Hi, im a A-29B Freeware Pilot, i want to know if is possible you build an Universal UFC that contains a Basic controls similars to Others UFC, and will be Functional as Input for different aircrafts, without being the same as those of each plane , simply allows config the inputs into the DCS control settings. Is a very good idea While you develop a new UFC specifically for each aircraft.

The same way, if you decide build or devel a UFC for the A-29B SuperTucano Feeware, we wolud be grateful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.