Author Topic: Differing GSX cfg values  (Read 3015 times)

miata54

  • Jr. Member
  • **
  • Posts: 93
Differing GSX cfg values
« on: September 27, 2013, 02:29:36 am »
My UAC is turned off. Just wondering if there is a specific need/function to keep the gsx cfg file in the AppData/Roaming/Virtuali/Airplane folder where it is also in the main aircraft folder? Also noticed that there are differing measurements for the vertical axis between the two folders. See attached pic.  0.18 vs 3.66. All door locations function properly.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51237
    • VIRTUALI Sagl
Re: Differing GSX cfg values
« Reply #1 on: September 27, 2013, 01:17:52 pm »
Just wondering if there is a specific need/function to keep the gsx cfg file in the AppData/Roaming/Virtuali/Airplane folder where it is also in the main aircraft folder?

Of course there is...

First, GSX will not put anything in your aircraft folder. A GSX.CFG file ends up there only if you put it manually, or if the airplane developer included it with his airplane. If you just use the GSX integrated editor, it will only save inside the %APPDATA%\Virtuali\Airplanes folder.

A GSX.CFG in the FSX\Simobjects\Airplanes folder is supposed to be designer-provided configuration, so that location is used because it's easier for an airplane developer to put it there alongside all the other files, without worrying about using the %APPDATA% folder, which depends on your account name and type, so it's easier for freeware developers too, so they won't have to deal with installers.

This means, that GSX.CFG file is basically READ-ONLY. If you start working on it with the GSX configuration editor, any changes you make, will appear in a NEW GSX.CFG in the %APPDATA%\Virtuali\Airplanes folder, the GSX.CFG provided by the airplane designer will never be modified.

This also means that, if you use the "Reset" option, it will reset ONLY your custom file under %APPDATA%, the one under the FSX\Simobjects\Airplanes folder will be left there so, in case you want to Undo all your modifications, you will not start from scratch, but you can start from the configuration the airplane designer provided with his plane.

Quote
Also noticed that there are differing measurements for the vertical axis between the two folders. See attached pic.  0.18 vs 3.66. All door locations function properly.

That's because the GSX.CFG file by default use measurement starting from the airplane reference point (0,0,0), which is usually somewhere along the center of the fuselage. This is what GSX use internally.

The GSX editor, instead, will SHOW you heights relative to GROUND, because this is more user-friendly and more relatable to heights of other equipment like stairs and loaders.

The reason why GSX stores its data with heights relative to the airplane reference point, is that they are NOT influenced by the airplane weight. If we stored data in the GSX.CFG with heights relative to the ground, they would work only with an airplane load similar to the one you had when you edit the airplane.  The heights displayed to you WILL change depending by the airplane weight when you edit it, but since they are stored in the GSX.CFG as relative to the airplane center, everything will work as expected.

miata54

  • Jr. Member
  • **
  • Posts: 93
Re: Differing GSX cfg values
« Reply #2 on: September 27, 2013, 09:15:46 pm »
Thanks for the detailed explanation Umberto. Your customer support is excellent.