PDA

View Full Version : no data chunk in .wav file


lazywolfy
05-24-2007, 01:23 PM
I took some sounds and converted them to a single 16bit/22khz/mono wav file for use as a custom sound pack in my gameserver. The sound should automatically play when 30seconds are remaining in gameplay but it instead displays the following error message: no data chunk in sound/vo/general/allies/hq_30seconds_a.wav.

The wav file sounds and plays fine upon being launched manually but for some reason it's not working when called upon by my gameserver.

Is there something I can do to fix a no data chunk error?

Spoon
05-24-2007, 03:37 PM
It could be there is other chunks in the wave file which is causing problems with your gameserver, what was the source of the conversion (converted from what?)

lazywolfy
05-24-2007, 03:55 PM
It was converted from an mp3 file and a wav file.

I converted an mp3 file to wav first (using dMC), I then cut out the clip I needed (using Windows Sound Recorder), then merged it with a wav file (also using Windows Sound Recorder), and saved it as a 16bit,22khz,mono PCM wav file.

:blush:

LtData
05-24-2007, 09:48 PM
Are you sure that 16-bit, 22khz, and mono PCM are the right specs so that your gameserver can play the file?

lazywolfy
05-25-2007, 02:11 PM
I'm positive! I matched the files to the exact same specs as the originals so I know it's not a problem in the specs, plus those are the recommended specs and I've successfully used them for other files I've converted. Besides, if it was that, the gameserver would say something like files are not valid 16bit, 22khz, mono wav files. It's happened before.

The problem is in the data itself ("no data chunk found in ...")...but how do I fix that? :headbang: :headbang: :lipsrseal

Spoon
05-25-2007, 04:16 PM
Perhaps ask gameplay, they are valid wav files (try playing them in windows media player)