From b94183ab443060a79bf1f3d4aac244f5f86ce941 Mon Sep 17 00:00:00 2001 From: Roman Romanchuk Date: Sat, 2 Oct 2021 17:25:28 +0200 Subject: [PATCH 1/2] Corrected example path for MSFS2020 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3db82da..04654f3 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ See [this post](https://forums.flightsimulator.com/t/guide-how-to-extract-base-p Once you have extracted the MSFS 'base' packages to a location, you only need to point to it the first time using `-s`. -Example: `-s "c:\MSFS Base\Packages\fs-base-propdefs\Propdefs\1.0\"` . +Example: `-s "c:\MSFS Base\Packages\fs-base-propdefs\Propdefs\1.0\Common"` . After that it will use a cache file called `propdefs.cache`, and you dont need to specify `-s` anymore. From 180fa65cd62cb4325518cef51cbdc7ef28678d79 Mon Sep 17 00:00:00 2001 From: Roman Romanchuk Date: Sat, 2 Oct 2021 17:25:46 +0200 Subject: [PATCH 2/2] Fixed resolution of included xml files --- SymbolBank.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SymbolBank.cs b/SymbolBank.cs index f0dcc8e..4366079 100644 --- a/SymbolBank.cs +++ b/SymbolBank.cs @@ -31,7 +31,7 @@ private SymbolBank() public bool AddSymbolDefinitionFile(string url) { // extract directory - string dirName = new FileInfo(url).DirectoryName; + string dirName = new FileInfo(url).Directory.Parent.FullName; XmlDocument doc = new XmlDocument(); doc.Load(url);