Subversion Repositories nw_plus

Rev

Rev 1 | Rev 7 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 6
Line 25... Line 25...
25
:eduke32check_done
25
:eduke32check_done
26
if exist NWDuke.rt_ del /f /q NWDuke.rt_
26
if exist NWDuke.rt_ del /f /q NWDuke.rt_
27
if exist NWSanta.grp del /f /q NWSanta.grp
27
if exist NWSanta.grp del /f /q NWSanta.grp
28
if not exist nw_plus\ goto nodir
28
if not exist nw_plus\ goto nodir
29
if not exist duke3d.grp Warning: You don't have Duke3D.grp in your directory.
29
if not exist duke3d.grp Warning: You don't have Duke3D.grp in your directory.
-
 
30
if not exist nw_plus\NWINTER.GRP (
30
if exist NWINTER.GRP move NWINTER.GRP nw_plus\
31
if exist NWINTER.GRP move /y NWINTER.GRP nw_plus\
-
 
32
)
31
cd nw_plus
33
cd nw_plus
32
if not exist NWINTER.GRP goto nonwgrp
34
if not exist NWINTER.GRP goto nonwgrp
33
:nonwgrp_done
35
:nonwgrp_done
34
if not exist nwflag%nwver%.h266 goto extract
36
if not exist nwflag%nwver%.h266 goto extract
35
if not exist nwl1.map goto extract
37
if not exist nwl1.map goto extract
Line 115... Line 117...
115
if not exist nwl4.ips goto noips
117
if not exist nwl4.ips goto noips
116
if not exist nwl5.ips goto noips
118
if not exist nwl5.ips goto noips
117
if not exist nwl6.ips goto noips
119
if not exist nwl6.ips goto noips
118
if not exist nwl7.ips goto noips
120
if not exist nwl7.ips goto noips
119
if not exist nwl8.ips goto noips
121
if not exist nwl8.ips goto noips
-
 
122
md nw_preserve
120
if exist nwl*.map del /f /q nwl*.map
123
if exist nwl*.map move /y nwl*.map nw_preserve\
121
if exist ..\nwl*.map del /f /q ..\nwl*.map
124
if exist ..\nwl*.map move /y ..\nwl*.map nw_preserve\
122
utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP
125
utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP
123
ren E2L1.MAP nwl1.map
126
ren E2L1.MAP nwl1.map
124
ren E2L2.MAP nwl2.map
127
ren E2L2.MAP nwl2.map
125
ren E2L3.MAP nwl3.map
128
ren E2L3.MAP nwl3.map
126
ren E2L4.MAP nwl4.map
129
ren E2L4.MAP nwl4.map
Line 145... Line 148...
145
utils\windows\win32\uips.exe a nwl8.ips nwl8.map
148
utils\windows\win32\uips.exe a nwl8.ips nwl8.map
146
if exist nwpatch*.h266 del /f /q nwpatch*.h266
149
if exist nwpatch*.h266 del /f /q nwpatch*.h266
147
if exist nwflag*.h266 del /f /q nwflag*.h266
150
if exist nwflag*.h266 del /f /q nwflag*.h266
148
echo Do not delete this file! You will be force to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266
151
echo Do not delete this file! You will be force to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266
149
attrib +r nwflag%nwver%.h266
152
attrib +r nwflag%nwver%.h266
150
del /f /q nwl1.ips
-
 
151
del /f /q nwl2.ips
-
 
152
del /f /q nwl3.ips
-
 
153
del /f /q nwl4.ips
-
 
154
del /f /q nwl5.ips
-
 
155
del /f /q nwl6.ips
-
 
156
del /f /q nwl7.ips
-
 
157
del /f /q nwl8.ips
-
 
158
echo.
153
echo.
159
echo Patching complete!
154
echo Patching complete!
160
:scanning
155
:scanning
161
cd ..
156
cd ..
162
echo.
157
echo.