Logo

CS.RIN.RU - Steam Underground Community

It is currently Thursday, 30 Jun 2016, 18:05

English | Русский




Post new topic Reply to topic  [ 78 posts ] 
Author Message

Post Post subject: VoiceTranscoder 2.0RC1 (Dec 25 2015) - GoldSrc MM Plugin   
Posted: Wednesday, 13 Nov 2013, 00:34   Reply with quote
Advanced forumer Завсегдатай
Joined: Sunday, 14 Mar 2010, 17:52
Posts: 52
VoiceTranscoder is a metamod plugin, which corrects the voice problems between old non-steam/steam clients and new steam clients players.

Features:
  • Recoding from Speex (old clients codec) to SILK (new clients codec) and vice versa.
  • Supports HLDS (>= 4382), ReHLDS (>= 610) and listen servers (not tested)
  • Transcoding in a separate thread. (VTC_ThreadMode cvar) EXPERIMENTAL
  • Increase the volume of voice (only for recoding, VTC_Volume_OldToNew and VTC_Volume_NewToOld cvars).
  • Prevent flood voice packets (VTC_MaxDelta cvar).
  • You can choose what voice packets will receive HLTV (Speex encoded or SILK)
  • API for plugins

CVARs: (You can find them in VoiceTranscoder.cfg)
  • VTC_ForceSendHLTV - if enabled HLTV will always receive voice packets (independent from gamedll voice masks)
  • VTC_ThreadMode - enables/disables transcoding in a separate thread (temporary can be changed only on server start) (default value is 0 - disabled)
  • VTC_Volume_OldToNew - for increase volume for Speex->SILK recoding (default value is 1.0)
  • VTC_Volume_NewToOld - for increase volume for SILK->Speex recoding (default value is 1.0)
  • VTC_HltvCodec - what voice packets will receive HLTV ("old" is speex, "new" is SILK, default value is "old")
  • VTC_MaxDelta - for prevent flooding of voice packets (for example by speedhack), in milliseconds (that is maximal difference between the server time and client voice time, default value is 200)

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 into plugins.ini:
    • For windows:
      Quote:
      win32 addons\VoiceTranscoder\VoiceTranscoder.dll
    • For linux:
      Quote:
      linux addons/VoiceTranscoder/VoiceTranscoder.so

Thanks to:
  • Ecklory for big help with icc installing and using
  • Crock for help with multithreading
  • Lev for help with multithreading
  • FIELD LINE for hard testing
  • Soviet Coder for advising
  • Turanga Leela for advising
  • 9iky6 for some ideas and bugreporting
  • ck001ru for testing with hltv
  • Salpson, Subb98, Revoltaki, GrenKain, Touch Devil, Dj Beast for testing

Current version: 2.0RC1
Attachment:
VoiceTranscoder_2.0RC1.zip
Attachment:
VoiceTranscoder_API_1.0.zip


Attachment:
VoiceTranscoder2.0Beta.zip


old text
Hello.
Since July I was working on metamod plugin "VoiceTranscoder", which corrects the voice problems of non steam (old clients) and steam (new clients) players.

Official russian topic

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.
Flasher wrote:
Version 0.9.356:
    Added support of upcoming voice transcoding module.

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:
      Quote:
      win32 addons\vtc\vtc.dll
    • For linux:
      Quote:
      linux addons/vtc/vtc.so

Current version: 80
Attachment:
VoiceTranscoder80.zip


Known problems:
Spoiler
  • 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:
    Quote:
    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:
Spoiler
  1. Type in console:
    Quote:
    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:
    Quote:
    meta load addons\vtc\vtc.dll

    For linux:
    Quote:
    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)


You do not have the required permissions to view the files attached to this post.


Last edited by PRoSToTeM@ on Monday, 28 Dec 2015, 06:49, edited 22 times in total.

Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v78   
Posted: Wednesday, 13 Nov 2013, 07:27   Reply with quote
Beginner Без звания
Joined: Tuesday, 19 Feb 2013, 23:59
Posts: 7
I feel glad to be the first one to comment. A new era starts :D


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v78   
Posted: Wednesday, 13 Nov 2013, 08:17   Reply with quote
Beginner Без звания
Joined: Wednesday, 10 Nov 2010, 07:46
Posts: 3
ОS: Debian - not load, how to be?

  1. Protocol version 48
  2. Exe version 1.1.2.7/Stdio (cstrike)
  3. Exe build: 13:14:12 Aug 29 2013 (6153)

  1.  
  2. Currently loaded plugins:
  3.       description      stat pend  file              vers      src   load  unlod
  4.  [ 1] dproto_EF        RUN   -    dproto_mm_i386.s  v0.9.352  ini   Start Never
  5.  [ 2] VoiceTranscoder  fail load  vtc.so            v78       ini   ANY   Pause
  6. 2 plugins, 1 running


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v78   
Posted: Wednesday, 13 Nov 2013, 08:24   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Thursday, 23 Apr 2009, 18:57
Posts: 683
patrig wrote:
ОS: Debian - not load, how to be?

  1. Protocol version 48
  2. Exe version 1.1.2.7/Stdio (cstrike)
  3. Exe build: 13:14:12 Aug 29 2013 (6153)

  1.  
  2. Currently loaded plugins:
  3.       description      stat pend  file              vers      src   load  unlod
  4.  [ 1] dproto_EF        RUN   -    dproto_mm_i386.s  v0.9.352  ini   Start Never
  5.  [ 2] VoiceTranscoder  fail load  vtc.so            v78       ini   ANY   Pause
  6. 2 plugins, 1 running


Read the first post correctly:
Quote:
This plugin needs dproto 0.9.356 or more recent version of dproto.

_________________
My game list: Online play with SmartSteamEmu.
How to play: Dying Light Coop on Tunngle.


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v78   
Posted: Wednesday, 13 Nov 2013, 08:28   Reply with quote
Beginner Без звания
Joined: Wednesday, 10 Nov 2010, 07:46
Posts: 3
lespaul wrote:
Read the first post correctly:
Quote:
This plugin needs dproto 0.9.356 or more recent version of dproto.


Thanks ... Inattention.


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v78   
Posted: Wednesday, 13 Nov 2013, 16:12   Reply with quote
Advanced forumer Завсегдатай
Joined: Friday, 13 Nov 2009, 20:05
Posts: 51
поставил, но все равно не слышно, меня не слышно и я не слышу, прописано у меня и у проверяющего voice_enable 1
не сервере:
[ 1] dproto_EF RUN - dproto_i386.so v0.9.356 ini Start Never
[ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-d ini Start ANY
[ 3] VoiceTranscoder RUN - vtc.so v78 ini ANY Pause

клиент:
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:14:12 Aug 29 2013 (6153)

not work


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 16:35   Reply with quote
Advanced forumer Завсегдатай
Joined: Sunday, 14 Mar 2010, 17:52
Posts: 52
New version v79:
Attachment:
VoiceTranscoder79.zip

  • Fixed bug with sv_voicefloodms cvar (players can't speak after change map)

-- Edit --

coolman wrote:
поставил, но все равно не слышно, меня не слышно и я не слышу, прописано у меня и у проверяющего voice_enable 1
не сервере:
[ 1] dproto_EF RUN - dproto_i386.so v0.9.356 ini Start Never
[ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-d ini Start ANY
[ 3] VoiceTranscoder RUN - vtc.so v78 ini ANY Pause

клиент:
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:14:12 Aug 29 2013 (6153)

not work

sv_voicecodec - ?
sv_voicequality - ?

И напишите версию сервера, а не клиента.


You do not have the required permissions to view the files attached to this post.


Last edited by PRoSToTeM@ on Thursday, 14 Nov 2013, 22:00, edited 5 times in total.

Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 16:38   Reply with quote
Beginner Без звания
Joined: Tuesday, 19 Feb 2013, 23:59
Posts: 7
sad that it was released and updated on the same day... but still fair enough :)


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 17:08   Reply with quote
Beginner Без звания
Joined: Saturday, 04 Dec 2010, 12:32
Posts: 3
Поставил данный модуль на один из серверов. Работал прекрасно до определённого момента. У одного из наших steam игроков перестал работать микрофон. Перезаход на сервер не помогал. Если сделать meta force_unload VoiceTranscoder, то микрофон у него снова работает, а после meta load addons/vtc/vtc.so тут же отключается. После включения на других серверах без этого модуля микрофон так же отказывался работать. Хотя при проверке микрофона в самой игре (в опциях) игрок себя слышит.

version : 48/1.1.2.7/Stdio 5787 secure (10)

  1. Currently loaded plugins:
  2.       description      stat pend  file              vers      src   load  unlod
  3.  [ 1] dproto_EF        RUN   -    dproto_i386.so    v0.9.356  ini   Start Never
  4.  [ 2] VoiceTranscoder  RUN   -    vtc.so            v78       ini   ANY   Pause
  5.  [ 3] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.1.3  ini   Start ANY
  6.  [ 4] Fun              RUN   -    fun_amxx_i386.so  v1.8.2-d  pl3   ANY   ANY
  7.  [ 5] Engine           RUN   -    engine_amxx_i386  v1.8.2-d  pl3   ANY   ANY
  8.  [ 6] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2-d  pl3   ANY   ANY
  9.  [ 7] CStrike          RUN   -    cstrike_amxx_i38  v1.8.2-d  pl3   ANY   ANY
  10.  [ 8] CSX              RUN   -    csx_amxx_i386.so  v1.8.2-d  pl3   ANY   ANY
  11.  [ 9] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2-d  pl3   ANY   ANY
  12.  [10] MySQL            RUN   -    mysql_amxx_i386.  v1.8.2-d  pl3   ANY   ANY
  13. 10 plugins, 10 running


sv_voicevolume_speex 3
sv_voicevolume_silk 3

sv_voicecodec voice_speex
sv_voicequality 3

UPD: После перезапуска сервера микрофон работает, но после смены карты опять всё тоже самое.


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 17:24   Reply with quote
Advanced forumer Завсегдатай
Joined: Sunday, 14 Mar 2010, 17:52
Posts: 52
x@kep, установите новую версию.


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 18:13   Reply with quote
Advanced forumer Завсегдатай
Joined: Friday, 13 Nov 2009, 20:05
Posts: 51
PRoSToTeM@ wrote:
New version v79:

sv_voicecodec - ?
sv_voicequality - ?

И напишите версию сервера, а не клиента.


Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)

sv_voicecodec - ?
sv_voicequality - ?
не ставил, по умолчанию


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 18:23   Reply with quote
Advanced forumer Завсегдатай
Joined: Sunday, 14 Mar 2010, 17:52
Posts: 52
coolman wrote:
PRoSToTeM@ wrote:
New version v79:

sv_voicecodec - ?
sv_voicequality - ?

И напишите версию сервера, а не клиента.


Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)

sv_voicecodec - ?
sv_voicequality - ?
не ставил, по умолчанию

Чему равны эти квары на момент разговоров по микрофону?


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 18:24   Reply with quote
Advanced forumer Завсегдатай
Joined: Friday, 13 Nov 2009, 20:05
Posts: 51
PRoSToTeM@ wrote:
coolman wrote:
PRoSToTeM@ wrote:
New version v79:

sv_voicecodec - ?
sv_voicequality - ?

И напишите версию сервера, а не клиента.


Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)

sv_voicecodec - ?
sv_voicequality - ?
не ставил, по умолчанию

Чему равны эти квары на момент разговоров по микрофону?

а как проверить? Через ркон выставил
sv_voicevolume_speex 3
sv_voicevolume_silk 3

sv_voicecodec voice_speex
sv_voicequality 3
все равно не слышат меня и я не слышу


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 18:25   Reply with quote
Beginner Без звания
Joined: Saturday, 04 Dec 2010, 12:32
Posts: 3
PRoSToTeM@ wrote:
x@kep, установите новую версию.

Спасибо, в новой версии этой проблемы уже нет. По поводу тестирования слышимости, non-steam игроки слышат steam игроков более менее хорошо, без прерываний. Немного глуховато и иногда с "шелестом", если громко говорят, но разобрать слова можно. А вот steam игроки слышат non-steam с большими прерываниями. Пол секунды слышно, пол секунды - нет, хотя игроки говорят без пауз. В остальном всё работает отлично.


Top
 Profile  

Post Post subject: Re: HLDS VoiceTranscoder v79   
Posted: Wednesday, 13 Nov 2013, 18:52   Reply with quote
Advanced forumer Завсегдатай
Joined: Sunday, 14 Mar 2010, 17:52
Posts: 52
x@kep
Порегулируйте sv_voicefloodms в меньшую сторону.
И sv_voicevolume_speex, sv_voicevolume_silk отвечают за усиление громкости. Поставьте 1.0 и должно быть слышно чётко и разборчиво.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 78 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next


Who is online

Users browsing this forum: kweeky91, napf and 5 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group