• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS9 ASM file format specs?

Messages
86
Country
us-colorado
Where can I find the format spec for fs9 asm files (riff)? I've heard it talked about before but don't know where to get it. Been using GMAX to make simple things like boxes and such... then examining the output to learn but there must be a better way.

Somebody must have it if the BGLC_9 compiler was written to use it. :)

Cheers

Prof K.
 
Hi,

If you look at the sticky of this forum, then you will see that Rhumbaflappy has included all the include files in the download of BGLC_9. There contain all the macros that BGLC_9 has (these include files were extraced from the Fs2004 version of MakeMDL).

I have also been working on a little document (certainly not complete yet) that describes the RIFF structure, send me a PM if you are interested in that.
 
Ok, I've taken a look at the .htm file and I guess I can sorta understand parts of it. Guess I don't really understand the big picture as far as organization of the asm file but between that and looking at output from GMAX I might be able to figure it out eventually. :)
 
RIFF header fields question

arno said:
I have also been working on a little document (certainly not complete yet) that describes the RIFF structure, ....

Hi guys
it's now my turn to ask for some info to the RIFF models gurus.

Below is the BGLC (aka MASM) input that generates the
first bytes of any model in the new FS9 format.

Does any of you know the meaning/purpose of the lines
where I have question marks?
I'm particularly interested in the lines with 3
question marks in the comment.

Thankyou in advance

Cheers


Code:
----  attached source  ----

  byte	"RIFF"		; RIFF file type
  dword	@mdl_end - $-4	; length of the MDL9 stuff
  byte	"MDL9"		; file ident. (FS9 model)
  byte	"MDLH"		; header block ident.
  dword	@mdlh_e - $	; displ. of next block (ISFT)
  dword	@mdlh_e - $	; another displ. to next block
  dword	0		; always 00000000h ?
  dword	013h	;??? most common hex values: 01/13/32/5B
  dword	0		; always 00000000h ?
  dword	0		; always 00000000h ?
  dword	098h	;??? usually 098h, sometimes 09Ch
  byte	"FS80"		
@mdlh_e  dword	00000900h

byte	"ISFT"		; Generating tool info block ident.

  ... and so on .....

----  end of attached source  ----
 
Hi GianP,

I have not yet announced this officially, but I am preparing a Wiki for the manuals and tutorials (I hope to have it ready by the end of the week or so). I have also put my RIFF document there so everybody can read (and improve) it. You can find it here:

http://www.scenerydesign.org/wiki/doku.php?id=tutorials:other:riff_format

I have written there as far as I know the meaning of the header. Hope it helps.
 
Great doc Arno!

I'm going to investigate about the "radius of object" 'cause it could
be the source of FS9.exe abends!

I'll come back when/if I'll find some news.

Thank you

Code:
MDLH

db      'M','D','L','H'
dd	size to end of MDLH block
dd	size to end of MDLH block
dd	0
dd	0
dd	radius of object, like v2 before
dd	0
dd	0
dd	152, seems fixed value, also found in default scenery
db	'FS80'
dd	2304, seems fixed value, also found in default scenery
 
Back
Top