Closed ghost closed 8 years ago
As far as ww2ogg is concerned, this file type is simply unsupported, as it is not Wwise Vorbis.
This is a Wwise IMA ADPCM file, which is pretty much my archenemy. It is basically just MS-style IMA, interleaved differently, but there is some subtlety of decoding that is nonstandard such that fixing the interleave still leaves files sounding noisy.
Sorry for raising an issue on your app when it's not a filetype you support
I spent the last several hours figuring out what wwise_ima_adpcm was doing differently, finally I now have a decoder that works properly: ima_rejigger5.zip. No reason to use this over wwise_ima_adpcm for RIFF, but it also works with RIFX, and there's source, though it is ugly and rushed.
The final straw was that Wwise IMA ADPCM decodes one fewer sample per block than Microsoft's IMA format.
Credit where due, wwise_ima_adpcm is originally by Zwagoth Klarr (zabb65), from his Bitbucket repository with this and other tools for modding Payday 2. Source and the binary with the original readme are found there.
The header looks like this:
but ww2ogg reports
Sample file is at https://mega.nz/#!us5gDKKZ!R1VwA1w88AuSK10pyIaAfHFVts1ozWXTXI8yPP7l6es