Wwise SDK 2021.1.8
|
- Note
- This new system called Wwise Console has replaced the legacy Wwise CLI, which still works, but is now deprecated. See Using the legacy Command Line (end-of-life).
A number of Wwise operations are available from its command-line interface, including SoundBank generation. This can prove useful when integrating Wwise as part of an automated process, such as a daily game build with audio assets.
Wwise Command Line
There are two distinct ways to call WwiseConsole.exe, the Wwise command line executable, depending on whether you run it on Windows or Mac.
- On Windows
- For Windows, WwiseConsole.exe is called directly under "%WWISEROOT%\Authoring\x64\Release\bin". Command-line parameters should follow this basic structure, where
operation
andarguments
are mandatory:
-
WwiseConsole.exe operation [arguments] [--option1 [parameters]] [--option2 [parameters]] ...
- On Mac
- For Mac, WwiseConsole.exe is called indirectly via the WwiseConsole.sh shell script.
- Invoke the WwiseConsole.sh shell script from the Terminal by passing the same command line arguments as its Windows counterpart using either Unix or Windows style paths:
Any string parameter containing spaces should be wrapped in quotation marks. All path parameters must be specified using only backslashes, with no trailing backslashes.
Operations
Please refer to the Wwise Console Reference.
Example
An example of SoundBank generation from the command line is shown below. It generates the English (US) language SoundBanks for the Windows and Linux platforms.
For more examples, please refer to: