TF2 vvis and vrad bugging out

Comaaz

L1: Registered
May 14, 2015
33
5
So I'm trying to compile a map for TF2 but in the compile log it gives me:


vvis launcher error: can't load vvis_dll.dll
The specified procedure could not be found.

and:

vrad_launcher error: can't load vrad_dll.dll
The specified procedure could not be found.


So the maps are fullbright and unoptimized.
All the configs are set up correctly. I've tried compiling some hl2 maps for hl2 ep2 and it isn't giving me any vvis or vrad errors. I've even tried replacing the TF2 versions of vvis/vrad.exe and vvis_dll/vrad_dll.dll with the ones from hl2 ep2 and it compiles vvis and vrad using those files, but the visibility solution is glitchy and the lighting is fullbright (only on tf2 textures). I tried deleting those files from tf2/bin and verifying via steam and redownloading but it seems like those files are just broken. Did valve break vvis/vrad for TF2 with any recent updates? I don't know how to fix this.
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
This problem started with Jungle Inferno iirc, I don't know why, but it can be fixed by simply installing the x86 version* of the Visual C++ Redistributable: https://www.microsoft.com/en-us/download/details.aspx?id=48145

*Even if you have a 64-bit PC. If you have the x64 version installed, you don't need to uninstall it.
 

Comaaz

L1: Registered
May 14, 2015
33
5
Ok thanks this seems to have fixed the problem. I tried installing the vc redistributables but I downloaded the x64 (64bit) version instead of the x86 (32bit) so it didn't work at the time. So vvis and vrad are 32bit applications and valve probably changed those tools to use something from the libraries of the vc redist 32bit. Also, is it possible to fix this problem with newer versions of vc redist or only the 2015 version works?
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
I have not tested any other versions of the redistributable and I have not heard anyone discuss whether other versions of it work.