Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes

I'm trying to automate our asset processes and need to have WWise running in CLI mode  ("WwiseCLI.exe -waapi").  Everything's working out ok except  for the per-platform conversion step.  I can use the  ConvertAllPlatform command in the AuthoringAPI but ONLY if  I've launched the GUI.  It refuses the command when I used the WwiseCLI.exe -waapi.  I guess it's not surprising, considering the command is 'ak_wwise_ui_commands_execute' .  Is there another non-UI way to trigger the platform conversions???

in General Discussion by Peter L. (230 points)

1 Answer

+1 vote

Try this flag with an instance of WwiseCLI.exe rather than using the authoring api:

  • -ConvertExternalSources: External Sources conversion. While External Sources is also triggered by -GenerateSoundBanks, -ConvertExternalSources can be used to process sources not contained in the Wwise Project. This operation has two optional parameters: the platform and a path to a WSOURCES file. Providing a platform will generate only that platform. Providing a WSOURCE file will override the External Source Input file paths in the Project Settings, for the given platform (or all if no platform is specified). This operation is not compatible with the -Save option. Examples:
    • -ConvertExternalSources: Converts all platforms, with the source lists provided in the Project Settings
    • -ConvertExternalSources Windows: Converts only the sources for the Windows platform
    • -ConvertExternalSources Windows -ConvertExternalSources XBoxOne :Converts only Windows & XBox One
    • -ConvertExternalSources MySources.wsources :Convert list specified, on all platforms
    • -ConvertExternalSources Windows MySources.wsources :Converts all files on Windows and uses the file list specified
by Dan M. (380 points)
...