• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

How to ...TCALCX?

Messages
83
Country
us-illinois
Hi friends,

Where to install and how to operate TCALCX in order to capture the coordinates in the FSX? I don't see any Readme file for instructions and as to what to expect. PLEASE HELP!

dito
 
Hi friends,

Where to install and how to operate TCALCX in order to capture the coordinates in the FSX? I don't see any Readme file for instructions and as to what to expect. PLEASE HELP!

dito

hi Dito,
You can install TCalcX anywhere you like.
Start FSX and then TCalcX and just read the coordinates or copy them where you want to use them.
That's all.

Regards
Bert
 
hi Dito,
You can install TCalcX anywhere you like.
Start FSX and then TCalcX and just read the coordinates or copy them where you want to use them.
That's all.

Regards
Bert


Hi Bert,

Something may be wrong. Here is what happen: I start FSX and then on the TCalcX-002 (with a globe icon) to run it. But the dialog box that comes up says, "This file does not have a valid digital signature that verifies its publisher..."

I ignore that at click "RUN." Another dialog box shows up saying, "Unhandled exception has occured in your application. ... The system could not find the file specified."

Farther explaination of the problem by pressing the DETAIL button says:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at TCalcX_002.Form1.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TCalcX_002
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X/TCalcX_002.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."

And if I press Continue, nothing loads up. It's the end of of.

I notice I don't have Excel application in my computer but have Notepad, Word, etc.

Any help in solving this problem would be very much appreciated!

dito
 
hi Dito,
That was a long story for such a simlpe and very nice tool as TCalcX.
I hope that the maker of this tool Dick Lodewise alias rhumbaflappy will read this asap and certainly can and will help you.

Regards
Bert
 
hi Dito,
You can install TCalcX anywhere you like.
Start FSX and then TCalcX and just read the coordinates or copy them where you want to use them.
That's all.

Regards
Bert

Bert, I have never noticed TCalcX being able to COPY lat/long/alt values before! Thanks for this information, I don't know how to do it, but I will investigate...
 
hi Dito,
That was a long story for such a simlpe and very nice tool as TCalcX.
I hope that the maker of this tool Dick Lodewise alias rhumbaflappy will read this asap and certainly can and will help you.

Regards
Bert

Bert,

Thank you for a prompt reply and I truly hope so.
Also, I am runing Windows XP Home (Could it be compactibility issue?).

dito
 
I am running WinXP home SP2 and it works fine for me.

That's a lot of error for such a simple program.

TCalcX is not absolutely essential for what you are doing. All you need to do is use the SHIFT-Z coordinates. Six decimal places is accurate enough 99% of the time.
 
Hi dito.

The problem is not TCalcX, but it is Simconnect. It's not installed on your machine... otherwise the computer wouldn't be looking for it.

Simconnect is part of the installation of FSX. If Simconnect is missing, then you need to repair FSX, or uninstall/reinstall it.

Latitude, longitude, ground altitude and heading can all be selected and copied to the clipboard.

Dick
 
I am running WinXP home SP2 and it works fine for me.

That's a lot of error for such a simple program.

TCalcX is not absolutely essential for what you are doing. All you need to do is use the SHIFT-Z coordinates. Six decimal places is accurate enough 99% of the time.

He is using it so he can get the coordinate's in this kind of format.

37.081502805627
-113.593256835963
 
I am running WinXP home SP2 and it works fine for me.

That's a lot of error for such a simple program.

TCalcX is not absolutely essential for what you are doing. All you need to do is use the SHIFT-Z coordinates. Six decimal places is accurate enough 99% of the time.

Thanks Mace.

However I ran into another problem running the FSX_KML. I elaborated in the AVSIM forum. But, here's what happened:

After entering all the coordinate points, I proceeded with "Add KML" then I applied the "tag" (by selecting "Freeway Traffic") then I clicked "BUILD":

In the PATH:
-FSX folder:C:\Program Files\Microsoft Games\Microsoft Flight Simulator X

-Terrain SDK:C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Terrain SDK

-Output folder:C:\Documents and Settings\Owner\My Documents\MyGoogleEarthProjects

(PS. The KML Lakeshore Dr.1 is within the MyGoogleEarthProjects folder)


With all the 3 options (1.Automatically reverse reverse points in polygon holes, 2.Run SDK Tools, and 3.Copy generated Scenery to FSX addon scenery folder) checked.

Then I pressed the BUILD button. But I got this message:

"Error log: Source file .\???LAKESHORE DR.1*shp not found. The system cannot find the file specified."

Following your instructions I have saved the Path created via GE as kml.

In the BUIL PROGRESS dialog box says:

Build started
Processing C:\Documents and Settings\Owner\My Documents\MyGoogleEarthProjects\Lakeshore Dr.1.kml
INVALID TAG ""
Running Run_SDK_Tools.bat
Build completed

But the supposed TAG seems correct. It reads:
<tag>
<tag>FreewayTraffic</tag>
<description>FreewayTraffic</description>
<Feature>FreewayTraffic</Feature><guid>{54B91ED8-BC02-41B7-8C3B-2B8449FF85EC}</guid></tag>
<tag>

So what is wrong? THANK YOU for YOUR HELP!

dito
 
Hi dito.

The problem is not TCalcX, but it is Simconnect. It's not installed on your machine... otherwise the computer wouldn't be looking for it.

Simconnect is part of the installation of FSX. If Simconnect is missing, then you need to repair FSX, or uninstall/reinstall it.

Latitude, longitude, ground altitude and heading can all be selected and copied to the clipboard.

Dick

I Dick,

I do have Simconnect having downloaded it just before the TCalcX. I made a search fot it in my computer and it produced a kot of results with that name.

So what may still be wrong?

dito
 
How To Correctly Apply The Tag?

I get INVALID tag on FS_KML.

How to correctly apply a TAG to a path created using GE? And where to put it exactly in order to solve the problem (It is the "Freeway Traffic")?

Thanks a lot for your input!

dito
 
Where it says "description" just put FreewayTraffic and nothing else. Same goes for all the tags.

So if you wanted to use this....

<tag>Roads_Gravel_2_Lanes_Divided_Median</tag>
<description>Roads_Gravel_2_Lanes_Divided_Median</description>
<guid>39ED7845-29EB-4C21-95C2-544B0C6E90D8</guid>
<Feature>Road</Feature>

all you would put in the description is:

Roads_Gravel_2_Lanes_Divided_Median
 
I do have Simconnect having downloaded it just before the TCalcX.
dito

Hi dito.

Simconnect is part of the FSX installation. If applications can't find it, your FSX needs to be repaired or uninstalled/reinstalled.

It will be found only in your GAC. You cannot add items to the GAC... they are added programmatically. Here's where mine is found:

C:\WINDOWS\assembly\GAC_32\Microsoft.FlightSimulator.SimConnect\10.0.60905.0__31bf3856ad364e35\Microsoft.FlightSimulator.SimConnect.dll

Dick
 
Hi dito.

Simconnect is part of the FSX installation. If applications can't find it, your FSX needs to be repaired or uninstalled/reinstalled.

It will be found only in your GAC. You cannot add items to the GAC... they are added programmatically. Here's where mine is found:

C:\WINDOWS\assembly\GAC_32\Microsoft.FlightSimulator.SimConnect\10.0.60905.0__31bf3856ad364e35\Microsoft.FlightSimulator.SimConnect.dll

Dick

Hi Dick,

I did a repair but "GAC-32|..." is not there (C:\WINDOWS\assembly\Download)

So, if I uninstall FSX and reinstall it I am goinf to loose all the installed addons so far oe not?

dito
 
Where it says "description" just put FreewayTraffic and nothing else. Same goes for all the tags.

So if you wanted to use this....

<tag>Roads_Gravel_2_Lanes_Divided_Median</tag>
<description>Roads_Gravel_2_Lanes_Divided_Median</description>
<guid>39ED7845-29EB-4C21-95C2-544B0C6E90D8</guid>
<Feature>Road</Feature>

all you would put in the description is:

Roads_Gravel_2_Lanes_Divided_Median


Unfortunately the word "DESCRIPTION" is not in this code:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>Lakeshore Dr.1.kml</name>
<Style id="sh_ylw-pushpin_copy1">
<IconStyle>
<scale>1.3</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff0000ff</color>
</LineStyle>
</Style>
<Style id="sn_ylw-pushpin_copy1">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff0000ff</color>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin_copy1">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin_copy1</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin_copy1</styleUrl>
</Pair>
</StyleMap>
<Placemark>
<name>Lakeshore Dr.1</name>
<styleUrl>#msn_ylw-pushpin_copy1</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-87.592222,41.806944,0-87.593056,41.807778,0-87.585833,41.810556,0-87.587778,41.812500,0-87.589167,41.814167,0-87.592778,41.818056,0-87.594444,41.820556,0-87.599444,41.824167,
0-87.600556,41.825278,0-87.607778,41.823611,0-87.600833,41.831667,0-87.607778,41.838611,0-87.611111,41.842778,0-87.613056,41.835556,0-87.612778,41.837778,0-87.613611,41.841111,
0-87.617500,41.851111,0-87.620833,41.860000,0-87.621667,41.851944,0-87.623333,41.856111,0-87.625556,41.859167,0-87.617500,41.865556,0-87.619444,41.869722,0-87.620833,41.874444,
0-87.621111,41.877222,0-87.620833,41.866944,0-87.620000,41.867222,0-87.618889,41.868889,0-87.617222,41.870278,0-87.617222,41.871667,0-87.617778,41.886111,0-87.617778,41.891389,
0-87.626944,41.893611,0-87.623889,41.883889,0-87.622778,41.884722,0-87.622500,41.886389,0-87.622778,41.889722,0-87.623056,41.890278,0-87.623333,41.892500,0-87.623333,41.893333,
0-87.623056,41.894444,0-87.623056,41.895000,0-87.623333,41.896389,0-87.623333,41.896944,0-87.623333,41.898611,0-87.623611,41.899444,0-87.621667,41.951667,0-87.622222,41.902222,
0-87.622778,41.902222,0-87.626111,41.902500,0-87.627222,41.903056,0-87.627778,41.903333,0-87.628333,41.903889,0-87.628889,41.904444,0-87.629167,41.905000,0-87.629722,41.906944,
0-87.630000,41.908333,0-87.631667,41.915556,0-87.631944,41.918333,0-87.631944,41.919444,0-87.632222,41.920833,0-87.636389,41.917778,0-87.638889,41.921389,0-87.641667,41.935278,
0-87.641944,41.938056,0-87.641944,41.943889,0-87.642500,41.935278,0-87.643333,41.937222,0-87.633889,41.939167,0-87.639722,41.943333,0-87.641667,41.945556,0-87.642222,41.946111,
0-87.642778,41.946667,0-87.651944,41.951667,0-87.652222,41.952778,0-87.652222,41.954444,0-87.652222,41.957778,0-87.652778,41.960278,0-87.654167,41.964167,0-87.654722,41.967222,
0-87.654722,41.968611,0-87.654722,41.970000,0-87.658056,41.973611,0-87.659722,41.979167,0-87.653333,41.989722,0-87.653889,41.991111,0-87.654167,41.992500,0-87.654444,41.985278,
0-87.654722,41.985833,0-87.655000,41.986389,0-87.655556,41.986944,0-87.656389,41.987222,0-87.656944,41.987222,0-87.658333,41.987222</coordinates>
</LineString>
</Placemark>
</Document>
</kml>


WHAT IS WRONG AND HOW TO FIX IT? I do not know why the <Description> is NOT there.:confused:

Any help from anyone will be mightily appreciated!

dito
 
Can you open it in FSX KML, highlight your polyline, click on the description cell
and press F2. You should see arrow, click on it, select freewaytraffic and press enter. That should tag your polyline with "freewaytraffic".

If it still doesn't work can you upload your .KML file?
 
Last edited:
Can you open it in FSX KML, highlight your polyline, click on the description cell
and press F2. You should see arrow, click on it, select freewaytraffic and press enter. That should tag your polyline with "freewaytraffic".

If it still doesn't work can you upload your .KML file?

I will try that and,

Thank you!

dito
 
Unfortunately the word "DESCRIPTION" is not in this code:

Then that means you are not entering any description info in the properties of your line in GoogleEarth. Generally it's best to enter some description info there...and then remove that and replace with your tag once you are modifying your .kml.

If you don't, it appears you won't get a <description> construct.

At least that's how I do it.
 
Hi dito.

Simconnect is part of the FSX installation. If applications can't find it, your FSX needs to be repaired or uninstalled/reinstalled.

It will be found only in your GAC. You cannot add items to the GAC... they are added programmatically. Here's where mine is found:

C:\WINDOWS\assembly\GAC_32\Microsoft.FlightSimulator.SimConnect\10.0.60905.0__31bf3856ad364e35\Microsoft.FlightSimulator.SimConnect.dll

Dick

Hi Dick,

I proceeded with REPAIRING my FSX installation and made a search in my computer for "SimConnect" and it produced a few results:

e.g. SimConnet SDK folder:
-config, Images, inc, lib, samples subfolders; and nearly 20 results on SimConnect.

BUT I don't see "C:\WINDOWS\assembly\GAC_32\Microsoft.FlightSimulator.SimConnect\10.0.60905.0__31bf3856ad364e35\Microsoft.FlightSimulator.SimConnect.dll"

SO, I do not know why TCalcX is still unable to operate as it should, which would really help for grabbing coordinates.


dito
 
Back
Top