Just an update, with a bit of tweaking I was able to make this work by 
commenting out the following lines in buildshaders.bat

echo %SDKBINDIR%\shadercompile.exe >> filestocopy.txt
echo %SDKBINDIR%\shadercompile_dll.dll >> filestocopy.txt
echo %SDKBINDIR%\vstdlib.dll >> filestocopy.txt
echo %SDKBINDIR%\tier0.dll >> filestocopy.txt

I also had to get a copy of mysql_wrapper.dll from the wiki.  After that 
it seemed to work fine.

[email protected] wrote:
> 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 [email protected] at openSubscriber.com
> http://www.opensubscriber.com/message/[email protected]/11706712.html
>
> _______________________________________________
> 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

Reply via email to