Crauzer / WEMSharp

Audiokinetic Wwise WEM file converter
GNU General Public License v3.0
20 stars 6 forks source link

SMPL Chunk - Wrong Loop Count #1

Open Ginsor opened 6 years ago

Ginsor commented 6 years ago

Hi,

I have a bunch of WWise (RIFF) files ripped from a game and using WEMSharp works for the best part of these files to be encoded/played. However, there are a bunch of files, which get the error mentioned in the title:

SMPL Chunk - Wrong Loop Count

Any clue where exactly this error is coming from and how to fix it? I tried all the WEMForcePacketFormats and other options. Help is highly appreciated here.

Loop Count Error File Download

One thing to mention: it seems like ww2ogg can encode it smoothly, so nothing wrong with the file itself.

Thanks

Ginsor commented 6 years ago

I commented out the following lines, and it works. Will there be any problems with that peace of coding missing?

if (this._loopCount != 1) { throw new Exception("SMPL Chunk - Wrong Loop Count"); }