Wwise SDK 2016.1.1.5823
Following Method 4 in "Strategies for Managing SoundBanks", I am unable to successfully prepare media. I have done the following:
Create new sounds, events, game-syncs, and a new soundbank. Uncheck the "Media" checkbox for the sound bank. Generate banks and it comes up with many errors about "media referenced by ... not found in any SoundBank", this should be fine. The media files still end up as new loose .WEM files in the output directory.
I load my new 'Events & Structures'-only bank at startup so that the events can be located. I then initiate a call to PrepareEvent on one of the events in that bank.
At this point, I hit a breakpoint in my AK::StreamMgr::IAkFileLocationResolver::Open(AkFileID, AkOpenMode, AkFileSystemFlags*, bool&, AkFileDesc&) override. The parameters passed don't seem to be correct.
First off, the AkFileID is wrong. It's not the ID for any of the .WEM files, but instead it's the ID of the soundbank that I created. I found that ID in SoundbanksInfo.xml.
Secondly, the AkFileSystemFlags passed has uCodecID == AKCODECID_BANK. In both AkFileLocationResolver example code, and our own implementation, this is used to determine if we sprintf the AkFileID to "%u.bnk" or "%u.wem". This is making it look for a .bnk, not a .wem.
As a result, this incorrect file information coming through the file resolver causes low-level file size/open operations to fail and no media is ever loaded.
Are there any intermediate steps, either in code, or authoring that need to be done in addition to the setup described here? While the documentation doesn't give step-by-step, I think I followed the information fairly accurately, but what I'm seeing is that preparing my event stored in a no-media bank seems to cause Wwise to ask for a BNK file, when it should be looking for several loose-media WEM files.
Thanks,
Eric