Macromedia Flash SWF / Scaleform GFX: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== SWF == * ''' Format Type ''': Animation <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifications === <d...")
imported>Ikskoks
Line 31: Line 31:
</pre>
</pre>
</div>
</div>
Full file format can be found [https://www.adobe.com/content/dam/acom/en/devnet/pdf/swf-file-format-spec.pdf here].


=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  

Revision as of 16:53, 1 January 2021

SWF


Format Specifications

// SWF file format

// little endian

// header
3 bytes (char) - magic  // "FWS" - uncompressed file
                        // "CWS" - compressed file (SWF 6 and later only)
                        // "ZWS" - LZMA compressed SWF (SWF 13 and later only)
1 byte (uint8) - version    //  e.g. 0x06 for SWF 6
4 bytes (uint32) - total file size in bytes
x bytes - frame size
2 bytes (uint16) - frame rate
2 bytes (uint16) - frame count

// tags
num_of_tags *
{
   2 bytes (uint16) - tag type and length   // upper 10 bits - tag type
                                            // lower 6 bits - tag length
   x bytes - tag data

Full file format can be found here.

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in Treasure Cove 2.0
    Version 1.0 uses DAT file format for archives.

Compatible Programs