社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

0 投票

Hello,

I would like to migrate my Wwise plugin to support 2022.1, and I am facing the changes that were made greatly to the SoundBank metadata files following the migration documentation. The first thing and almost the only thing that confused me is the new "Hash" field on SoundBank elements. It looks like a GUID, but it is named "hash" and it changes and changes back when I edit a bank back and forth. The only definition I can find for this field is in ak.wwise.core.soundbank.generated, where it says "Hash value used for SoundBank generation purposes", which is too ambiguous to implement.

Does this field affect Source Control on the generated SoundBanks?

I want to implement this field because the new feature introduced in 2022.1, WG-56344 Automatic update of source control for generated files on SoundBank generation. It is not hard to think if they are associated. My plugin operates directly on the xml files, and I don't want to break anything in 2022.1.

Is this field necessary? How can I implement the hash? How can I make use of this field?

Thank you.

分类:Beta Feedback | 用户: Hua W. (130 分)

1个回答

0 投票
 
已采纳

Hello. Sorry for the confusing description for BankInfo.Hash. Yes, it is formatted as a GUID. However, the field is simply a 128-bit hash value of the contents of the associated Soundbank the last time it was generated. The value is used by the Soundbank generation process to determine if the Soundbank has changed since the last generation. But, the value is not read from the metadata file. The same value is also in the Soundbank file (.bnk). The value is added to the metadata file as extra information. It may prove useful in the future. At the moment, it's not used.

Hope this helps.

用户: Michael C. (Audiokinetic) (520 分)
采纳于 用户:Hua W.
...