Subversion Repositories nw_plus

Rev

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

Rev 6 Rev 7
Line 21... Line 21...
21
echo enhancements of Duke: Nuclear Winter Plus, maintained by Hendricks266.
21
echo enhancements of Duke: Nuclear Winter Plus, maintained by Hendricks266.
22
echo.
22
echo.
23
:recheck
23
:recheck
24
if not exist eduke32.exe goto eduke32check
24
if not exist eduke32.exe goto eduke32check
25
:eduke32check_done
25
:eduke32check_done
-
 
26
if "%debug%"=="1" echo DEBUG: Directory: "%cd%"
26
if exist NWDuke.rt_ del /f /q NWDuke.rt_
27
if exist NWDuke.rt_ del /f /q NWDuke.rt_
27
if exist NWSanta.grp del /f /q NWSanta.grp
28
if exist NWSanta.grp del /f /q NWSanta.grp
28
if not exist nw_plus\ goto nodir
29
if not exist nw_plus\ goto nodir
29
if not exist duke3d.grp Warning: You don't have Duke3D.grp in your directory.
30
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
30
if not exist nw_plus\NWINTER.GRP (
31
if not exist nw_plus\NWINTER.GRP (
31
if exist NWINTER.GRP move /y NWINTER.GRP nw_plus\
32
if exist NWINTER.GRP move /y NWINTER.GRP nw_plus\
32
)
33
)
33
cd nw_plus
34
cd nw_plus
-
 
35
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
34
if not exist NWINTER.GRP goto nonwgrp
36
if not exist NWINTER.GRP goto nonwgrp
35
:nonwgrp_done
37
:nonwgrp_done
36
if not exist nwflag%nwver%.h266 goto extract
38
if not exist nwflag%nwver%.h266 goto extract
37
if not exist nwl1.map goto extract
39
if not exist nwl1.map goto extract
38
if not exist nwl2.map goto extract
40
if not exist nwl2.map goto extract
Line 41... Line 43...
41
if not exist nwl5.map goto extract
43
if not exist nwl5.map goto extract
42
if not exist nwl6.map goto extract
44
if not exist nwl6.map goto extract
43
if not exist nwl7.map goto extract
45
if not exist nwl7.map goto extract
44
if not exist nwl8.map goto extract
46
if not exist nwl8.map goto extract
45
cd ..
47
cd ..
-
 
48
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
46
echo.
49
echo.
47
echo To switch your character, open the console (~) and type one of the following:
50
echo To switch your character, open the console (~) and type one of the following:
48
echo Duke: "setvar skin 0".
51
echo Duke: "setvar skin 0".
49
echo Santa: "setvar skin 1".
52
echo Santa: "setvar skin 1".
50
echo.
53
echo.
Line 152... Line 155...
152
attrib +r nwflag%nwver%.h266
155
attrib +r nwflag%nwver%.h266
153
echo.
156
echo.
154
echo Patching complete!
157
echo Patching complete!
155
:scanning
158
:scanning
156
cd ..
159
cd ..
-
 
160
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
157
echo.
161
echo.
158
echo Scanning directory for potential problems.
162
echo Scanning directory for potential problems.
159
if exist nwl1.mhk goto mhkfound
163
if exist nwl1.mhk goto mhkfound
160
if exist nwl1demo.mhk goto mhkfound
164
if exist nwl1demo.mhk goto mhkfound
161
if exist nwl2.mhk goto mhkfound
165
if exist nwl2.mhk goto mhkfound