Subversion Repositories nw_plus

Rev

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

Rev 57 Rev 58
Line 1... Line 1...
1
@echo off
1
@echo off
2
@color 0C
2
color 0C
-
 
3
setlocal ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION
3
pushd "%~dp0"
4
pushd "%~dp0"
4
set startdir=%cd%
5
set startdir=%cd%
5
 
6
 
6
:restart
7
:restart
7
title Duke: Nuclear Winter Plus Launcher
8
title Duke: Nuclear Winter Plus Launcher
Line 102... Line 103...
102
 
103
 
103
:check
104
:check
104
 
105
 
105
echo.
106
echo.
106
echo Launching Duke Nukem 3D . . .
107
echo Launching Duke Nukem 3D . . .
107
echo Thanks for %action%!!
108
echo Thanks for %action%!
108
echo.
109
echo.
109
 
110
 
110
if "%editor%"=="1" (
111
if "%editor%"=="1" (
111
type "%exedir%\names.h" > "%exedir%\NWNames.h"
112
type "%exedir%\names.h" > "%exedir%\NWNames.h"
112
echo. >> "%exedir%\NWNames.h"
113
echo. >> "%exedir%\NWNames.h"
Line 297... Line 298...
297
"%addondir%\utils\windows\win32\bspatch.exe" nwl6.map nwl6.map nwl6.patch
298
"%addondir%\utils\windows\win32\bspatch.exe" nwl6.map nwl6.map nwl6.patch
298
"%addondir%\utils\windows\win32\bspatch.exe" nwl7.map nwl7.map nwl7.patch
299
"%addondir%\utils\windows\win32\bspatch.exe" nwl7.map nwl7.map nwl7.patch
299
"%addondir%\utils\windows\win32\bspatch.exe" nwl8.map nwl8.map nwl8.patch
300
"%addondir%\utils\windows\win32\bspatch.exe" nwl8.map nwl8.map nwl8.patch
300
if exist nwpatch*.h266 del /f /q nwpatch*.h266
301
if exist nwpatch*.h266 del /f /q nwpatch*.h266
301
if exist nwflag*.h266 del /f /q nwflag*.h266
302
if exist nwflag*.h266 del /f /q nwflag*.h266
302
echo Do not delete this file!! You will be forced to reinstall NW+ and repatch the maps. >nwflag_%addonver%.h266
303
echo Do not delete this file! You will be forced to reinstall NW+ and repatch the maps. >nwflag_%addonver%.h266
303
attrib +r nwflag_%addonver%.h266
304
attrib +r nwflag_%addonver%.h266
304
echo.
305
echo.
305
echo Patching complete!!
306
echo Patching complete!
306
:scanning
307
:scanning
307
chdir "%exedir%"
308
chdir "%exedir%"
308
echo.
309
echo.
309
echo Scanning directory for potential problems.
310
echo Scanning directory for potential problems.
310
if exist nwl1.mhk goto mhkfound
311
if exist nwl1.mhk goto mhkfound
Line 428... Line 429...
428
echo NWActor.con
429
echo NWActor.con
429
echo NWSnow.con
430
echo NWSnow.con
430
echo.
431
echo.
431
echo IF THESE ARE THE ORIGINAL NUCLEAR WINTER CON FILES, OR THEY COME FROM
432
echo IF THESE ARE THE ORIGINAL NUCLEAR WINTER CON FILES, OR THEY COME FROM
432
echo AN OUTDATED VERSION OF NW+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
433
echo AN OUTDATED VERSION OF NW+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
433
echo IMMEDIATELY!!
434
echo IMMEDIATELY!
434
echo NW+ uses modified .con files to fix programming errors created by
435
echo NW+ uses modified .con files to fix programming errors created by
435
echo the original programmers. Due to improvements made to the levels,
436
echo the original programmers. Due to improvements made to the levels,
436
echo NW+ will have major errors if the included .con files are not used.
437
echo NW+ will have major errors if the included .con files are not used.
437
goto confound_done
438
goto confound_done
438
 
439
 
Line 457... Line 458...
457
:end
458
:end
458
if "%debug%"=="1" echo.
459
if "%debug%"=="1" echo.
459
if "%debug%"=="1" pause
460
if "%debug%"=="1" pause
460
echo.
461
echo.
461
popd
462
popd
-
 
463
endlocal
462
@title %ComSpec%
464
title %ComSpec%
463
@color 07
465
color 07