• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

scenery.cfg file question

highpockets

SOH-CM-2025
When I add or move scenery around in my library, why does't the scenery.cfg file reflect the same heirachy seqence that the library screen does. I would expect when I close out CFS2 & reopen after a scenery positon change, the scenery.cfg should show that. It doesn't:help:
 
It does reflect, you just have to look closer at the details. By default, the textual order in the cfg doesn't change any positions, just the layer numbers in each entry affected:

[Area.015]
Title=Japan1941
Local=..\CFS2_Scenery\~ASIAN-PACIFIC\Japan1941
Remote=
Active=FALSE
Required=FALSE
Layer=15

Unfortunately, this system can leave your cfg in a mess over time that may be perfectly readable to the sim engine, but very offensive to the eye. I use the attached application below to resort my hierarchy after every cfg change. It's designed specifically with FS2002 in mind, but works in every MSFS that uses a scenery.cfg file AFAIK, the exception being CFS3. Just drop it into your main CFS2 folder and make a desktop shortcut for it. After a major cfg mod, just double click the shorty and it'll auto-sort the cfg for a correct visual layout.

Remove the txt extension to make it an exe file....
 
Thanks Bearcat241
I ran it and it worked as adverised.
Being an "old engr", I like things being in order and I did not understand the internal workings.I see the layers and areas can be different, but the layers are the key, Right?
Can you educate me on the meaning of "Required", "Active" and true or false??
 
"Required" means its a necessary default scenery item in the design structure of the sim. Having it set to "True" is the same as saying "yes, its required and should never be deactivated or deleted". "Required=FALSE" would be "no, this item is not required and can be deactivated or deleted". All stock items in the scenery library are set to "Required=TRUE" by default. All add-on scenery is "Required=FALSE" by default.

"Active" means that the scenery item has been activated by the little (x) in the check box of its place in the library. If you deactivate it to avoid conflict with something else, but choose to leave it installed in the library, it will read as "Active=FALSE" in the sceney.cfg.
 
Back
Top