Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

batch ConvertAllPlatform -- can't be done? requires Gui and not CLI?

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???

asked Mar 5 in General Discussion by Peter L. (120 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
answered Mar 26 by Dan M. (360 points)
...