XACT Command-Line Tool (XACTBld)

XACTBld (xactbld.exe) is the command-line version of the XACT. This tool generates wave bank (.xwb), sound bank (.xsb), C/C++ header, and cue list files from an XACT project (.xap) file.

USAGE: xactbld [/L] [/F] [/N] [/X:WAVEBANK] [/X:SOUNDBANK] [/X:HEADER] 
  [/X:CUELIST] [/WIN32] project [project2...] [path] 
Option Description

/L

Do not print the banner or status.

/F

Force a rebuild of all files.

/N

Do not overwrite files if they already exist.

/X:WAVEBANK

Do not build wave banks.

/X:SOUNDBANK

Do not build sound banks.

/X:HEADER

Do not build the C/C++ header.

/X:CUELIST

Do not export the cue list.

/WIN32

Build for the Microsoft® Win32® architecture (PowerPC is the default).

Enabling this option causes XACTBld to generate data for little-endian targets, as used by the x86 processor.

project

Specifies the project file to build.

project2...

Specifies additional projects to import and build. Up to 1023 additional projects can be specified.

When you specify multiple projects, xactbld.exe loads the first project, and then imports additional projects into the first before building. Any categories, layers, or groups with the same name (assuming they are the same type) are merged. Conflicting sound bank or wave bank names or paths cause an error. This is the same functionality as the Import Project command in the XACT GUI, except that no merged project file is saved.

path

Specifies the path to which output files should be written. If a path is not specified, the paths stored in the project file are used.

To write sound banks and wave banks to separate directories, run xactbld.exe twice using the /X:WAVEBANK and /X:SOUNDBANK switches.

See Also

XACT Reference, XACT Audio Authoring