My Edited File Will Not Compile

#1
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:
#2
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:
#3
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