August 16, 201015 yr I am trying to go through Microsoft's tutorial 'creating xml gauges'At Step 3 it says to create the background bitmap using paint, and call it Test_Panel_Background.bmp,and reference it inpanel.cfg like this:[Window06]file=Test_Panel_Background.bmpMy question is simple: how does FSX know what directory to look in for this file?I ask because I define a square bitmap of a certain colour, but when I activate the Test Panel, the colour is black.
August 16, 201015 yr I am trying to go through Microsoft's tutorial 'creating xml gauges'At Step 3 it says to create the background bitmap using paint, and call it Test_Panel_Background.bmp,and reference it inpanel.cfg like this:[Window06]file=Test_Panel_Background.bmpMy question is simple: how does FSX know what directory to look in for this file?I ask because I define a square bitmap of a certain colour, but when I activate the Test Panel, the colour is black.I believe you will find the bmp file (Test_Panel_Background.bmp) should be in the panel folder. In your example, that is where FS will look for it.
August 17, 201015 yr I believe you will find the bmp file (Test_Panel_Background.bmp) should be in the panel folder. In your example, that is where FS will look for it.That's one of the things I tried. New panel is still black :-(Maybe it MUST be in a cab file?
August 17, 201015 yr That's one of the things I tried. New panel is still black :-(Maybe it MUST be in a cab file?No it shouldn't be in a cab file . Panel background bitmaps should be in the aircraft panel folder. Check out the default C172 and you'll see all the panel background bitmaps there. Gerry Howard
August 17, 201015 yr Moderator The single point not mentioned yet is that all the .bmp files in the ..\panel folder MUST be only 24bit BMP files...IOW, no DDS or DXT compression allowed. :( Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
August 17, 201015 yr Many thanks to all who replied. Opa's comment got me to try the other bmp files in the panel directory. They worked. Then I ran od (octal dump) on my file....it wasn't a bit map! How did that happen? So I re-saved it as a bmp and it worked. Then I logged in and read n4gix's comment, which would also have pointed me in the right direction. I saved as 256 color bitmaps, I guess that could be 24 bit as well.Now to get on to harder issues.....
Create an account or sign in to comment