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

Hello, I'm encountering a critical pathing issue with Wwise 2024.1.9 in our production pipeline.

Our game employs a completely flat file management system for all assets (due to hot updates and packaging requirements), meaning all files reside in a single root directory with no subfolders.

However, the new version of Wwise automatically places all generated .wem files inside a Media subfolder upon SoundBank generation. According to the documentation on the "New Media File Layout," the engine's sample file resolver is hardcoded to look for files within this Media folder structure at runtime.

This creates a conflict: our runtime environment expects all files (including .wem) to be in the root directory, but the audio engine looks for them in ./media/.... This results in audio files failing to load.

 

My core question is: In Wwise 2024, is there an official, configurable project or generation setting to disable this enforced Media subfolder layout and output all .wem files directly to the same directory as the SoundBank .bnk files (a flat structure)?

If such a setting does not exist, what would be the recommended approach to override the file resolver's pathing behavior at runtime to support our flat directory structure? Any guidance on implementing a custom IAkFileLocationResolver for this specific scenario would be greatly appreciated.

Thank you.

ago in General Discussion by 亚民 (100 points)

1 Answer

0 votes

Hi  亚民 ,

to my knowledge, there is no configurable project or generation setting to disable the Media File Layout. A potential solution for your use case is to use File Packages. With the File Packager Utility you can group SoundBanks, loose media, and streamed media into one or more package files. These packages can then be placed anywhere you need in your filesystem.

Relevant documentation:
Sample File Package Low-Level I/O Implementation Walkthrough

Using File Packages

ago by Alessandro Famà (6.6k points)
...