FINALLY! I fixed it....
You must copy shadercompile.exe and shadercompile_dll.dll to your stdshaders folder. In the buildshaders.bat is echo %SDKBINDIR%\shadercompile.exe >> filelist.txt Remove the %sdkbindir%\ and then rem out the other two which you did not copy. Now it should work!!!!! Chris -----Original Message----- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Christopher Harris Sent: Saturday, January 02, 2010 2:38 PM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Shader Compiling Issues Hmmm Well I discovered some old old hlcoders entries and fixed all these errors, but now it gets to compiling my 2 shader files in 2 shader combos and just sits there doing nothing. The problem was that buildshaders.bat some reason echo'd the shadercompile.exe its dll and the other two dlls that have error into the filelist and then shadercompile used that file list to try and build the shaders to be compiled. Since those 4 files are not in the shaderpath folder they don't even need to be in there. I also tried the ep1 compiler but it doesn't support all the flags in use. /DMain etc. Chris -----Original Message----- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Tobias Kammersgaard Sent: Saturday, January 02, 2010 12:24 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Shader Compiling Issues It worked perfectly for me with the relative path. All on the same drive of course. /ScarT 2010/1/1 Piotr <coderd...@o2.pl> > I recall having problems with the orangebox shadercompile.exe, but the ep1 > one works fine for me. Probably because I don't have any orangebox game > (only SDK Base for OB). Do you have the same situation? See if EP1 compiler > works for you. > > -------------------------------------------------- > From: "Christopher Harris" <char...@resrchnet.com> > Sent: Thursday, December 31, 2009 11:36 PM > To: "'Discussion of Half-Life Programming'" > <hlcoders@list.valvesoftware.com> > Subject: Re: [hlcoders] Shader Compiling Issues > > > I tried now to put my code on the same drive as the steam install and > > still > > has this issue. So I tried a relative path and it errors out because of > > relative path sooner. > > > > Chris > > > > -----Original Message----- > > From: hlcoders-boun...@list.valvesoftware.com > > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of > Christopher > > Harris > > Sent: Monday, December 28, 2009 1:28 PM > > To: 'Discussion of Half-Life Programming' > > Subject: Re: [hlcoders] Shader Compiling Issues > > > > I have narrowed this error down to occurring in shadercompile.exe and on > > my > > end I have all my path vars set correctly (my username is in the place of > > <user>). If you don't set it correctly the batch file will error out > > sooner > > because it could not even find the shadercompile.exe > > > > > > -----Original Message----- > > From: hlcoders-boun...@list.valvesoftware.com > > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Saul > > Rennison > > Sent: Monday, December 28, 2009 8:01 AM > > To: Discussion of Half-Life Programming > > Subject: Re: [hlcoders] Shader Compiling Issues > > > > You need to replace <user> to your STEAM username in the Perl compile > > file. > > > > On Saturday, November 14, 2009, Skillet <skillet5...@gmail.com> wrote: > >> Sorry if this has been addressed before but I couldn't find any > >> resolution > >> in the archives. I can't seem to compile .fxc files with the OB SDK. > >> > >> Example output: > >> C:\Code\DHL\materialsystem\stdshaders>buildsdkshaders.bat > >> Setting environment for using Microsoft Visual Studio 2008 x86 tools. > >> 09:37 PM > >> > >> 09:37 PM > >> Building inc files, asm vcs files, and VMPI worklist for dhl_dx9_20b... > >> Publishing shader inc files to target... > >> Generating action list... > >> Running distributed shader compilation... > >> Can't find "C:\Code\DHL\materialsystem\stdshaders\"c:\program > >> > > > files\steam\steamapps\<user>\sourcesdk\bin\orangebox\bin"\shadercompile.exe > >> " > >> Can't find "C:\Code\DHL\materialsystem\stdshaders\"c:\program > >> > > > files\steam\steamapps\<user>\sourcesdk\bin\orangebox\bin"\shadercompile_dll. > > dll > >> " > >> Can't find "C:\Code\DHL\materialsystem\stdshaders\"c:\program > >> files\steam\steamapps\<user>\sourcesdk\bin\orangebox\bin"\tier0.dll " > >> Can't find "C:\Code\DHL\materialsystem\stdshaders\"c:\program > >> files\steam\steamapps\<user>\sourcesdk\bin\orangebox\bin"\vstdlib.dll " > >> Compiling 1,348 commands in 388 static combos. > >> 0 File(s) copied > >> 09:40 PM > >> > >> > >> No errors are given besides those "can't find..." warnings. All the > .inc > >> files are generated normally and I can build the shader DLL with no > >> problems. The shaders written in assembly all compile fine as well, but > >> neither my fxc's nor the ones in the SDK generate any output at all, > > despite > >> the compiler apparently working on them for a few minutes. Turning on > >> verbose mode doesn't give any additional output between "Compiling" and > >> "0 > >> File(s) copied" so I'm stumped. Anyone else had trouble? > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > > > > -- > > > > Thanks, > > - Saul. > > > > _______________________________________________ > > 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 > > _______________________________________________ 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