- Messages
- 34,328
- Country

Hi all,
I'm working on a new tool that will run when FS starts, using the exe.xml file. I'm wondering what is the best way to find the scenery.cfg file in that case.
The tool can run from FSX or P3D v2, so how do I know which folder to use to find the scenery.cfg file?
The best approach I can think of now is check what exe is in the FS folder (I know that folder because that's the working folder when started by FS). But it feels a bit clumsy to do it like this. Am I missing another approach?
I'm working on a new tool that will run when FS starts, using the exe.xml file. I'm wondering what is the best way to find the scenery.cfg file in that case.
The tool can run from FSX or P3D v2, so how do I know which folder to use to find the scenery.cfg file?
The best approach I can think of now is check what exe is in the FS folder (I know that folder because that's the working folder when started by FS). But it feels a bit clumsy to do it like this. Am I missing another approach?



