PSH shader packer

kurdt

New Member
Oct 11, 2010
4
0
0
#1
https://github.com/kurdtkobain/swgPSH
this tool is used to pack compiled and source shader files into swg psh format
compile your shader with fxc.exe from directx sdk then call swgpsh to pack

example


Code:
fxc.exe /T ps_2_0 /Fo water_pass2_ps20.comp water_pass2_ps20.hlsl


Code:
swgPSH.exe water_pass2_ps20.hlsl water_pass2_ps20.comp water_pass2_ps20.psh

also includes tool to dump source from psh files

example
Code:
swgPSHDump.exe water_pass2_ps20.psh water_pass2_ps20.hlsl
i know nothing about shaders but from what i could test it worked.