在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票

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

分类:General Discussion | 用户: Peter L. (230 分)

1个回答

+1 投票

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
用户: Dan M. (380 分)
...