Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: EK.IceFlake on May 13, 2016, 05:06 AM

Title: Is there some limitation on gunshot.wav?
Post by: EK.IceFlake on May 13, 2016, 05:06 AM
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'.
Title: Re: Is there some limitation on gunshot.wav?
Post by: EK.IceFlake on May 13, 2016, 09:10 AM
bump
Title: Re: Is there some limitation on gunshot.wav?
Post by: maxorator on May 13, 2016, 02:50 PM
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.
Title: Re: Is there some limitation on gunshot.wav?
Post by: EK.IceFlake on May 14, 2016, 04:10 AM
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?
Title: Re: Is there some limitation on gunshot.wav?
Post by: vito on Jun 04, 2016, 03:18 PM
plz say any free software to make valid gunshot.wav from mp3 and tell setting to 'save as' for it.
Title: Re: Is there some limitation on gunshot.wav?
Post by: . on Jun 04, 2016, 03:23 PM
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