View Full Version : Edit and Compile A16n flatten for CFS2
tobob
July 12th, 2013, 05:14
Hi,
Ok I have a A16n flatten that I disassembled with bglanalyze. Then I removed several sections and tried to compile with scasm. I get a bgl but it comes out what seems to be empty and of course does not work in sim. BTW there are over 3000 flattens in this file.
Then I tried disassembling the same file and without making any alterations, compiled and still the same problem. So I don't think it was my editing.
So my question is, is there a way to edit an existing A16n and how to compile properly?
tobob
Rami
July 12th, 2013, 07:17
Tobob,
Your best bet is to send a PM to achim27169, MaskRider, and xavierb about this.
rhumbaflappy
July 12th, 2013, 13:17
Zip the file and attach it to a post... otherwise how could someone see the problem? Include the original file, the disassembled file and your edited file.
Dick
tobob
July 15th, 2013, 10:59
Zip the file and attach it to a post... otherwise how could someone see the problem? Include the original file, the disassembled file and your edited file.
Dick
here you go!
Thanks!
rhumbaflappy
July 15th, 2013, 13:02
Try this:
Set( BUF 1000 )
; ----------------------------------------
; 950160A16N.BGL disassembled by BGLAnalyze (c) on Tue Jul 02 15:42:07 2013
; ----------------------------------------
Header( 1 N44:59:59.84 N42:06:53.47 E011:15:14.65 E007:30:00.21 )
LatRange( N42:06:53.47 N44:59:59.84 )
; since SCASM does not support multiple latitude ranges
; the range has been set to the minimum/maximum latitude.
; LatRange information in the BGL file is given as comment.
; If you want to use band separation, you must edit
; the source file manually.
; Insert the "Set( FSVers 0x800 )" instruction at the beginning
; of the file, if you want to use the FS2002 instructions
; for the facilities section
mif( [$Version < 285] )
Error( You need at least SCASM version 2.85 to compile this code )
mifend
; ----------------------------------------
; Miscellaneous section
; ----------------------------------------
Add Set( BUF 1000) to the top of the sca. file so SCASM doesn't run out of buffer memory space.
Dick
tobob
July 16th, 2013, 16:32
Try this:
Add Set( BUF 1000) to the top of the sca. file so SCASM doesn't run out of buffer memory space.
Dick
That was it! :icon29::icon29::icon29::icon29::icon29::icon29:
Wow! Thank you Rhumba! Kinda thought you might know this one.
tobob
vBulletin® v4.2.1, Copyright ©2000-2024, Jelsoft Enterprises Ltd.