Ok after restoring all my shader files to default, I just changed the path 
to shadercompile.exe to bin\ep1\bin\shadercompile.exe

Now I get this:

Unable to find gameinfo.txt

But it does compile the .fxc and that one shader file still.....vconfig in 
the sourcesdk\bin\ep1\bin folder gives me an error about missing Steam.dll 
only the Orangebox one seems to work correctly....I am using EP1 though


----- Original Message ----- 
From: "Walter Gray" <[email protected]>
To: "Discussion of Half-Life Programming" <[email protected]>
Sent: Thursday, February 19, 2009 3:04 PM
Subject: Re: [hlcoders] Shaders and ActivePerl


> Do you have a makefile.modshaders file in your stdshaders directory?
> This file is generated by updateshaders.pl and should have a rule for
> myshader.vcs that looks something like this:
>
> fxctmp9\post_screenspace_vs20.inc shaders\fxc\post_screenspace_vs20.vcs:
> ..\..\devtools\bin\updateshaders.pl ..\..\devtools\bin\fxc_prep.pl
> post_screenspace_vs20.fxc
> ..\..\materialsystem\stdshaders\common_hlsl_cpp_consts.h
> ..\..\materialsystem\stdshaders\common_vs_fxc.h
> ..\..\materialsystem\stdshaders\common_fxc.h
>    perl "..\..\devtools\bin\fxc_prep.pl"  -shaderoutputdir shaders
> -source "..\.." post_screenspace_vs20.fxc
>    echo post_screenspace_vs20.fxc>> filestocopy.txt
>    echo ..\..\materialsystem\stdshaders\common_hlsl_cpp_consts.h>>
> filestocopy.txt
>    echo ..\..\materialsystem\stdshaders\common_vs_fxc.h>> filestocopy.txt
>    echo ..\..\materialsystem\stdshaders\common_fxc.h>> filestocopy.txt
>
> I would also reccomend reverting all the build files to the state they
> were in originally, plus the minor tweak to runvmpi.pl if you have
> spaces in your paths, and double check that your environmental variables
> are set properly.
>
> Russ Canfield wrote:
>> Ok, so I do not know if I was supposed to but I decided to change all
>> references to pearl to look in C:\Perl\bin directory. Now I get this 
>> error
>>
>> NMAKE : U1073: dont know how to make file "myshader.vcs"
>>
>> Stop.
>>
>> Ahhhh, anyone know how to fix this? or want to contact me personally to
>> email me a copy of their 3 SDK shader setup files?
>> [email protected]
>>
>> Thanks!
>>
>> ----- Original Message ----- 
>> From: "Tobias Kammersgaard" <[email protected]>
>> To: "Discussion of Half-Life Programming" 
>> <[email protected]>
>> Sent: Tuesday, February 17, 2009 6:27 PM
>> Subject: Re: [hlcoders] Shaders and ActivePerl
>>
>>
>>
>>> Well where did you install Perl to? Do a search for perl.exe and change
>>> the
>>> batch to match that location.
>>> /ScarT
>>>
>>>
>>> 2009/2/18 Russ Canfield <[email protected]>
>>>
>>>
>>>> 1 file(s) moved.
>>>>
>>>> ' "C:\Perl\perl.exe"' is not recongized as an internal or external
>>>> command,
>>>> operable program or bath file.
>>>>
>>>> and continues with the SDK shaders from there.
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Tobias Kammersgaard" <[email protected]>
>>>> To: "Discussion of Half-Life Programming"
>>>> <[email protected]
>>>>
>>>> Sent: Tuesday, February 17, 2009 6:15 PM
>>>> Subject: Re: [hlcoders] Shaders and ActivePerl
>>>>
>>>>
>>>>
>>>>> This
>>>>>
>>>>> perl(.exe) "C:\Perl"
>>>>> "%SrcDirBase%\materialsystem\stdshaders\runvmpi.pl"
>>>>> %xbox_args% -changetodir %ChangeToDir% %SDKArgs%
>>>>>
>>>>> Attempts to open a Perl script called "C:\Perl" which of course 
>>>>> doesn't
>>>>> exist.
>>>>>
>>>>> Try this instead.
>>>>>
>>>>> "C:\Perl\perl.exe" "%SrcDirBase%\materialsystem\stdshaders\runvmpi.pl"
>>>>> %xbox_args% -changetodir %ChangeToDir% %SDKArgs%
>>>>>
>>>>>
>>>>> /ScarT
>>>>>
>>>>>
>>>>> 2009/2/18 Russ Canfield <[email protected]>
>>>>>
>>>>>
>>>>>> 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
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> 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

Reply via email to