1@echo off
2
3mkdir objects images
4%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe gfx_UserShader.vsh -Oobjects\gfx_UserShader.obj -I%NW4C_ROOT%\sources\shaders\gfx
5%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe UserTransformMatrix.vsh -Oobjects\UserTransformMatrix.obj -I%NW4C_ROOT%\sources\shaders\gfx
6%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe UserCalcColor.vsh -Oobjects\UserCalcColor.obj -I%NW4C_ROOT%\sources\shaders\gfx
7%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcTexcoord0.vsh -Oobjects\CalcTexcoord0.obj -I%NW4C_ROOT%\sources\shaders\gfx
8%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcTexcoord1.vsh -Oobjects\CalcTexcoord1.obj -I%NW4C_ROOT%\sources\shaders\gfx
9%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcTexcoord2.vsh -Oobjects\CalcTexcoord2.obj -I%NW4C_ROOT%\sources\shaders\gfx
10%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcQuaternion.vsh -Oobjects\CalcQuaternion.obj -I%NW4C_ROOT%\sources\shaders\gfx
11%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\GetTexcoordSource.vsh -Oobjects\GetTexcoordSource.obj -I%NW4C_ROOT%\sources\shaders\gfx
12%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcVertexLighting.vsh -Oobjects\CalcVertexLighting.obj -I%NW4C_ROOT%\sources\shaders\gfx
13%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\CalcHemisphereLighting.vsh -Oobjects\CalcHemisphereLighting.obj -I%NW4C_ROOT%\sources\shaders\gfx
14%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\GenTexcoordReflection.vsh -Oobjects\GenTexcoordReflection.obj -I%NW4C_ROOT%\sources\shaders\gfx
15%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderAssembler32.exe %NW4C_ROOT%\sources\shaders\gfx\DefaultShader\GenTexcoordSphereReflection.vsh -Oobjects\GenTexcoordSphereReflection.obj -I%NW4C_ROOT%\sources\shaders\gfx
16
17%CTRSDK_ROOT%\tools\CommandLineTools\ctr_VertexShaderLinker32.exe objects\gfx_UserShader.obj objects\UserTransformMatrix.obj objects\UserCalcColor.obj objects\CalcTexcoord0.obj objects\CalcTexcoord1.obj objects\CalcTexcoord2.obj objects\CalcQuaternion.obj objects\GetTexcoordSource.obj objects\CalcHemisphereLighting.obj objects\CalcVertexLighting.obj objects\GenTexcoordReflection.obj objects\GenTexcoordSphereReflection.obj -Oimages\UserShader.shbin -M
18
19PAUSE
20