previous print this page next


Compiling BGL file using SCASM compiler

You can also have TerraBuilder create BGL file directly (SCASM file is created also) by selecting Write Source Code -> Compile to BGL.  BGL file is a binary-file (unreadable by text editors) that is in a format that Flight Simulator understands: it is a scenery file.

To create BGL file of your scenery, select Write Source Code -> Compile to BGL from the main menu, or click on the from the main toolbar. You will be prompted for a location of the file. After you select the location and name of the file, a SCASM source file (SCA) will be written. Then, SCASM compiler will be invoked and this SCASM file will be used to compile it into BGL file. A DOS window will appear when SCASM compiler is invoked, displaying compilation status messages. If everything goes well, the compilation will end successfully. If there are any errors, the DOS window will display the errors, including the reason and location of the problem.

If the BGL file was compiled successfully, you're ready to proceed to properly install your scenery.