I've got a problem with loading custom scenery on a Mac that is driving me mad, and lots of searching on the forums and wiki has not bought a solution so far.
OS/FG version:
FG Version: 2020.3.6
OS X version: Big Sur 11.2.2
I've created custom scenery for both Texel (EHTX) and Den Helder/De Kooy (EHKD) using the method i've worked out as described in post 3 here: https://forum.flightgear.org/viewtopic.php?f=5&t=38816 . In addition since I wrote this, i've also got TerraGear and genapts850 working in an Ubuntu 20.04 VM so I can generate the .btg file locally. Once generated on the VM, i'm moving the scenery to the Mac on an external disk, following the proper path convention - i.e. for EHKD:
- Code: Select all
/Volumes/2TB 1/flightgear_data/custom_scenery/
|-Airports-E-H-K-EHKD.dat
|-Objects-e000n50-e004n52-(empty)
|-Terrain-e000n50-e004n52-EHKD.btg.gz
However, the problem comes when trying to get FG to pick up the scenery. It seems that the default scenery directory takes preference over the custom scenery folder.
I'm launching FG using the following script (which also drives two arduinos and a raspberry pi running FGpanel) on my custom panel):
- Code: Select all
/Applications/Flightgear/FlightGear.app/Contents/MacOS/fgfs \
--generic=socket,out,25,192.168.3.10,5432,udp,"/Users/tom/Desktop/flightgear_launch/cessna/panel_drive" \
--generic=serial,out,25,/dev/tty.usbserial-1411110,38400,/Users/tom/Desktop/flightgear_launch/cessna/serial_out_char_radio_tidied \
--generic=serial,in,25,/dev/tty.usbserial-A50285BI,38400,"/Users/tom/Desktop/flightgear_launch/cessna/serial_radio_in_increment_touchscreen" \
--aircraft=$1 \
--airport=$2 \
--httpd=8080 \
--timeofday=noon \
--fov=100 \
--addon=/Applications/Flightgear/RedGriffinATC \
--fg-scenery="/Volumes/2TB 1/flightgear_data/custom_scenery/"
However, the custom scenery is not picked up, even though i've specified the --fg-scenery path. the scenery path is determined by doing a 'pwd' in a terminal when in the directory.
I know the scenery works, because if I copy the .btg files into master scenery directory (e.g., for De Kooy - /Users/tom/Library/Application Support/FlightGear/TerraSync/Terrain/e000n50/e004n52) they work fine and the new airport layout is displayed.
I get the idea i'm missing something? Any ideas? (short of adding an rsync command to the launch script to force copy across any custom airports).
Thanks in advance,
Tom