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

Error message in compilig.

Messages
6
Country
italy
During complitation of a file in FSSC I get the message :
Error in macro file line xxxx - destination ":" is out or range, source line 33.
My questions are :
a. meaning of error;
b. where I can read the line 33 :mad:

Tks & rgds
Filippo LIBD ;)
 
Hi Filippo,

In general this means that the API macro you are using has a jump that is bigger than the size that Jump command can bridge. So the best thing you can do is open the API macro and look for line 33 in the file.

If there is a Jump command on that line, you could try to replace it with a Jump32 command (that command can bridge a greater distance). If that is not the case you might have to do some more tweaking, but that is hard for me to tell without seeing the total source.
 
arno said:
Hi Filippo,

In general this means that the API macro you are using has a jump that is bigger than the size that Jump command can bridge. So the best thing you can do is open the API macro and look for line 33 in the file.

If there is a Jump command on that line, you could try to replace it with a Jump32 command (that command can bridge a greater distance). If that is not the case you might have to do some more tweaking, but that is hard for me to tell without seeing the total source.
---------------------------------------------------------------------
Hi Arno and tks 4 yr attention.
Often I got the message :

Error in macro file D:\FSSCEN~1\Macros\SN3329~1.API line 2089
-> EndA
-> destination ":" out of range (34232), source line 33
Scasm compilation status: error(s) 1
-----------------------------------
So, I'm not able to find the file SN3329....API (anywhere in the HD) and of course the line 2089; where I can modify the Jump command as suggested by U ? :confused:
Filippo
 
I think, that's not the problem, but:

Every file which will compiled by SCASM has a buffer size; try to change it to a greater value, like 32000 instead of 16000 and so on...
 
mcq said:
I think, that's not the problem, but:

Every file which will compiled by SCASM has a buffer size; try to change it to a greater value, like 32000 instead of 16000 and so on...
------------------------------------------------------------------------
Hi, and wellcome to my "Via crucis" with FSSC.
Pls explain step by step in wich way I have to change the parameter, in wich file and by what program.
Tks & rgds
Filippo (LIBD)
 
moducity said:
------------------------------------------------------------------------
Hi, and wellcome to my "Via crucis" with FSSC.
Pls explain step by step in wich way I have to change the parameter, in wich file and by what program.
Tks & rgds
Filippo (LIBD)

I'm not sure if you mean Schiratti Control Center with FSSC...

But THERE you have the parameter "Buffer size" (or something like that) in the "Design Properties... or Preferences?".

Size value is usually equal to a 2^x value (2, 4, 8, 16, 32...), I believe it is usually 16000. So just test it with 32000, 64000 and so on... there is anywhere a logical end, but I don't know for which value.

If you mean another tool with "FSSC", then I don't know where, but then you should find anywhere a "buffer size" property...
 
FSSC by Derek Young (continue for problems)

In this scenery creator I didn't find any menu to set the Buffer size parameter. Scenery properties is available but not that parameter.
Scams has been loaded as a part of FSSC, so may be that my version of it (SCAMS) is uncomplete. :confused:
Rgds Filippo
 
Is FSSC = Schiratti Control Center ? :confused: :confused: :confused:

(If NOT, I don't know the program.)
 
mcq said:
Is FSSC = Schiratti Control Center ? :confused: :confused: :confused:

(If NOT, I don't know the program.)
------------------------------------------------------------------------
As I said the FSSC in my hands is created by Derek Young.
I will invetigate abt the Schiratti version.
Thank you 4 yr attention.
All the best, Filippo (LIBD) :)
 
Hi Filippo,

I think it is not a setting in FSSC that causes this problem. It is something in your API, so you do not have to change anything in FSSC.

Can you attach the API macro to your next post? Then someone will probably be able to indicate the tweaks needed.

PS. If you can't find the file, that is because the SN3329~1.API name is the short 8 character version of your API macro.
 
arno said:
I think it is not a setting in FSSC that causes this problem. It is something in your API, so you do not have to change anything in FSSC.

That's not correct! Of course, if he will make the API smaller, then it will work, but he can also change the Buffer-Size parameter to make the compilation possible... but I don't know how to do this with FSSC...
 
Ys, but that buffer can also be set in the API itself. It is not something that has to be set in the FSSC SCA file. FSSC never knows the size needed for the API, so it should be set in the API itself, so it can be used anywhere without trouble.

But this error does not look like a buffer size problem. The problem is that is jump is made over a piece of code that is bigger than 32 kB and that is not possible. So it will probably require a big restructuring of the jumps.
 
I know it from SCC, that you can adjust the buffer size for the whole scm-file...

But that's with the 32K-Jump is also an interesting aspect...
 
Back
Top