Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Microsoft Windows issues"

From FlightGear wiki
Jump to: navigation, search
m (Can't locate data files - new install)
(Updated with proper image and streamlined the fix)
Line 2: Line 2:
  
 
==Can't locate '''data''' files - new install==
 
==Can't locate '''data''' files - new install==
'''''Known bug'''''
+
{{Note|Default locations of $FG_ROOT, is the path of your installation directory. Examples are here [[$FG_ROOT]]. If you changed your installation directory during install of FlightGear then use that path instead}}
*'''Resolution''' - Tell FlightGear where to find the data files that were installed.  
+
After a new install and upon running FlightGear for the first time you see this dialog
:::''post img here''
+
 
:::You can also paste these 3 lines inside of Notepad and '''save as''' <code>fg-root.reg</code> file to desktop, then double click the file and add the entry to registry
+
[[File:Flightgear missing data files.PNG|Error box for FlightGear when it does not know the location of the correct data files]]
::::<syntaxhighlight lang="reg">Windows Registry Editor Version 5.00  
+
 
 +
'''Resolution''' - Tell FlightGear where to find the data files that were installed. I present here 3 options. Whichever you choose, make sure you update the '''PATH''' according to your installation directory
 +
*'''Choose Folder''' and point it to [[$FG_ROOT]]
 +
*Paste these 3 lines inside of Notepad.exe, or some other editor, '''save as''' <code>fg-root.reg</code> file to desktop, then double click the file and add the entry to registry
 +
{{Note|Yes, you need the double \\ in the path}}
 +
::<syntaxhighlight lang="reg">Windows Registry Editor Version 5.00  
 
[HKEY_CURRENT_USER\SOFTWARE\FlightGear\FlightGear]
 
[HKEY_CURRENT_USER\SOFTWARE\FlightGear\FlightGear]
 
"fg-root"="C:\\Program Files\\FlightGear 2016.1.1\\data"</syntaxhighlight>
 
"fg-root"="C:\\Program Files\\FlightGear 2016.1.1\\data"</syntaxhighlight>
:::Open up '''regedit''' and add <code>fg-root</code> key.
+
*Open up '''regedit''' and add <code>fg-root</code> '''Key''' as a '''string''' value of [[$FG_ROOT]]
  
 
==Terrasync - Known Issues==
 
==Terrasync - Known Issues==

Revision as of 09:12, 30 March 2016

Note  Creating this page to post solutions for new users to FlightGear on Microsoft Windows systems 7, 8.1, 10

Can't locate data files - new install

Note  Default locations of $FG_ROOT, is the path of your installation directory. Examples are here $FG_ROOT. If you changed your installation directory during install of FlightGear then use that path instead

After a new install and upon running FlightGear for the first time you see this dialog

Error box for FlightGear when it does not know the location of the correct data files

Resolution - Tell FlightGear where to find the data files that were installed. I present here 3 options. Whichever you choose, make sure you update the PATH according to your installation directory

  • Choose Folder and point it to $FG_ROOT
  • Paste these 3 lines inside of Notepad.exe, or some other editor, save as fg-root.reg file to desktop, then double click the file and add the entry to registry
Note  Yes, you need the double \\ in the path
Windows Registry Editor Version 5.00 
[HKEY_CURRENT_USER\SOFTWARE\FlightGear\FlightGear]
"fg-root"="C:\\Program Files\\FlightGear 2016.1.1\\data"
  • Open up regedit and add fg-root Key as a string value of $FG_ROOT

Terrasync - Known Issues

Failed to remove file

.terrasync_cache files can not be deleted. You will see errors in console. There is not much to do other then delete the .terrasync_cache files manually and then run FlightGear again to let it recreate the up-to-date .terrasync_cache files.

insert powershell script here to help with this for those that want to try.