Page 1 of 1

HLDS VoiceTranscoder v80

Posted: 2013 Nov 29 02:38
by smile
Since July I was working on metamod plugin "VoiceTranscoder", which corrects the voice problems of non steam (old clients) and steam (new clients) players.
This plugin should work on builds from 4382 to 6153. (maybe can work on earlier builds)
This plugin needs dproto 0.9.356 or more recent version of dproto.
http://amxmodx.lt/viewtopic.php?f=7&t=449
This module don't work with miles voice codec.

Features:
Recoding from Speex (old clients codec) to SILK (new clients codec) and vice versa.
Increase the volume of voice (only for recoding, sv_voicevolume_speex and sv_voicevolume_silk cvars).
Prevent flood voice packets (sv_voicefloodms cvar, disabled by default).

CVARs:
sv_voicevolume_speex - for increase volume for Speex->SILK recoding (default value is 1.0)
sv_voicevolume_silk - for increase volume for SILK->Speex recoding (default value is 1.0)
sv_voicefloodms - for prevent flooding of voice packets (for example by speedhack), in milliseconds (that is minimal time between voice packets, default value is 0 disabled)

Installation:
1. Go to your <gamedir> (for example "valve" or "cstrike") and copy there folder "addons" from the archive.
2. Then go to your metamod directory (for default is <gamedir>/addons/metamod/) and add after dproto into plugins.ini :

For windows:

Code: Select all

win32 addons\vtc\vtc.dll
For linux:

Code: Select all

linux addons/vtc/vtc.so
Known problems:
Module running, but players can't speak (Bad liblist.gam).
To fix that problem you need to comment or remove these strings in liblist.gam:

Code: Select all

gamedll "dlls\mp.dll"gamedll "dlls\hl.dll"gamedll_linux "dlls/cs_i386.so"gamedll_linux "dlls/hl_i386.so"gamedll_linux "dlls/cs.so"
If this don't help, attach your liblist.gam

How to install new version without restart server:
1.Type in console:
meta unload VoiceTranscoder
2. Then update files (vtc.dll / vtc.so)
3. Type "meta load <path>" where <path> is a path to VoiceTranscoder module, by default path is addons\vtc\vtc.dll (windows) or addons/vtc/vtc.so (linux)
For example, for windows:
meta load addons\vtc\vtc.dll
For linux:
meta load addons/vtc/vtc.so
4. And now profit! or ... sometimes server can crash

In case of problems:
1. Install new version of plugin
2. Describe your problem
3. Tell build of server and platform
4. Write content of liblist.gam
5. And content of meta list and meta version
6. Attach your vtc.log (from logs folder)

Changelog
79-80
Add extra logging (logs/vtc.log)
Direct set sv_voicecodec to voice_speex (if sv_voicecodec not equal voice_speex)
sv_voicefloodms default value is 0 (i think temporarily)
78-79
Fixed bug with sv_voicefloodms cvar (players can't speak after change map)

Current version: 80
Attachment: download
http://cs.rin.ru/forum/download/file.php?id=14857

HLDS VoiceTranscoder v80
http://cs.rin.ru/forum/viewtopic.php?f=10&t=63814

Re: HLDS VoiceTranscoder v80

Posted: 2013 Nov 29 10:46
by aaarnas
Bent jau buvo galima išversti ir failus forume patalpinti. Žinom, kaip cs.rin mėgsta pradingti iš interneto.

Re: HLDS VoiceTranscoder v80

Posted: 2013 Nov 29 11:08
by GhostMan
Mėginot kasnors, kaip veikia?

Re: HLDS VoiceTranscoder v80

Posted: 2014 Jan 19 12:50
by laimiukas3
HLDS VoiceTranscoder v106
mano cvars :)

Code: Select all

vtc_log "0"sv_voicecodec voice_speexsv_voicequality "5"sv_voicevolume_speex "0.5"sv_voicevolume_silk "0.5"sv_voicefloodms "0"

new
vtc_log [0/1]
vtc_logdir "direktorija"

Re: HLDS VoiceTranscoder v80

Posted: 2015 Sep 22 16:28
by smile
HLDS VoiceTranscoder v302 Linux
HLTV Demo fix
http://non-steam.ru/?p=247

Re: HLDS VoiceTranscoder v80

Posted: 2016 Jan 23 09:27
by laimiukas3
New version 2.0RC1:
Added new cvar VTC_ForceSendHLTV
Added API for plugins
Improved SILK codec

VoiceTranscoder 2017 RC3 (fix archive)