Click on banner for Tacview website

Can't record Tacview Flights from DCS

Started by fishnet, November 15, 2020, 02:01:56 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fishnet

Hi All

I've got DCS Version 2.5.6 fully up to date and I'm running a licensed version of Tacview standard 64bit 1.8.4,
Until recently I could see and interrogsate all DCS flights successfully in Tacview. Lately however, Tacview only displays a tiny 3 kb or 4 kb ACMI file in the Tacview folder with no flight data in it. It has the proper mission title and map but nothing else. I've re-installed Tacview and the DCS Tacview exporter looks to be in place with the "export files" box ticked. Everything else appears solid. Just not getting anything across from DCS. Any ideas? thanks Fish

BuzyBee

Hi,

In your file Saved Games\DCS\Scripts\Export.lua, do you see the following line:

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


If it's not there can you try adding it.
Click.gif

fishnet

#2
Hi Thanks for your help. This is the detail in the DCS lua file:

dofile(lfs.writedir()..[[Scripts\SimShaker-export-core\ExportCore.lua]])
local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua')
local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')

Unfortunately doesn't work with these lines. Got any ideas or places to look beyound this. Thanks
Fish

BuzyBee

Click.gif

fishnet

Hi BuzyBee - please see attached zip file. Really appreciate your looking into this for me.  Kind regards Fish

BuzyBee

In the export.lua can you try putting the Tacview line before the other two lines? Instead of

dofile(lfs.writedir()..[[Scripts\SimShaker-export-core\ExportCore.lua]])
local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua')
local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')

Make it like this:

local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')
dofile(lfs.writedir()..[[Scripts\SimShaker-export-core\ExportCore.lua]])
local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua')

Also, do you have the same same issue when you fly offline? Is it possible that the server you are flying on does not allow object export and/or has a 10-minute anti-cheat delay activated?

Lastly, try running Repair DCS World or Repair DCS World Open Beta
Click.gif

fishnet

Hi - I have two DCS root folders in my saved games folder.

One is "DCS" and the other is "DCS.openbeta". Both have a "scripts" folder.
There was no reference to Tacview in the DCS.openbeta scripts folder. i.e.

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

I put the line into the DCS.openbeta/scripts folder and it produced a Tacview file 'name.txt.acmi' which played back normally in TacView.

Do I need this "DCS" folder? It doesn't appear to do much. Thanks

BuzyBee

The DCS.openbeta folder applies when you are launching DCS Open Beta and DCS folder applies if you are launching DCS "stable version". Even if you always use the DCS Open Beta, you might need DCS "stable version" one day if there is a problem with the Open Beta.
Click.gif

fishnet