FSX:SE Problems when compiling and importing to FSX

You can get the P3Dv1.4 SDK here: https://www.fsdeveloper.com/forum/resources/prepar3d-v1-sdk.227/

Basically, the SDK for FSX:SE is incomplete, and it's a bit of a nightmare to collate the FSX SDK and update it through its various iterations (which must be done in the right order!). The P3Dv1.4 SDK works for all versions of FSX, as well as P3Dv1 (if anyone still has that).

The GP Texture file will be generated when you compile the airport, and is by default contained in a folder called ADE_GP_Textures, which will be in the same place as your compiled airport.

Edit: here's my version, with the folders arranged as I suggested. I've left the ADE_GP_Texture folder 'as is' so you can see it. I haven't corrected any of the other errors that Jon and I noted earlier.
 

Attachments

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
OK, as Tim said you were using the wrong compiler. Generally they are not backward compatible as you found. The P3D v1.4 SDK is available from the resources section of this website.
 
You can get the P3Dv1.4 SDK here: https://www.fsdeveloper.com/forum/resources/prepar3d-v1-sdk.227/

Basically, the SDK for FSX:SE is incomplete, and it's a bit of a nightmare to collate the FSX SDK and update it through its various iterations (which must be done in the right order!). The P3Dv1.4 SDK works for all versions of FSX, as well as P3Dv1 (if anyone still has that).

The GP Texture file will be generated when you compile the airport, and is by default contained in a folder called ADE_GP_Textures, which will be in the same place as your compiled airport.

Edit: here's my version, with the folders arranged as I suggested. I've left the ADE_GP_Texture folder 'as is' so you can see it. I haven't corrected any of the other errors that Jon and I noted earlier.
Thank you very much for the effort. So I just need to install the P3D SDK v1.4 and then in ADE change the compiler location to the BglComp to the folder of the new BglComp of P3D and that would be it, right?

Also, thank you for the LEVF folder with the right arrangement; it's highly apreciated!
 
Honestly, I'm so thankful to the three of you for the great help and effort, plus the super quick answer. I will update when I'm able to compile airports by my own, thanks to your tips and answers.

Have a great day/evening/night!
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
That is correct. Point ADE to the folder containing bglcomp.exe and also the folder for Shp2Vec.exe There are two compilers. BglComp is for airports and scenery and Shp2Vec is for terrain such as land class and airport backgrounds. You need both set correctly
 
Thank you very much for the effort. So I just need to install the P3D SDK v1.4 and then in ADE change the compiler location to the BglComp to the folder of the new BglComp of P3D and that would be it, right?

Also, thank you for the LEVF folder with the right arrangement; it's highly apreciated!
Yes, that's it. If you also have P3Dv5, you can set ADE up so that it will use the correct SDK for the project you're working on. It will then ask you which sim you're designing for when it starts up.
 
That is correct. Point ADE to the folder containing bglcomp.exe and also the folder for Shp2Vec.exe There are two compilers. BglComp is for airports and scenery and Shp2Vec is for terrain such as land class and airport backgrounds. You need both set correctly
So I need to download the Shp2Vec for the SDK P3D v1.4 that I downloaded, right?
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
No that is part of the SDK. You need to point ADE to the SDK. I assume you have installed the 1.4 SDK and removed the one from P3D v5?

In ADE you can go to Settings > Options > Folders (I assume you did this to set up the v5 SDK with ADE) and select the folders for BglComp and Shp2Vec
1590044157679.png


You probably can't use the Find button but next to the path boxes for BglComp and Shp2Vec is a small button '...' Click each in turn to select the correct folder

1590044296828.png


and
1590044328581.png


Now save and restart ADE - it should be able to use the correct compilers
 
Okay, so I now have the right folders and It compiles which is good; anyway, there's something I'm doing wrong as I still can't generate the GP file. I've tried compiling separate Airport ang OBj bgl files but I'm missing something somewhere
Captura de pantalla (357).png
Captura de pantalla (356).png
Captura de pantalla (354).png
Captura de pantalla (353).png
Captura de pantalla (352).png
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
But your screenshot of your Addon Scenery\scenery folder shows LEVF3_ADEX_GGC_GP.bgl so it is compiling. Uncheck the separate compiles for airport and scenery. This is not really of any benefit for you and it is easier for us to help if there is no OBJ bgl file. Delete the LEVF3**.bgl files from Addon Scenery\scenery so that we don't have anything of it. Then recompile with separate compiles turned off

1590045532175.png


Start the sim and make sure it all works
 
But your screenshot of your Addon Scenery\scenery folder shows LEVF3_ADEX_GGC_GP.bgl so it is compiling. Uncheck the separate compiles for airport and scenery. This is not really of any benefit for you and it is easier for us to help if there is no OBJ bgl file. Delete the LEVF3**.bgl files from Addon Scenery\scenery so that we don't have anything of it. Then recompile with separate compiles turned off

View attachment 58141

Start the sim and make sure it all works
My mistake. Thanks to your help yesterday, I was able to have LEVF compiled, but now just as a test I'm trying to compile another airport which is LEMR, and I should have pointed it out before. Anyway, let me try compiling without separate files.

Edit: Still missing my GP file for LEMR :(
 

Attachments

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
There is no GP file since you do not have any Custom GP objects in your project

1590047574605.png
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Well you only Do that if you want custom Ground Polys in your project. You added a couple to LEVF. If you are not sure what they are for then check around the forum. You can make a perfectly good airport without Custom GPs
 
Good news! I think was kinda able to compile and load the airport into FSX with a different unused ICAO code! I'm gonna do some test and I'll let you know

Update: Yay! I was able to compile it and load ir properly so thanks a lot again. One last question (I don't know if it belongs to this thread or if I should post it elsewhere, so let me know if it's not okay)

Now I have the scenery up and working, and all that's left is some minor adjustements as how do I flatten the map? Right now it's all hilly and I'd like it flatter and all hehe
 

Attachments

Last edited:
You flatten using a 'flatten'!

I think it would be well worth your while studying the manual. I printed mine out as I hate reading long documents on a screen. The current manual is a few iterations behind the live program, but you need to get the basics squared away and you can learn the newer stuff when you've done that.
 
You flatten using a 'flatten'!

I think it would be well worth your while studying the manual. I printed mine out as I hate reading long documents on a screen. The current manual is a few iterations behind the live program, but you need to get the basics squared away and you can learn the newer stuff when you've done that.
Yeah, I thing you are totaly right and I will do it right away. Thanks for all the help I've gotten from you as it's highly apreciated; I've found this forum has really nice (and patient) people willing to help people. Have great days and hope we coincide again in this forum soon!!
 
Top