• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Edit and Compile A16n flatten for CFS2

tobob

Re-member
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
 
Reply...

Tobob,

Your best bet is to send a PM to achim27169, MaskRider, and xavierb about this.
 
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
 
Set( BUF 1000 )

Try this:

Code:
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
 
Back
Top