Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Saving panel co-ordinates to panel.cfg file

Featured Replies

Can anyone please tell me how to transcribe panel layout information between a saved flight file (.flt) and an aircraft's Panel.cfg file?For instance, in a .flt file, a panel's position in the cockpit may be indicated as follows:ScreenUniCoords= 4000, 2000, 1250, 1450In the panel.cfg file the format (example not corresponding to the above)is:window_Pos= 0.450, 0.230window_Size= 0.225, 0.150Most times, I can use "Panel Layout Saver" to do this automatically, but for certain payware a/c (e.g. PMDG) it doesn't work, the software reporting "Could not find the aircraft's folder" - even though it's there in the FS9/Aircraft folder as normal. Hence, I would really like to know how I can transcribe the values manually.Many thanks,Martin

Martin Stebbing, EGLF (UK)

Can anyone please tell me how to transcribe panel layout information between a saved flight file (.flt) and an aircraft's Panel.cfg file?For instance, in a .flt file, a panel's position in the cockpit may be indicated as follows:ScreenUniCoords= 4000, 2000, 1250, 1450In the panel.cfg file the format (example not corresponding to the above)is:window_Pos= 0.450, 0.230window_Size= 0.225, 0.150Most times, I can use "Panel Layout Saver" to do this automatically, but for certain payware a/c (e.g. PMDG) it doesn't work, the software reporting "Could not find the aircraft's folder" - even though it's there in the FS9/Aircraft folder as normal. Hence, I would really like to know how I can transcribe the values manually.Many thanks,Martin
You have to compare it against the 'ScreenUniCoords' values of [Panel.1][Panel.1] in the .flt file equates to [Window00] in the panel.cfg file which usually containsthe full width and height of the panel.All of the other window_pos/window_size settings would be as a percentage of the valuesin [Panel.1]Example:[Panel.1]ScreenUniCoords=0, 0, 8192, 6144ID=0...The other [panel.x] windows are positioned and sized in relation to [Panel.1] as a percentage.In this example I saved the .flt with the window open and *un-moved*.[Panel.5]ScreenUniCoords=4915, 2457, 2048, 3686ID=5000...This equates to [Window04] coords in the panel.cfg file, you can compare the ID, and Ident valuesto verify the window.[Window04]ident=5000window_pos= 0.600, 0.400window_size= 0.250, 0.600Then compare the pcts.4915 / 8192 = 0.600 (window_pos) Position From the left to the Right, 60% of [Window00]'s width (8192).2457 / 6144 = 0.400 (Window_pos) Position from the top down 40% of [Window00]'s Height (6144).2048 / 8192 = 0.250 (window_size) Width is 25% of [Window00]'s width.3686 / 6144 = 0.600 (window_size) height is 60% of [Window00]'s height.Keep in mind, these numbers only directly correspond to the panel.cfg values because when I saved the flight I openedthe window, but 'did not' move or resize it. Once you move or resize the window thecoords will no longer directly correspond to the panel.cfg values.So now I have moved and resized the same window and saved the FLT again.The values in the FLT file now look like this[Panel.5]ScreenUniCoords=5197, 3346, 1822, 3686ID=5000...5197 / 8192 = 0.634 3346 / 6144 = 0.544 (window_pos=0.634,0.544) 1822 / 8192 = 0.222 3686 / 6144 = 0.600 (Window_size=0.222,0.600)Now you can use the values above to position and size window permantly in the same locationin the panel.cfg file as you saved it in the FLT file.Regards.Ernie.
ea_avsim_sig.jpg
  • Author

Many thanks for the full reply, Ernie. I shall copy the info to a text file and try it out later,Regards,Martin

Martin Stebbing, EGLF (UK)

  • Author

Ernie,That all works just as I hoped. Thanks again for the explanation.Martin :(

Martin Stebbing, EGLF (UK)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.