Translations for our friends around the world.

Click on banner for Tacview website

Author Topic: Tacview 1.8.5 beta 7 is available Now  (Read 230 times)

0 Members and 1 Guest are viewing this topic.

Offline Asid

  • HAVOC
  • *
  • Posts: 22545
Tacview 1.8.5 beta 7 is available Now
« on: November 14, 2020, 01:02:39 AM »


Tacview 1.8.5 beta 7 is available Now

Download: HERE

•   Release Date: Fri, 13 Nov 2020
•   Operating System: Windowsฎ 32-bit / 64-bit
•   File Size: 515.6 MB


Release notes

FEATURES & CHANGES
•   ADDED DCS World 2.5 Caucasus map generously donated by Flappie
•   ADDED support for DCS: A-10C II Tank Killer
•   ADDED Over-G add-on for the Fight for Honor 2020 tournament
•   ADDED events location in the XML event log
•   ADDED support for spacecrafts
•   ADDED Numerous new functions to the addon API
•   ADDED add-on to import SENIN gps data
•   ADDED support for terrain texture tiles per simulator
•   IMPROVED turn rate calculation to ignore wind conditions
•   IMPROVED turn-rate automatic calculation addon
•   IMPROVED media synchronization when no metadata found
•   IMPROVED real-time telemetry data support
•   IMPROVED brand new option page for DCS World exporter

FIXES

•   FIXED Steam edition of Tacview not working with non-Steam edition of Command
•   FIXED radar cone orientation in the 3D view
•   FIXED trim operations behavior and stability
•   FIXED backward playback not working at x0.25 speed
•   FIXED numerous minor or rare bugs
•   FIXED several minor bugs in the Lua API


Restrictions

To run a beta version, you need a product key. Feel free to have a look at the features comparison to know which edition is the best for you if you are interested in buying Tacview.

Please note that even if we are doing our best to produce a high quality product, beta versions usually contains known and unknown bugs, may crash, or have some features disabled because of work in progress. This is why, it is suggested to download and install beta versions alongside the latest official release (not over it). That way, in case of problem, you can simple launch the latest stable version to continue your work...


funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

I stand against Racism, Bigotry and Bullying

Offline Wrycu

  • New member
  • *
  • Posts: 3
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #1 on: November 25, 2020, 01:37:27 AM »
I'm using the new "Media" API introduced in this beta and it appears to not work.


When loading audio outside of a function, it causes the UI to be reset to default (displays controls, player controls on the left, forgets all other open windows.) Additionally, calling it via a function (e.g. from a menu) seems to always return false, indicating a failure. The odd thing is that the file path is correct (I copy/pasted it out of explorer) and the file plays just fine when loaded manually (indicating it's not a codec error.)


On a side note, it'd be wonderful to get more detail on the failure to load media so that the addon can properly handle it.
funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Offline BuzyBee

  • Tacview
  • *
  • Posts: 69
    • Tacview
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #2 on: November 25, 2020, 02:59:29 PM »
Hi Wrycu, can you please share the code and the media files that are causing these issues? Including the exact file path that you are giving to the function.
funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Wrycu

  • New member
  • *
  • Posts: 3
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #3 on: November 25, 2020, 05:07:59 PM »
Here's a link to both: https://drive.google.com/file/d/1mDD6kL2MFEUM7H93HSGnF50rx5wKrY-2/view?usp=sharing


The code is below (as well as in the ZIP linked above) since it might be faster to just look at it. Note that commenting out lines 16, 24, and 26 results in the UI being reset while running it as-is only returns false.
Code: [Select]

local Tacview = require("Tacview185")


-- Before anything else we should name our add-on


Tacview.AddOns.Current.SetTitle("SRS Recorder")
Tacview.AddOns.Current.SetVersion("0.0.1")
Tacview.AddOns.Current.SetAuthor("Wrycu")
Tacview.AddOns.Current.SetNotes("Test module to load audio")


-- We can directly ask Tacview to display specific information in its log


Tacview.Log.Info("Loading SRS Recorder by Wrycu")
--Tacview.Media.Load(0, "C:\\Users\\Tim\\PycharmProjects\\srs-recorder\\305000000.0.ogg", Tacview.Context.GetAbsoluteTime())
Tacview.Log.Info("WRYCU - loaded 305000000.0.ogg")


function load_audio()
    if (Tacview.UI.MessageBox.Question("Load audio?") == Tacview.UI.MessageBox.OK) then
        Tacview.Log.Info("You said yes")
        loaded = Tacview.Media.Load(0, "C:\\Users\\Tim\\Documents\\audio.ogg", 1290175200)
        Tacview.Log.Info("WRYCU - loaded audio.ogg:", loaded)
    else
        Tacview.Log.Info("You said no")
    end
end


Tacview.UI.Menus.AddCommand(nil , "load audio", load_audio)






--Tacview.Events.DocumentLoaded.RegisterListener(file_loaded())
funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Offline BuzyBee

  • Tacview
  • *
  • Posts: 69
    • Tacview
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #4 on: November 26, 2020, 04:05:07 PM »
I see that the UI is being reset when the media file is loaded outside of a function. We'll fix that in a coming update. Thanks for letting us know.

Your media file should be working though. Does it work if you place the media file in the add-on folder and change line 19 to:

Code: [Select]
local loaded = Tacview.Media.Load(0, Tacview.AddOns.Current.GetPath() .. "audio.ogg", 1290175200)

If the error persists can you share your Tacview.log (found in the TEMP folder).

We will add more logging of errors in a coming update.

funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Wrycu

  • New member
  • *
  • Posts: 3
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #5 on: November 26, 2020, 07:09:34 PM »
Putting it in the addon directory does work - thanks!


While trying to generate the error condition again, I think I found another bug. I have media window 1 open and set to autohide. I then call my addon, which attempts (and fails) to load the audio. Unhiding the media window shows the window without an error in it, while attempting to load the audio file without having the media window open beforehand results in an (erroneous) message saying the audio file is unsupported.


Here's the log of the unsuccessful load:
funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Offline BuzyBee

  • Tacview
  • *
  • Posts: 69
    • Tacview
Re: Tacview 1.8.5 beta 7 is available Now
« Reply #6 on: November 30, 2020, 09:01:36 PM »
I see that loading a media file when the media window it auto-hidden does not seem to work. We will fix that in an upcoming version. Thanks for the bug report.
funny
0
informative
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions

Tags:
     

    About Tacview

    Started by AsidBoard Tacview

    Replies: 0
    Views: 8868
    Last post May 21, 2016, 03:32:29 PM
    by Asid
    How to convert Falcon 4.0 coordinates in Tacview coordinates?

    Started by VyrtuozBoard Falcon 4.0

    Replies: 0
    Views: 5931
    Last post May 25, 2016, 11:44:25 PM
    by Vyrtuoz
    How can I programmatically know where Tacview is installed on my system?

    Started by VyrtuozBoard Tutorials

    Replies: 0
    Views: 6257
    Last post May 26, 2016, 02:07:25 PM
    by Vyrtuoz
    Who is behind Tacview?

    Started by VyrtuozBoard Tacview

    Replies: 0
    Views: 9465
    Last post May 27, 2016, 03:09:36 PM
    by Vyrtuoz
    Korea Aeronautical Information Publication (AIP) for Tacview

    Started by VyrtuozBoard Falcon 4.0

    Replies: 0
    Views: 5706
    Last post May 27, 2016, 05:46:05 PM
    by Vyrtuoz