Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Audio
Tools
XACT

  Switch on low bandwidth view
XACT Project File Format (.xap)
Bb943869.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb943869.XDK_CHM_BANNER_right(en-us,VS.85).jpg

XACT Project File Format (.xap)

The Xbox Audio Creation Tool Project File format (.xap), read and written by the XACT authoring tool (xact.exe), and utilized by the command-line build environment (xactbld.exe), contains all of the instructions necessary to generate XACT content. It is a complete description of all XACT wave banks, sound banks, and global settings.

The project file format was intentionally designed to be human-readable text, which should allow for straightforward parsing (content analysis, custom data structures, and portability for translating the content creator's wishes to other audio platforms) as well as generation (creating XACT content from a title's custom, tightly integrated tools, or programmatically generated content).

Because ongoing XACT engine work can cause the binary file formats to change from release to release (and some crucial information is stripped out when the binary files are built), the XACT project file is the recommended file to work from when doing any parsing, translation, or generation to and from other game elements or other audio engine platforms.

Note    The XACT project file format is subject to change from release to release of the Xbox and DirectX Development Kits. While most changes will tend to be additive (e.g. adding new features as exposed by the engine and authoring tool), some may cause larger XACT project file format changes.

XACT Project File Format Layout

This section describes the file layout of the XACT Project File Format (.xap). The layout consists of a signature, version number, and four sections as shown below:

Signature = XACT2;
Version	= #;
Content Version = #;
Release = string;

Options
{
}

Global Settings
{
}

Wave Bank
{
}

Sound Bank
{
}

Elements

ElementTypeComment
SignatureStringMust be XACT2.
VersionNumberVersion number.
Content VersionNumber
ReleaseString
OptionsSection (zero or one)General Options.
Global SettingsSection (zero or one)Project settings, paths, variables, RPCs, categories.
Wave BankSection (zero or one)Wave banks associated with the project.
Sound BankSection (zero or one)Sound banks associated with the project.

See Also

XACT

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker