Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SCASM error

Featured Replies

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; ----------------------------------------

Martin Stebbing, EGLF (UK)

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

  • Author

Missed the FAQ page when looking for help. Thanks for the pointer!!M.

Martin Stebbing, EGLF (UK)

  • Author

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

Martin Stebbing, EGLF (UK)

  • Author

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.

Martin Stebbing, EGLF (UK)

  • Commercial Member

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

>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

  • Author

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

Martin Stebbing, EGLF (UK)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.