menu
 

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

0 投票

I would like users to generate soundbanks in a local intermediate directory with a batch file.

Ideally I'd like for this process to use overridden local User Settings, however the official Wwise documentation states:

User SoundBanks Settings are normally ignored when SoundBank generation is launched from the command line. However, when using the Source Control for generated SoundBanks, the User Project Settings are loaded for the Source Control settings.

https://www.audiokinetic.com/en/library/edge/?source=SDK&id=ak_wwise_cli_generatesoundbank.html

I won't be enabling source control for this local intermediate staging process.

This is the batch file prompt that I have:

"%WwiseExeFolder%\WwiseConsole.exe" generate-soundbank "%WwiseProjectFolder%\MyProject.wproj" --root-output-path "%SoundbankOutputDirectory%" --platform "Windows" --output "Windows" "%SoundbankOutputDirectory%\Windows" --language "English(US)" --no-source-control --verbose

The result:

  • WwiseConsole.exe is correctly invoked and "--verbose" prints a list of all processed files.
  • Source control is disabled with "--no-source-control" as expected.
  • The project file "MyProject.wproj" is correctly loaded.
  • The "--root-output-path" is set correctly and ProjectInfo.xml and ProjectInfo.json files are generated at the location of "%SoundbankOutputDirectory%"
  • The commandlet runs only for the Windows platform, as expected.
  • Only the English(US) assets are processed, as expected.
  • However, no assets are output to "%SoundbankOutputDirectory%\Windows".

It appears that the command line --output isn't working as I expect: --output "Windows" "%SoundbankOutputDirectory%\Windows"

In testing this I have substituted a hard coded path, and ensured that the full directory path exists including the "Windows" directory. No files were generated in the destination folder. The documentation for --output states:

--platform PLATFORM
--platform PLATFORM1 PLATFORM2 ...
--platform PLATFORM1 --platform PLATFORM2 ...

Specifies the platforms for which SoundBanks are generated. This option must be followed by the platform identifiers.

https://www.audiokinetic.com/en/library/edge/?source=SDK&id=ak_wwise_cli_generatesoundbank.html

Does anyone know why this might be failing?

Thanks.

Gareth

分类:General Discussion | 用户: Gareth M. (140 分)

Please sign-in or register to answer this question.

...