Is there some limitation on gunshot.wav?

Started by EK.IceFlake, May 13, 2016, 05:06 AM

Previous topic - Next topic

EK.IceFlake

I'm using a gunshot.wav with a pure 120hz sine wave which is exactly 1 second long.
Quote from: VCMP debug logError in CMvlWeapon::ParseArchive: Could not load file 'w111_s6_l26_m41a/gunshot.wav' from archive 'unknown'.
Error in CMvlWeapon::LoadFromArchive: Parsing weapon archive failed.
Error in CWeaponHandler::LoadWeaponArchives: Could not load weapon archive 'weapons/w111_s6_l26_m41a.7z'.

EK.IceFlake


maxorator

Aren't there any other errors in the log? It should also say why the wav was rejected.

Only 16-bit PCM WAVs are supported.

EK.IceFlake

Quote from: maxorator on May 13, 2016, 02:50 PMAren't there any other errors in the log? It should also say why the wav was rejected.

Only 16-bit PCM WAVs are supported.
I converted it to 16bit but now
Quote from: debuglog.txtError in CSoundHandler::FillSampleBufferFromData: First subchunk size should be 16, probably file is not in PCM format.
Error in CSoundHandler::LoadSoundFile: Could not read sample buffer from file gunshot.wav.
Error in CMvlWeapon::RegisterArchiveFile: Loading sound file gunshot.wav failed.
Error in CMvlWeapon::ParseArchive: Could not register file 'gunshot.wav' from archive 'unknown'.
Error in CMvlWeapon::LoadFromArchive: Parsing weapon archive failed.
Error in CWeaponHandler::LoadWeaponArchives: Could not load weapon archive 'weapons/w102_s6_l26_m41a.7z'.
how should I convert it to pcm?

vito

plz say any free software to make valid gunshot.wav from mp3 and tell setting to 'save as' for it.

.

.