Audiokinetic의 커뮤니티 Q&A는 사용자가 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.

...