del z_modwarfare.iwd
del mod.ff

xcopy character ..\..\raw\character /SY
xcopy english ..\..\raw\english /SY
xcopy images ..\..\raw\images /SY
xcopy maps ..\..\raw\maps /SY
xcopy material_properties ..\..\raw\material_properties /SY
xcopy materials ..\..\raw\materials /SY
xcopy mp ..\..\raw\mp /SY
xcopy mptype ..\..\raw\mptype /SY
xcopy sound ..\..\raw\uisound_mp /SY
xcopy soundaliases ..\..\raw\soundaliases /SY
xcopy svr ..\..\raw\svr /SY
xcopy ui_mp ..\..\raw\ui_mp /SY
xcopy waypoints ..\..\raw\waypoints /SY
xcopy weapons ..\..\raw\weapons /SY
xcopy xanim ..\..\raw\xanim /S
xcopy xmodel ..\..\raw\xmodel /SY
xcopy xmodelparts ..\..\raw\xmodelparts /SY
xcopy xmodelsurfs ..\..\raw\xmodelsurfs /SY

copy /Y mod.csv ..\..\zone_source
cd ..\..\bin
linker_pc.exe -language english -compress -cleanup mod
cd ..\mods\SniperBotMod
copy ..\..\zone\english\mod.ff
7za a -r -tzip z_modwarfare.iwd maps
7za a -r -tzip z_modwarfare.iwd images

pause