Page 1 of 1

Sticking Audio

Posted: Tue Aug 19, 2008 2:16 am
by Trestkon
This error with the sticking audio is getting highly annoying. The latest one in DTFemaleB, with ALL her lines sticking! Is there any chance that you (Shane and Nick) might be able to identify what exactly the error means?

Code: Select all

Log: **** DConversation::GetSoundLength() - WARNING!  Invalid sound file format!
Then maybe we can prevent it from happening in the first place.

Posted: Tue Aug 19, 2008 2:22 am
by Jonas
And just to be clear, the problem has previously been solved by re-converting the files into the exact same format (apparently), which is 22KHz 48kbps mono MP3. Apparently Deus Ex can tell some difference that we can't - and that our sound techs can't either >_<

The problem is - aside from the fact that it's a huge amount of extra work - that the audio sounds slightly muffled after being re-converted.

Posted: Wed Aug 20, 2008 4:08 am
by that guy
I'm not really familiar with the error but...

If you're converting it into exactly the same format why is it getting more muffled?
If deus ex can tell the difference then the files must be different in some way. Has anyone done a binary compare on the before and after?
I propose backing up a DTFemale line (possibly the whole package to be sure) then fixing it by the method you describe and seeing if the files are indeed the same. If they're not, I'd suggest that someones audio converter doesn't perfectly match the format expected by deus ex. It wouldn't be the first time that the game crashes and burns at the sight of something slightly unexpected.

Posted: Mon Aug 25, 2008 4:46 pm
by Jonas
For future documentation, the problem is that DX can't cope with ID tags on MP3 files. Removing the tags solves the sticking problem.

Posted: Mon Aug 25, 2008 4:49 pm
by Trestkon
...and there was much rejoicing.

yaaaay!

Posted: Mon Aug 25, 2008 4:51 pm
by Trestkon
I can't remember what we did with DTFemaleB, are they currently muffled by re-conversion?

Posted: Mon Aug 25, 2008 5:10 pm
by Jonas
No you never got around to committing them, so I just removed the ID tags :)

Posted: Mon Aug 25, 2008 5:42 pm
by Trestkon
\o/