User talk:SoapyMan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 .




== How to get luxel value? ==


How to do this on the server? In the Dark Messiah you can hide in the shadow.


'''here''' is output log:
== How to use Russian characters in ANSI ==
<code>
Because i see strange symbols...
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
</code>
'''here''' command line parameters:


<code>set DIR_PPC=G:\PRIVATEDATA\Projects\TOKAMAK-GAME\Game
== How to... ==  
bin\shadercompile.exe -game tokamak -shaderpath %DIR_PPC% -shaderOutputDir %DIR_PPC% -nompi -verbose >output.txt 2>&1</code>
Make loading screen similar to Insurgency,but for Single player? I tried to make it, but i cannot draw anything and vgui shows only default loading dialog.
 
You can see than the output path is doubling, or tripleing
 
 
 
 
above one line from '''filelist.txt:'''
 
<code>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</code>
 
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'''

Latest revision as of 10:42, 9 February 2009


How to get luxel value?

How to do this on the server? In the Dark Messiah you can hide in the shadow.

How to use Russian characters in ANSI

Because i see strange symbols...

How to...

Make loading screen similar to Insurgency,but for Single player? I tried to make it, but i cannot draw anything and vgui shows only default loading dialog.