Hi,
we are introducing Wwise to our workflow and are still in the learning phase, currently learning about the pre/post generation step commands. As a hello world task I prepared a simple batch script, which just renames the exported banks from .bnk to .bin format in the post generation step:
@ECHO OFF set path=%1 SHIFT :TOP IF %1=="" GOTO END set origin=%path%\%1%.bnk set dest=%path%\%1%.bin move %origin% %dest% SHIFT GOTO TOP :END |
On Windows machines it works when I run it simply by adding the following new line to the default Copy Streamed Files command:
"$(WwiseProjectPath)\test.bat" "$(SoundBankPath)" $(SoundBankList) |
However, the problem appears on Mac machines, probably since they are using Wine to run Wwise (which I still do not understand, why this direction was taken, with how unstable Wine ports tend to be).
When I setup the same command on a Mac machine it simply never stops exporting, just saying it is in progress. Actually the only thing that happens is, that my CPU is getting hot and the fans start to spin like crazy. Even after closing the app I need to shutdown the Mac to escape the infinite loop, some wild process escapes me to kill it.
First I thought it was just a OS path slash issue ( \ vs / ) but after trying with the actual path values instead of variables both in UNIX and Windows path forms, the result did not change, the infinite loop remained.
Is it a wine issue? Or is the command setup on Mac different than on Windows, since the Macros seem to randomly change between UNIX and Windows path forms?