You were partially right, the problem is connected to sound. There're soundengine.cpp and .h in the SDK. The first error popped up because this client.dll requires fmodex.dll and not fmod.dll, I reanmed fmod to fmodex and this error is no longer appearing. Bu there's still "couldn't load functions" error which, I assume, has something to do with this:
void CSoundEngine::GetDllPointers()
{
char szPath[256];
strcpy(szPath, gEngfuncs.pfnGetGameDirectory());
strcat(szPath, "/cl_dlls/fmodex.dll");
m_hFmodDll = LoadLibrary(szPath);
if (!m_hFmodDll)
FatalError("Couldn't load %s!\n", szPath);
(FARPROC&)_FMOD_System_Create = GetProcAddress(m_hFmodDll, "FMOD_System_Create");
(FARPROC&)_FMOD_System_GetVersion = GetProcAddress(m_hFmodDll, "FMOD_System_GetVersion");
(FARPROC&)_FMOD_System_GetNumDrivers = GetProcAddress(m_hFmodDll, "FMOD_System_GetNumDrivers");
(FARPROC&)_FMOD_System_SetOutput = GetProcAddress(m_hFmodDll, "FMOD_System_SetOutput");
(FARPROC&)_FMOD_System_GetDriverCaps = GetProcAddress(m_hFmodDll, "FMOD_System_GetDriverCaps");
(FARPROC&)_FMOD_System_SetSpeakerMode = GetProcAddress(m_hFmodDll, "FMOD_System_SetSpeakerMode");
(FARPROC&)_FMOD_System_SetDSPBufferSize = GetProcAddress(m_hFmodDll, "FMOD_System_SetDSPBufferSize");
(FARPROC&)_FMOD_System_GetDriverInfo = GetProcAddress(m_hFmodDll, "FMOD_System_GetDriverInfo");
(FARPROC&)_FMOD_System_SetSoftwareFormat = GetProcAddress(m_hFmodDll, "FMOD_System_SetSoftwareFormat");
(FARPROC&)_FMOD_System_Init = GetProcAddress(m_hFmodDll, "FMOD_System_Init");
(FARPROC&)_FMOD_System_Set3DSettings = GetProcAddress(m_hFmodDll, "FMOD_System_Set3DSettings");
(FARPROC&)_FMOD_System_Release = GetProcAddress(m_hFmodDll, "FMOD_System_Release");
(FARPROC&)_FMOD_Channel_Stop = GetProcAddress(m_hFmodDll, "FMOD_Channel_Stop");
(FARPROC&)_FMOD_Sound_Release = GetProcAddress(m_hFmodDll, "FMOD_Sound_Release");
(FARPROC&)_FMOD_System_SetReverbAmbientProperties = GetProcAddress(m_hFmodDll, "FMOD_System_SetReverbAmbientProperties");
(FARPROC&)_FMOD_Channel_SetPaused = GetProcAddress(m_hFmodDll, "FMOD_Channel_SetPaused");
(FARPROC&)_FMOD_System_Update = GetProcAddress(m_hFmodDll, "FMOD_System_Update");
(FARPROC&)_FMOD_System_Set3DListenerAttributes = GetProcAddress(m_hFmodDll, "FMOD_System_Set3DListenerAttributes");
(FARPROC&)_FMOD_Channel_IsPlaying = GetProcAddress(m_hFmodDll, "FMOD_Channel_IsPlaying");
(FARPROC&)_FMOD_Channel_GetPaused = GetProcAddress(m_hFmodDll, "FMOD_Channel_GetPaused");
(FARPROC&)_FMOD_Channel_Set3DAttributes = GetProcAddress(m_hFmodDll, "FMOD_Channel_Set3DAttributes");
(FARPROC&)_FMOD_Channel_GetPosition = GetProcAddress(m_hFmodDll, "FMOD_Channel_GetPosition");
(FARPROC&)_FMOD_Channel_SetVolume = GetProcAddress(m_hFmodDll, "FMOD_Channel_SetVolume");
(FARPROC&)_FMOD_Channel_SetFrequency = GetProcAddress(m_hFmodDll, "FMOD_Channel_SetFrequency");
(FARPROC&)_FMOD_Channel_GetFrequency = GetProcAddress(m_hFmodDll, "FMOD_Channel_GetFrequency");
(FARPROC&)_FMOD_System_CreateSound = GetProcAddress(m_hFmodDll, "FMOD_System_CreateSound");
(FARPROC&)_FMOD_System_PlaySound = GetProcAddress(m_hFmodDll, "FMOD_System_PlaySound");
(FARPROC&)_FMOD_Channel_Set3DMinMaxDistance = GetProcAddress(m_hFmodDll, "FMOD_Channel_Set3DMinMaxDistance");
(FARPROC&)_FMOD_System_CreateStream = GetProcAddress(m_hFmodDll, "FMOD_System_CreateStream");
(FARPROC&)_FMOD_Channel_SetDelay = GetProcAddress(m_hFmodDll, "FMOD_Channel_SetDelay");
(FARPROC&)_FMOD_Channel_SetPosition = GetProcAddress(m_hFmodDll, "FMOD_Channel_SetPosition");
(FARPROC&)_FMOD_Sound_GetFormat = GetProcAddress(m_hFmodDll, "FMOD_Sound_GetFormat");
if (!_FMOD_System_Create ||
!_FMOD_System_GetVersion ||
!_FMOD_System_GetNumDrivers ||
!_FMOD_System_SetOutput ||
!_FMOD_System_GetDriverCaps ||
!_FMOD_System_SetSpeakerMode ||
!_FMOD_System_SetDSPBufferSize ||
!_FMOD_System_GetDriverInfo ||
!_FMOD_System_SetSoftwareFormat ||
!_FMOD_System_Init ||
!_FMOD_System_Set3DSettings ||
!_FMOD_System_Release ||
!_FMOD_Channel_Stop ||
!_FMOD_Sound_Release ||
!_FMOD_System_SetReverbAmbientProperties ||
!_FMOD_Channel_SetPaused ||
!_FMOD_System_Update ||
!_FMOD_System_Set3DListenerAttributes ||
!_FMOD_Channel_IsPlaying ||
!_FMOD_Channel_GetPaused ||
!_FMOD_Channel_Set3DAttributes ||
!_FMOD_Channel_GetPosition ||
!_FMOD_Channel_SetVolume ||
!_FMOD_Channel_SetFrequency ||
!_FMOD_Channel_GetFrequency ||
!_FMOD_System_CreateSound ||
!_FMOD_System_PlaySound ||
!_FMOD_Channel_Set3DMinMaxDistance ||
!_FMOD_System_CreateStream ||
!_FMOD_Channel_SetDelay ||
!_FMOD_Channel_SetPosition ||
!_FMOD_Sound_GetFormat)
{
FatalError("Couldn't load functions from %s\n", szPath);
}
}
Unfortunately I don't really understand what's going in that if (!_FMOD_System_Create ||
part and don't know what causes the error here