User talk:SoapyMan

From Valve Developer Community
Revision as of 09:06, 23 October 2008 by SoapyMan (talk | contribs)
Jump to navigation Jump to search

I have the Episode One SDK, and i can't compile shaders from custom Dir, but i tried to compile it through the shadercompile.exe .



here is output log: After VMPI_Init After VMPI_FileSystem_Init 150 compiles After Shared_ParseListOfCompileCommands trying to open: bin\vstdlib.dll trying to open: bin\tier0.dll fxc.exe /DSHADERCOMBO=0 /DTOTALSHADERCOMBOS=288 /DCENTROIDMASK=0 /DNUMDYNAMICCOMBOS=12 /DFLAGS=0x0 /DHDRENABLED=0 /DFOGTYPE=0 ...... (more combos)..... Shader combo 149 of 150... mkdir G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\fxc Can't open G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\fxc\G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\flashlight_ps20.vcs 5 seconds elapsed here command line parameters:

set DIR_PPC=G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game bin\shadercompile.exe -game tokamak -shaderpath %DIR_PPC% -shaderOutputDir %DIR_PPC% -nompi -verbose >output.txt 2>&1

You can see than the output path is doubling, or tripleing



above one line from filelist.txt:

fxc.exe /DSHADERCOMBO=0 /DTOTALSHADERCOMBOS=288 /DCENTROIDMASK=0 /DNUMDYNAMICCOMBOS=12 /DFLAGS=0x0 /DHDRENABLED=0 /DFOGTYPE=0 /DFLASHLIGHTDEPTH=0 /DNORMALMAP=0 /DNORMALMAP2=0 /DWORLDVERTEXTRANSITION=0 /DHDRTYPE=0 /Dmain=main /Emain /Tps_2_0 /DSHADER_MODEL_PS_2_0=1 /nologo /Foshader.o G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\flashlight_ps20.fxc>output.txt 2>&1

If you set fxc file name to G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game\flashlight_ps20.fxc, fxc compiles it, but if you set only flashlight_ps20.fxc, the fxc will not find that file

Sorry for my English


If you have a way, how to fix it, please send it on my mail: [mcilia@rambler.ru]