Jump to content
Sign in to follow this  
martinlest2

SCASM error

Recommended Posts

Can anyone please help me with error messages that I get when trying to recompile an .sca file to .bgl with SCASM 2.96? The error message in the cmd window is:Error in line 16930- > EndA- > - > Linebuffer (20478) overflow, line 16274/16657 truncated!- > Fatal error, code 32767Line 16930 is the End A line, below (though not sure this is much help!).Not sure what the significance of "line 16274/16657 truncated!". Any use me posting those lines here??Many thanks,Martin--------------------------------:L01BAFA Light( m 6 0.88 13.25 -0.25 80 0.10 0.40 FF 255 255 0 0.00 0.00 1.00 ) Light( m 6 -0.88 13.25 -0.25 80 0.10 0.40 FF 255 255 0 0.00 0.00 1.00 ) IfVarRange( :L01BBB4 028C 2 4 ) Light( m 6 -0.31 13.25 -0.25 80 0.10 0.40 FF 255 255 0 0.00 0.00 1.00 ) Light( m 6 0.31 13.25 -0.25 80 0.10 0.40 FF 255 255 0 0.00 0.00 1.00 ):L01BBB4 EndVersion ReturnEndA; ----------------------------------------

Share this post


Link to post
Share on other sites
Guest luissa

HelloPlease read the SCASM docs about a directive to increase the size of the line buffer!Regards, Luis

Share this post


Link to post
Share on other sites

Luis - wonder if you have time to help me out here a bit further? I am new to SCASM and not much of a script writer either, XXCopy apart! I have been re-assembling bgl files from a command line, for instance:scasm GMME.sca GMME.bgl -LB 48000(Tried also 64000, 120000, 240000 - how high can I/would I ever need go?). I have tried setting the linebuffer with the command line:set scasm=-LB48000and if I then type 'set scasm', and return, the buffer shows as the value I set. Doesn't seem to make any difference though - always same error message. The scasm FAQ.htm file gives the following resolution, but I have no idea what the figures are, or in what context to enter them into a .bat file (I assume):Set( LINBUF 1024 )Set( BUF 600 )Set( AREAMX 600 )Header( 1 44:53:32 44:52:57 -63:30:52 -63:30:52 )LatRange( 44:52:43 44:53:33 )Area( C 44:53:14.3906 -63:30:51.6003 100 ) IfVarRange( :L020 346 2 32767 ) PerspectiveCall( :L026 ) ...I am probably too much of a beginner at all this at the moment to make much progress, so any further help welcome. Sorry if I missed something important somewhere in the documentation! Thanks.Martin

Share this post


Link to post
Share on other sites

Luis, (or others). Don't want to waste your time - I sorted out the set( commands for the sca file and I get my bgl file now. I was being a bit ("a bit"?!) dense when I posted the above a few minutes back. Sorry!Still would like to get the command line version to work though, so any thoughts on that would be welcome. Thanks again.M.

Share this post


Link to post
Share on other sites

Hi Martin,I never tried the command line version of this (was not even aware there was one :)). When I get an error like this I usually just add a line like:Set( linbuf 20000 )to my SCASM file. And usually that solves the problem. As this is something for SCASM during compile time, it does not influence the final BGL. With the overkill of CPU power and memory on modern machines, it is no problem to set this buffer a bit bigger.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

>Luis, (or others). Don't want to waste your time - I sorted>out the set( commands for the sca file and I get my bgl file>now. -SNIP->M.Are those pesky textureless static aircraft gone now Martin?Sounds like you are making your way through the process quitewell mow. Paul


Wide-5.jpg

Share this post


Link to post
Share on other sites

OK, all sorted I think, thanks to helpful replies here. Thank you all. (See "Bitmaps in bgl files" post).M. :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...