User:Halftheisland/EA AS4
From Just Solve the File Format Problem
< User:Halftheisland(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Audio and Music |extensions={{ext|as4}} {{ext|asf}} }} == Description == AS4 / ASF files are an audio file format used in many vi...") |
Revision as of 16:01, 27 September 2013
Contents |
Description
AS4 / ASF files are an audio file format used in many video games created by Electronic Arts. Note that extensions other than those listed may be AS4 / ASF files as Electronic Arts often change file extensions for different games.
Information
The basic structure of AS4 / ASF files is similar to that of RIFF, with each file divided into blocks (although, unlike RIFF, the format does not have a global file header).
Each block starts with a standard header:
struct ASFBlockHeader { char szBlockID[4]; DWORD dwSize; };
Where:
-
szBlockID
gives the string ID for the block -
dwSize
gives the size of the block (including the header) in bytes.
Each file then consists of a number of blocks, each of which are described below.