Board index FlightGear Support Installation Mac

Where is .fgfsrc?  Topic is solved

Installing FlightGear, scenery, aircraft etc. on Mac.

Where is .fgfsrc?

Postby kjd.nc » Fri Dec 11, 2015 6:41 pm

Where on Mac does .fgfsrc reside? Or if it's in a different file, what is it?
Thanks - kevin
kjd.nc
 
Posts: 72
Joined: Sat Nov 07, 2015 4:45 pm
Location: NC, USA
Version: 3.4
OS: MacOS 10.11.1

Re: Where is .fgfsrc?  

Postby kjd.nc » Fri Dec 11, 2015 9:41 pm

Pretty sure I've found it -- ~/Library/Preferences/org.flightgear.FlightGear.plist.
You can browse those values with the 'plutil' command.

Code: Select all
$ plutil -p Library/Preferences/org.flightgear.FlightGear.plist
{
  "altitude" => 6000
  "start-fullscreen" => 1
  "season" => 0
  "hud" => 1
  "terrasync" => 1
...

kjd.nc
 
Posts: 72
Joined: Sat Nov 07, 2015 4:45 pm
Location: NC, USA
Version: 3.4
OS: MacOS 10.11.1

Re: Where is .fgfsrc?

Postby Hooray » Sat Dec 12, 2015 9:38 pm

the wiki has a fgfsrc article, which has all the paths listed
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Where is .fgfsrc?

Postby kjd.nc » Sun Dec 13, 2015 12:10 am

Hooray, are you referring to this one? http://wiki.flightgear.org/Fgfsrc
There is no file .fgfsrc in my home directory. (Yes, I'm sure I'm looking in the right directory, and I know about hidden dot files, I've been using unix systems since about 1989.)
Is it there on your Mac?

I'm not sure that the preferences plist file is the complete story for Mac; if so, I'll do my best to correct the wiki based on what I've discovered. I was hoping that someone who was involved with that part of the project might chime in.
kjd.nc
 
Posts: 72
Joined: Sat Nov 07, 2015 4:45 pm
Location: NC, USA
Version: 3.4
OS: MacOS 10.11.1

Re: Where is .fgfsrc?

Postby wkitty42 » Mon Dec 14, 2015 2:43 am

FWIW: the ""normal"" .fgfsrc file is little more than your command line options, one to a line... each starts with the two dashes "--" just like on the command line... it looks nothing like the plist file above...

here's what my old .fgfsrc file looks like... yes, the lines starting with '#' are commented out but i don't think that was working properly until recently in 3.7... but that may have been only for the new Qt5 --launcher's "additional settings" code which is also exactly like the following ;)
Code: Select all
$cat ~/.fgfsrc

# $HOME/.fgfsrc
#--fg-root=/home/myuser/flightgear-dev/next/install/flightgear/fgdata
--fg-aircraft=/home/myuser/myflightgear/Aircraft:/home/myuser/flightgear-dev/fgaddon-ng/Aircraft
--fg-scenery=/home/myuser/myflightgear/Scenery:/home/myuser/.fgfs/TerraSync
--terrasync-dir=/home/myuser/.fgfs/TerraSync

# Time
--time-match-local

#--prop:/sim/rendering/max-paged-lod=200
--prop:/local-weather/config/ground-haze-factor=50

#--prop:/sim/frame-rate-throttle-hz=60
#--prop:/sim/rendering/multi-sample-buffers=1
#--prop:/sim/rendering/multi-samples=4
##--prop:/sim/rendering/multithreading-mode=AutomaticSelection
#--prop:/sim/rendering/vsync-enable=false
--prop:/sim/sound/voices/enabled=false


--disable-random-objects
--enable-hud
--enable-anti-alias-hud
--enable-auto-coordination
--enable-horizon-effect
--enable-enhanced-lighting
--enable-ai-models
--enable-ai-traffic
--enable-real-weather-fetch
--enable-fuel-freeze
--enable-clouds3d
--enable-fullscreen
--fog-disable
#--geometry=1280x1024
--geometry=1600x1200
--visibility=100000
--bpp=32
--disable-terrasync
--httpd=5500
--callsign=wk42
--disable-fgcom

# local experimental options
#--prop:/sim/rendering/osg-notify-level=fatal
#--prop:/sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContext
#--prop:/sim/rendering/draw-mask/clouds=0
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Mac

Who is online

Users browsing this forum: No registered users and 2 guests