Thanks for the new version.
I can confirm that the Windows-1252 encoding problem is solved. The log file also shows the name of the xml file.
However, I found another problem in the log file: when a scenery path has a comma in the name as in "C:\FlightSimulator\Lockheed Martin\MyScenery\LICC - Catania, Sicily", that comma is replaced by "," and then it gets a DirectoryNotFoundException:
I installed a new W10 Pro 21H2 Virtual Machine and downloaded Plan-G v4.0.1.262 into it. I started the program and clicked "Build Navigation Database" on the the Data tab. The dialog box shows enabled check boxes for "Build P3D Database" as wel as "Build P3D v5 Database"! Then I clicked "Settings..." and saw that every entry was empty, except for the "Plan-G Files Folder".
I can confirm that the Windows-1252 encoding problem is solved. The log file also shows the name of the xml file.
However, I found another problem in the log file: when a scenery path has a comma in the name as in "C:\FlightSimulator\Lockheed Martin\MyScenery\LICC - Catania, Sicily", that comma is replaced by "," and then it gets a DirectoryNotFoundException:
Code Select
18:49:50.0 Scanning folder C:\FlightSimulator\Lockheed Martin\MyScenery\LICC - Catania, Sicily
18:49:50.0 Directory error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\FlightSimulator\Lockheed Martin\MyScenery\LICC - Catania, Sicily\Scenery'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at Plan_G.Model.BGLSCAN.Scan() in C:\Users\Tim\source\repos\Plan-G\Model\BGLScan.cs:line 235
Quote from: tim arnot on July 15, 2022, 12:44:11 PM* The Build P3Dv5 button on the Build dialog is active if either a path for P3dv5 has been specified in Build Options or one of the P3dv5 registry locations is set (either AppPath or SetupPath)I'm afraid that's not the case.
I installed a new W10 Pro 21H2 Virtual Machine and downloaded Plan-G v4.0.1.262 into it. I started the program and clicked "Build Navigation Database" on the the Data tab. The dialog box shows enabled check boxes for "Build P3D Database" as wel as "Build P3D v5 Database"! Then I clicked "Settings..." and saw that every entry was empty, except for the "Plan-G Files Folder".