Subversion Repositories nw_plus

Rev

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

Rev 22 Rev 24
Line 18... Line 18...
18
set exename=mapster32
18
set exename=mapster32
19
set exeproper=Mapster32
19
set exeproper=Mapster32
20
set action=editing
20
set action=editing
21
)
21
)
22
22
23
set addonver=r002
23
set addonver=r003
24
24
25
:title
25
:title
26
echo                          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
26
echo                          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
27
echo                          º Duke: Nuclear Winter Plus º
27
echo                          º Duke: Nuclear Winter Plus º
28
echo                          ÈÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍͼ
28
echo                          ÈÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍͼ
Line 181... Line 181...
181
echo.
181
echo.
182
echo                                ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
182
echo                                ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
183
echo                                º Installation º
183
echo                                º Installation º
184
echo                                ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
184
echo                                ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
185
echo.
185
echo.
186
if not exist nwl1.ips goto noips
186
if not exist nwl1.patch goto nopatch
187
if not exist nwl2.ips goto noips
187
if not exist nwl2.patch goto nopatch
188
if not exist nwl3.ips goto noips
188
if not exist nwl3.patch goto nopatch
189
if not exist nwl4.ips goto noips
189
if not exist nwl4.patch goto nopatch
190
if not exist nwl5.ips goto noips
190
if not exist nwl5.patch goto nopatch
191
if not exist nwl6.ips goto noips
191
if not exist nwl6.patch goto nopatch
192
if not exist nwl7.ips goto noips
192
if not exist nwl7.patch goto nopatch
193
if not exist nwl8.ips goto noips
193
if not exist nwl8.patch goto nopatch
194
md nw_preserve
194
md nw_preserve
195
if exist nwl*.map move /y nwl*.map nw_preserve\
195
if exist nwl*.map move /y nwl*.map nw_preserve\
196
if exist "%exedir%\nwl*.map" move /y "%exedir%\nwl*.map" nw_preserve\
196
if exist "%exedir%\nwl*.map" move /y "%exedir%\nwl*.map" nw_preserve\
197
utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP
197
utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP
198
ren E2L1.MAP nwl1.map
198
ren E2L1.MAP nwl1.map
Line 208... Line 208...
208
echo.
208
echo.
209
echo Map patching will now begin.
209
echo Map patching will now begin.
210
echo.
210
echo.
211
pause
211
pause
212
echo
212
echo
213
utils\windows\win32\uips.exe a nwl1.ips nwl1.map
213
utils\windows\win32\bspatch.exe nwl1.map nwl1.map nwl1.patch
214
utils\windows\win32\uips.exe a nwl2.ips nwl2.map
214
utils\windows\win32\bspatch.exe nwl2.map nwl2.map nwl2.patch
215
utils\windows\win32\uips.exe a nwl3.ips nwl3.map
215
utils\windows\win32\bspatch.exe nwl3.map nwl3.map nwl3.patch
216
utils\windows\win32\uips.exe a nwl4.ips nwl4.map
216
utils\windows\win32\bspatch.exe nwl4.map nwl4.map nwl4.patch
217
utils\windows\win32\uips.exe a nwl5.ips nwl5.map
217
utils\windows\win32\bspatch.exe nwl5.map nwl5.map nwl5.patch
218
utils\windows\win32\uips.exe a nwl6.ips nwl6.map
218
utils\windows\win32\bspatch.exe nwl6.map nwl6.map nwl6.patch
219
utils\windows\win32\uips.exe a nwl7.ips nwl7.map
219
utils\windows\win32\bspatch.exe nwl7.map nwl7.map nwl7.patch
220
utils\windows\win32\uips.exe a nwl8.ips nwl8.map
220
utils\windows\win32\bspatch.exe nwl8.map nwl8.map nwl8.patch
221
if exist nwpatch*.h266 del /f /q nwpatch*.h266
221
if exist nwpatch*.h266 del /f /q nwpatch*.h266
222
if exist nwflag*.h266 del /f /q nwflag*.h266
222
if exist nwflag*.h266 del /f /q nwflag*.h266
223
echo Do not delete this file^! You will be forced to reinstall NW+ and repatch the maps. >nwflag_%addonver%.h266
223
echo Do not delete this file^! You will be forced to reinstall NW+ and repatch the maps. >nwflag_%addonver%.h266
224
attrib +r nwflag_%addonver%.h266
224
attrib +r nwflag_%addonver%.h266
225
echo.
225
echo.
Line 261... Line 261...
261
:confound_done
261
:confound_done
262
echo.
262
echo.
263
pause
263
pause
264
goto restart
264
goto restart
265
265
266
:noips
266
:nopatch
267
echo.
267
echo.
268
echo Error: You don't have all the *.ips files in your directory.
268
echo Error: You don't have all the *.patch files in your directory.
269
echo Aborting installation.
269
echo Aborting installation.
270
echo Map patching is required for NW+ to function correctly.
270
echo Map patching is required for NW+ to function correctly.
271
echo.
271
echo.
272
pause
272
pause
273
goto end
273
goto end