• 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.

compiling help with scasm

Messages
67
Country
us-alabama
Well here I go again. Ok As you have read I am working with an old file (.sca)
Ive managed to decompile it so far and Ive done some editing to it as per some suggestion from another source. Now Ive also downloaded scasm (the latest or last one) as I assume that is my only option to compile this baby back together. I keep reading in places about "dropping" the file onto the compiler. What exactly does that mean ? And can someone explain briefly
how to compile ? Also is "SCASM" my only option to compile this thing back to a bgl ?

Mike
 
I keep reading in places about "dropping" the file onto the compiler. What exactly does that mean ?

Most compilers are command line tools. That means that they do not have a friendly Windows interface. To compile a source file using such a compiler you use Explorer to pick up the source, drag it to, and drop it on, the compiler. If the source is good this should result in a compiled output bgl.
 
As Jon explains SCASM is a command line tool, so if you use the command prompt you can compile from there. Or if you prefer the Windows method of drag and drop that will also work. The only drawback for this is that you don't see the errors if the compiler throws some.

And yes, for SCASM files SCASM is about your only option to make a BGL again. FreeSC is an alternative, but in general I would recommend SCASM, as there are small differences between those two compilers.
 
Hello

Ok Ive been using AFW to decompile my bgl I been posting about and then I use it as well to recompile it. Now so far I get no errors when it recompiles the .sca file. In the window that pops up it list all the objects it had recompiled. (all correct) But when I load it into FS nothing shows up.

Also what is the best way for me to edit the scasm file like removing any objects I dont want. Im assuming that you cant just delete them or can you.

Thanks
Mike
 
Hello Mike,

I don't know what AFW can do for you here, it is years ago that I last used that tool.

The SCASM code is just simple ASCII text, so you can remove any object from it, if you know which lines of code to remove. And that is probably where the tricky part starts, as you need to be a bit familiar with the code to find the correct lines. In general you would have to delete everything between an Area command and the next EndA command to remove a total object.
 
Thanks Arno ,

I was thinking about giving that a try in just that way. Maybe just do one section between then "end" part at a time. And then see what happens.

Well actually AFW will display the airport just from the scasm code with errors popping up. I think the problem is that I dont actually have the objects that is in the code in a folder. (Maybe) AFW, doesnt want to delete the objects
for some reason, not sure what reason is.

I was noticing in AFW menu that had a command for "importing a bgl"
but it says that it is no longer functional due to thrid party conflicts.
I wonder if that is just in the latest version of AFW. And if it was a working
function in one of the older versions of AFW.

Im probably spending more time on this thing than it worth but I am learning some new things (mostly trial and error) that I never been into before with scenery design. Maybe the end result will at least be that I walk away
with a better concept of how some of these things work.

mike
 
Back
Top