nebriv / VTOLVR-TacviewLogger

A VTOL VR Mod to export data readable by Tacview
https://vtolvr-mods.com
21 stars 7 forks source link

Use of comma as decimal separator is preventing .acmi file from being loaded in Tacview #23

Open BuzyBee1983 opened 3 years ago

BuzyBee1983 commented 3 years ago

Hi,

Thanks for making this cool mod! I am a member of the Tacview dev team and a user reached out to me to find out why a particular ACMI file generated by this mod was not working in Tacview. I took a look and realized that it is because commas were being used as decimal separators. I have attached the .acmi file.

Perhaps it is because when printing numbers the mod is is using a method which calls the Windows Regional Settings of the user, which formats numbers according to the conventions of the user's country. Perhaps this issue could be fixed by using the print function instead to ensure that decimal points are used as decimal separators.

Best regards,

BuzyBee

datalog.acmi.txt

nebriv commented 3 years ago

@BuzyBee1983 Thanks for the report! I think I've got a fix for this in the next version!