There's a small fix for this problem that works for me.
Go inside the "buildsdkshaders.bat" and comment the "set SDKBINDIR=" out. 

After that open up the "buildshaders.bat" and change the line (73 & 74) from:

 if not exist "%SDKBINDIR%\shadercompile.exe" goto NoShaderCompile"
set ChangeToDir=%SDKBINDIR%

to

if not exist "%sourcesdk%\bin\orangebox\bin\shadercompile.exe" goto 
NoShaderCompile
set ChangeToDir=%sourcesdk%\bin\orangebox\bin


Hope it helps.
Thanks Valve and of course Toni for that great SDK!


-- Walter Gray wrote : 
Same problem here.  Even with the String::CRC32 package installed, I get 
the second error.

Garrett wrote:
> I was messing around trying to compile shaders, and I've come across a couple 
> of issues.
> In updateshaders.pl, psh_prep.pl, copyshaderincfiles.pl, and vsh_prep.pl, 
> there's a line at the beginning, "use String::CRC32;" that really doesn't 
> seem to be needed, as well as the couple of lines that actually use that 
> CRC32 stuff.
> updateshaders.pl - lines 244 - 248
> psh_prep.pl - lines 267, 284
> vsh_prep.pl - lines 1025, 1041
>
> After getting through that, I ran into some trouble when it actually got to 
> the part where it runs shadercompile.exe and I got the following output:
>
> Running distributed shader compilation...
> Can't find 
> "D:\Users\Garrett\Documents\Mods\testmod\src\materialsystem\stdshaders\d:\games\steam\steamapps\accountname\sourcesdk\bin\orangebox\bin\shadercompile.exe
>  "
> Can't find 
> "D:\Users\Garrett\Documents\Mods\testmod\src\materialsystem\stdshaders\d:\games\steam\steamapps\accountname\sourcesdk\bin\orangebox\bin\shadercompile_dll.dll
>  "
> Can't find 
> "D:\Users\Garrett\Documents\Mods\testmod\src\materialsystem\stdshaders\d:\games\steam\steamapps\accountname\sourcesdk\bin\orangebox\bin\tier0.dll
>  "
> Can't find 
> "D:\Users\Garrett\Documents\Mods\testmod\src\materialsystem\stdshaders\d:\games\steam\steamapps\accountname\sourcesdk\bin\orangebox\bin\vstdlib.dll
>  "
> Can't open mysql_wrapper.dll!
>
> Modifying line 184 in buildshaders.bat to take out the -shaderpath parameter 
> caused those errors to go away, but then I got an error of "Can't find 
> \filelist.txt", which I'm assuming is because I took out the -shaderpath.
>
>
>       
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>   


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


--
This message was sent on behalf of fl...@planet-mtv.de at openSubscriber.com
http://www.opensubscriber.com/message/hlcoders@list.valvesoftware.com/11706712.html

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to