2 if not exist "common.cfg" goto error_win32
3 if "%1" == "" goto error_usage
4 if "%2" == "" goto error_usage
5 perl ..\..\tools\buildPatchTreeRsp.pl common.cfg patch_%1_%2.rsp %1..%2
6 ..\..\tools\TreeFileBuilder -r patch_%1_%2.rsp patch_%1_%2.tre
7 copy patch_%1_%2.tre p:\swo\swg_bootleg_builds\tre
8 echo searchTreeX=patch_%1_%2.tre >> p:\swo\swg_bootleg_builds\tre\common_tre.cfg
13 echo You must run this from the exe\win32 directory!
17 echo usage: BuildTre changelist1 changelist2