@echo on

@REM Temporary copy the original texture data 
copy Y3D\tech32.raw tech32.raw
copy Y3D\tech32.pal tech32.pal
copy Y3D\E1M1V13.RAW E1M1V13.RAW
copy Y3D\E1M1V13.PAL E1M1V13.PAL
copy Y3D\E1M1V2.RAW E1M1V2.RAW
copy Y3D\E1M1V2.PAL E1M1V2.PAL
copy Y3D\fag.raw fag.raw
copy Y3D\fag.pal fag.pal


..\..\editor\tools\get_old_map.exe n default.yad  Y3D\default.y3d
..\..\editor\tools\get_old_map.exe e d1_e1m1.yad  Y3D\d1_e1m1.y3d
..\..\editor\tools\get_old_map.exe f d2_e1m1.yad  Y3D\d2_e1m1.y3d
..\..\editor\tools\get_old_map.exe e d3_e1m1.yad  Y3D\d3_e1m1.y3d
..\..\editor\tools\get_old_map.exe g fag_e1m1.yad Y3D\fag_e1m1.y3d
..\..\editor\tools\get_old_map.exe t tech32.yad   Y3D\tech32.y3d
..\..\editor\tools\get_old_map.exe n test0.yad    Y3D\test0.y3d
..\..\editor\tools\get_old_map.exe n test1.yad    Y3D\test1.y3d
..\..\editor\tools\get_old_map.exe n test2.yad    Y3D\test2.y3d
..\..\editor\tools\get_old_map.exe n test3.yad    Y3D\test3.y3d
..\..\editor\tools\get_old_map.exe n testes.yad   Y3D\testes.y3d


@REM Delete the original texture data 
del /Q *.raw
del /Q *.pal

pause
