Extract encoded voice from voicedata in CS:GO .dem demo file and decode it from .raw to .wav
Visual Studio release x86
1.Get encoded voicedata
from your favourite csgo demo parser.I used demofile
2.Decode voicedata using compiled decode_voicedata.exe, you can grab multi encoded voicedata files onto .exe and they will all be decoded into .raw audio files.
Important: tier0.dll and vaudio_celt.dll must be at same folder of .exe(they can be found in csgo's folder)
3.Convert .raw audio files to .wav or other audio files using sox with command line
-t raw -r 22050 -b 16 -c 1 -L out.raw out.wav
(replace out.raw with your filename)