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

Hey all, 

I was wondering if anyone has ever tried to launch a .bat script in the post generation steps, which displays on screen in a cmd window, rather than in the in-built 'Soundbank progress' window log.  

The pipeline I'm trying to achieve right now is; 

  1. Generate all soundbanks
  2. When finished, launch a .bat script which I've created.  Within that script I ask the user to input a choice from 1 - 5 based off specifics with our pipeline.  Depending on their choice, it then goes off and does a variety of commands all over the shop.  A few seconds later, a ton of automated commands are finished, and we're all good and happy.  
Unfortunately, when trying to run the .bat from the post-generation steps in Wwise, the soundbank generator just hangs at the global closing step where it loads the script as it's obviously waiting for a user selection to made. 
 
This wouldn't be an issue if I could actually see the cmd window somewhere, but it appears very much that Wwise keeps this hidden from the user.  Hence the inevitable hang.  
 
So, is there any way of actually launching the cmd window, separately from Wwise?
 
Arguably I can indeed just run the .bat file myself manually when finished, but this is going to be used by multiple users and I really want to get everything into one slick workflow.  
 
Any thoughts appreciated! 
 
Many thanks,
Andy Grier
 
in General Discussion by Andy G. (100 points)

1 Answer

0 votes
try copy bat's txt content to wwise,and replace a command with it's samenamed exe. like this:

xcopy.exe "$(HeaderFileFullFilePath)" "$(HeaderFilePath)\..\..\..\..\GeneratedSoundBanks\"  /Y /E

----------

you can also put your command.exe into C:\PROGRAM~1\AK\Wwise\Plugins\
by 田田 (150 points)
...