Edit and Compile A16n flatten for CFS2
Results 1 to 6 of 6

Thread: Edit and Compile A16n flatten for CFS2

  1. #1

    Edit and Compile A16n flatten for CFS2

    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

  2. #2
    Senior Administrator Rami's Avatar
    Join Date
    Jun 2005
    Location
    Massachusetts
    Age
    45
    Posts
    16,304

    Reply...

    Tobob,

    Your best bet is to send a PM to achim27169, MaskRider, and xavierb about this.
    "Rami"

    "Me? I'm just a Sea of Tranquility in an Ocean of Storms, babe."

    My campaign site: http://www.box.net/shared/0k1e1rz29h
    My missions site: http://www.box.net/shared/ueh4kazk3v
    My scenery site: http://www.box.net/shared/knb1l0ztobhs2esb14rb

  3. #3
    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

  4. #4
    Quote Originally Posted by rhumbaflappy View Post
    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!

  5. #5

    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

  6. #6
    Quote Originally Posted by rhumbaflappy View Post
    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!

    Wow! Thank you Rhumba! Kinda thought you might know this one.

    tobob

Members who have read this thread: 1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •