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'.
bump
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.
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?
plz say any free software to make valid gunshot.wav from mp3 and tell setting to 'save as' for it.
Quote from: vito on Jun 04, 2016, 03:18 PMplz say any free software to make valid gunshot.wav from mp3 and tell setting to 'save as' for it.
http://forum.vc-mp.org/?topic=2094.msg15530#msg15530