December 18, 200520 yr 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)
December 18, 200520 yr HelloPlease read the SCASM docs about a directive to increase the size of the line buffer!Regards, Luis
December 19, 200520 yr Author Missed the FAQ page when looking for help. Thanks for the pointer!!M. Martin Stebbing, EGLF (UK)
December 19, 200520 yr 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)
December 19, 200520 yr 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)
December 19, 200520 yr 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
December 19, 200520 yr >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
December 19, 200520 yr Author Paul, I'm getting there, but not solved yet - see also:http://forums.avsim.net/dcboard.php?az=sho..._id=29814#29823The two threads were meant to be rather different but are converging, topic wise. I'll get told off if I'm not careful!M. :-) Martin Stebbing, EGLF (UK)
December 20, 200520 yr 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