pushd .

rem goto shit

rem Get the sources
d:
cd \
rd /s /q hl2_texturebuild
mkdir d:\hl2_texturebuild\hl2\materialsrc\stone
ss WorkFold $/hl2/materialsrc d:\hl2_texturebuild\hl2\materialsrc
ss WorkFold $/hl2/release/dev d:\hl2_texturebuild
cd hl2_texturebuild\hl2\materialsrc\stone
ss get $/hl2/materialsrc\stone -R
cd \
mkdir hl2_texturebuild\bin
cd hl2_texturebuild\bin
ss get $/hl2/release/dev/bin -R
cd \
mkdir hl2_texturebuild\hl2\bin
cd hl2_texturebuild\hl2\bin
ss get $/hl2/release/dev/hl2/bin -R
cd \
rem Get the target to compare to and the binaries to build with.

d:
cd \
rd /s /q hl2_texturecompare
mkdir d:\hl2_texturecompare\hl2\materials\stone
ss WorkFold $/hl2/release/dev d:\hl2_texturecompare
cd hl2_texturecompare\hl2\materials\stone
ss get $/hl2/release/dev/hl2/materials\stone -R


rem build all of the textures that are in the target
set vproject=d:\hl2_texturebuild\hl2
cd \
buildalltextures.pl d:\hl2_texturebuild d:\hl2_texturecompare

:shit

difftextures.pl d:\hl2_texturebuild d:\hl2_texturecompare

popd
