To Walter/Tobias: I have changed my runvmpi.pl and buildsdkshaders.bat files to point to sourcesdk\bin\ep1\bin\shadercompile.exe and with only those changes I can almost compile. Its the first time I have seen the Shader Combo stage ever!! However I get this from the command prompt:
post_nightvision_ps20.fxc....writing inc PassThrough_vs20.fxc....writing inc 1 file(s) moved. C:\mycodedir\src\materialsystem\stdshaders'fxc.exe' is not recognized as an internal or external command, operable program or batch file. Shader combo 0 of 2... 'fxc.exe' is not recognized as an internal or external operable program or batch file. Shader combo 1 of 2... 0 seconds elapsed. Overwrite old source SDK .vcs files? and thats it! I have been searching for problems with my .pl files and buildsdkshader batch file and I do not see any. If you could please contact me at r...@avpgold2.com or rcanfiel...@gmail.com if you could I would appreciate it. I don't want to clog up hlcoders with the same emails when it might be something totally stupid I am doing. Thank you guys Sorry for the spam of emails ----- Original Message ----- From: "Walter Gray" <chrysal...@gmail.com> To: "Discussion of Half-Life Programming" <hlcoders@list.valvesoftware.com> Sent: Thursday, February 19, 2009 2:58 PM Subject: Re: [hlcoders] Shaders and ActivePerl > It sounds to me like you might be going wrong by changing > buildsdkshaders.bat in the first place. It calls a number of other > script files that also reference perl, and unless you updated all of > them as well I suspect it could cause a number of your errors. Instead, > try reverting buildsdkshaders to it's default and setup your path > variable properly. If you have, those changes to buildsdkshaders.bat > should be entirely unnessicary. To check what PATH is currently set to, > you can just type "path" (no quotes) into any command line. To build > shaders properly, it should have paths to the perl binaries, nmake, and > the shader compilers from the directx sdk. On my machine that > translates to this at the end of my path variable: > > ;C:\Perl\site\bin;C:Perl\bin;C:\Program Files\Microsoft DirectX SDK > (November 2008)\Utilities\bin\x86;D:\Visual Studio 2005\VC\bin > > Russ Canfield wrote: >> I have been trying to compile shaders for the last week...I have followed >> every tutorial out there on fixing directories with spaces, and about >> everything else >> you could think of for the HL2 SDK...Well I am using ActivePerl....and my >> code is based on EP1..... >> >> With that being said, I follow this tutorial: >> http://developer.valvesoftware.com/wiki/Shader_Authoring >> >> I follow this tutorial: >> http://www.wraiyth.com/index.php?q=node/5 >> >> And when I go to compile I get the following error: >> myps20.fxc...writing inc >> myvs20.fxc...writing inc >> 1 file(s) moved. >> Can't open perl script "C:\Perl" Permission denied. >> >> From there it copies my .fxc files and all the SDK .vcs files fine.... >> >> I switched the directory it looks for Perl to C:\Perl because thats where >> its installed..... >> >> buildsdkshaders.bat was modified with this line: >> >> REM **************** >> REM Execute distributed process on work/build list >> REM **************** >> perl "C:\Perl" "%SrcDirBase%\materialsystem\stdshaders\runvmpi.pl" >> %xbox_args% -changetodir %ChangeToDir% %SDKArgs% >> >> If anyone can help me I would greatly appreciate it. I am so lost, and I >> know very little about perl. Please help!!! >> _______________________________________________ >> 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 > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders