• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

My Edited File Will Not Compile

Hi,

For testing purposes, I've compiled a photo image of the surrounding area of the airport using SbuilderX. I placed the bgl in the addon scenery of FSX and it looks great. With the runways being longer than they used to be in 1970, I imported that bmp image into Gimp to clone and edit out the extra runway length. When I try to compile my edited bmp, it would not compile. I did select the boarder of the image so that it turns green and I checked the box "compile to bgl folder." A DOS box comes up for a split second and nothing happens. I've tried other bmps and they worked. It seems that this only occurs after I've edited a bmp file. So does the compiling in SbuilderX supposed to work even after the bmp has been edited? Or is it because it's already been compiled and it only compiles it once? Or do I have to compile the edited bmp using a different method? I don't understand why it's not compiling after I edit a bmp. I don't think it created an INF file since it never compiled because I cannot find it, unless I'm not looking the right folder. It assume the INF would be in the same location as the bmp and text file, which is 'Tools' and 'Work' folder.

Ken.
 
Last edited:
https://www.fsdeveloper.com/forum/threads/my-edited-file-will-not-compile.445804/post-826777

Hi,

For testing purposes, I've compiled a photo image of the surrounding area of the (KBHM) airport using SBuilderX.

I placed the bgl in the addon scenery of FSX and it looks great. With the runways being longer than they used to be in 1970, I imported that bmp image into Gimp to clone and edit out the extra runway length.

When I try to compile my edited bmp, it would not compile.

(In SBuilderX) I did select the border of the image so that it turns green and I checked the box "compile to bgl folder."

A DOS (aka "CMD-mode") box comes up for a split second and nothing happens.

I've tried other bmps and they worked. It seems that this only occurs after I've edited a bmp file.
You 'may' need to a compile to BGL directly using SDK Resample via a CMD-mode 'batch' file to troubleshoot this.


But, first try verifying the *.BMP file format output by GIMP (as described below)


If that does not fix this failure to compile, then Browse to:

[SBuilderX install path]\Tools\Work sub-folder

...and attach to a reply here, a ZIP of the *.INF file used for this attempted *.BMP compilation


I 'may' then be able to make a 'batch' file to simplify troubleshooting your computer's SBuilderX *.BMP compile. :scratchch

A batch file can allow us to see on screen, error messages output by SDK Resample when it attempts the compile.

https://www.fsdeveloper.com/forum/threads/my-edited-file-will-not-compile.445804/post-826777

So is compiling in SBuilderX supposed to work even after the bmp has been edited?
Yes, assuming you did not change the image size (Total number of Pixel Rows / Columns) or image *.BMP file format


See: CAVEATS regarding file format output by GIMP for FS SDK Resample compatibility

https://www.fsdeveloper.com/forum/threads/resample-exe-not-working.445075/post-819410


https://www.fsdeveloper.com/forum/threads/my-edited-file-will-not-compile.445804/post-826777

Or is it because it's (the BMP has) already been compiled and it (SBuilderX) only compiles it (the BMP) once?
Possibly; but let's check other things first, as described above.

Possibly; but let's check other things first, as described above.

https://www.fsdeveloper.com/forum/threads/my-edited-file-will-not-compile.445804/post-826777

I don't understand why it's not compiling after I edit a bmp. I don't think it created an INF file since it never compiled because I cannot find it, unless I'm not looking the right folder. I assume the INF would be in the same location as the bmp and text file, which is 'Tools' and 'Work' folder:

[SBuilderX install path]\Tools\Work sub-folder.

Ken.
SBuilderX > BGL Compile always outputs a *.INF, as SDK Resample will not compile source files without one. ;)

See all the above, and attach to a reply here, a ZIP of the *.INF file used for this attempted *.BMP compilation.

GaryGB
 
Last edited:
Thanks very much Gary,

It appears that it was the file format, a compatibility in the way I exported it. I did not have the "Do not write color space information" checked. Works great now. Thanks a lot. I got a lot to learn.

Ken.
 
Top