Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

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

in General Discussion by Gareth M. (140 points)

Please sign-in or register to answer this question.

...