September 5, 201015 yr 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)
September 6, 201015 yr 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,MartinYou 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.
September 6, 201015 yr 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)
September 9, 201015 yr 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