Rev 8 | Rev 16 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8 | Rev 13 | ||
---|---|---|---|
1 | @echo off |
1 | @echo off |
2 | @color 0C |
2 | @color 0C |
3 | 3 | ||
4 | :restart |
4 | :restart |
5 | title Duke: Nuclear Winter Plus Batch Launcher |
5 | title Duke: Nuclear Winter Plus Batch Launcher |
6 | 6 | ||
7 | set dir=%cd% |
7 | set dir=%cd% |
- | 8 | set eduke32dir=%~dp0 |
|
- | 9 | set nwdir=%~dp0 |
|
- | 10 | set nwhrpdir=%~dp0 |
|
8 | set nwver=30 |
11 | set nwver=30 |
9 | set hrp= |
12 | set hrp= |
10 | set hrpu= |
13 | set hrpu= |
11 | 14 | ||
12 | :title |
15 | :title |
13 | echo. |
- | |
14 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
16 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
15 | echo º Duke: Nuclear Winter Plus Batch Launcher º |
17 | echo º Duke: Nuclear Winter Plus Batch Launcher º |
16 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍͼ |
18 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍͼ |
17 | echo ³ By Hendricks266 ³ |
19 | echo ³ By Hendricks266 ³ |
18 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
20 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
19 | echo. |
21 | echo. |
20 | echo You are playing Simply Silly Software's Duke: Nuclear Winter with the various |
22 | echo You are playing Simply Silly Software's Duke: Nuclear Winter with the various |
21 | echo enhancements of Duke: Nuclear Winter Plus, maintained by Hendricks266. |
23 | echo enhancements of Duke: Nuclear Winter Plus, maintained by Hendricks266. |
22 | echo. |
24 | echo. |
- | 25 | ||
23 | :recheck |
26 | :recheck |
24 | if not exist eduke32.exe goto eduke32check |
27 | if not exist eduke32.exe goto eduke32check |
25 | :eduke32check_done |
28 | :eduke32check_done |
- | 29 | set eduke32dir=%cd% |
|
26 | if "%debug%"=="1" echo DEBUG: Directory: "%cd%" |
30 | if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%" |
27 | if exist NWDuke.rt_ del /f /q NWDuke.rt_ |
- | |
28 | if exist NWSanta.grp del /f /q NWSanta.grp |
- | |
- | 31 | ||
29 | if not exist nw_plus\ goto nodir |
32 | if not exist nw_plus\ goto nodir |
30 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
33 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
31 | if not exist nw_plus\NWINTER.GRP ( |
- | |
32 | if exist NWINTER.GRP move /y NWINTER.GRP nw_plus\ |
- | |
33 | ) |
34 | |
- | 35 | if exist nwinter_hrp set nwhrpdir=%cd% |
|
- | 36 | :nwdircheck |
|
34 | cd nw_plus |
37 | cd nw_plus |
- | 38 | set nwdir=%cd% |
|
- | 39 | if exist nwinter_hrp set nwhrpdir=%cd% |
|
- | 40 | if exist nw_plus goto nwdircheck |
|
35 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
41 | if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%". |
- | 42 | if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%". |
|
- | 43 | ||
36 | if not exist NWINTER.GRP goto nonwgrp |
44 | if not exist "%nwdir%\NWINTER.GRP" ( |
- | 45 | if exist "%eduke32dir%\NWINTER.GRP" ( |
|
- | 46 | move /y "%eduke32dir%\NWINTER.GRP" "%nwdir%\" |
|
- | 47 | ren "%nwdir%\NWINTER.GRP" nwinter.grp |
|
- | 48 | ) else ( |
|
- | 49 | goto nonwgrp |
|
- | 50 | ) |
|
- | 51 | ) |
|
- | 52 | ||
37 | :nonwgrp_done |
53 | :nonwgrp_done |
38 | if not exist nwflag%nwver%.h266 goto extract |
54 | if not exist nwflag%nwver%.h266 goto extract |
39 | if not exist nwl1.map goto extract |
55 | if not exist nwl1.map goto extract |
40 | if not exist nwl2.map goto extract |
56 | if not exist nwl2.map goto extract |
41 | if not exist nwl3.map goto extract |
57 | if not exist nwl3.map goto extract |
42 | if not exist nwl4.map goto extract |
58 | if not exist nwl4.map goto extract |
43 | if not exist nwl5.map goto extract |
59 | if not exist nwl5.map goto extract |
44 | if not exist nwl6.map goto extract |
60 | if not exist nwl6.map goto extract |
45 | if not exist nwl7.map goto extract |
61 | if not exist nwl7.map goto extract |
46 | if not exist nwl8.map goto extract |
62 | if not exist nwl8.map goto extract |
47 | cd .. |
63 | cd "%eduke32dir%" |
48 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
- | |
49 | echo. |
64 | echo. |
50 | echo To switch your character, open the console (~) and type one of the following: |
65 | echo To switch your character, open the console (~) and type one of the following: |
51 | echo Duke: "setvar skin 0". |
66 | echo Duke: "setvar skin 0". |
52 | echo Santa: "setvar skin 1". |
67 | echo Santa: "setvar skin 1". |
53 | echo. |
68 | echo. |
54 | 69 | ||
55 | :init |
70 | :init |
56 | pause |
71 | pause |
57 | echo. |
72 | echo. |
58 | goto check |
73 | goto check |
59 | 74 | ||
60 | :check |
75 | :check |
61 | 76 | ||
62 | if exist duke3d_hrp.zip set hrp=/gduke3d_hrp.zip |
77 | if exist duke3d_hrp.zip set hrp=-gduke3d_hrp.zip |
63 | if exist hrp_update.zip set hrpu=/ghrp_update.zip |
78 | if exist hrp_update.zip set hrpu=-ghrp_update.zip |
64 | 79 | ||
65 | echo. |
80 | echo. |
66 | echo Launching Duke Nukem 3D . . . |
81 | echo Launching Duke Nukem 3D . . . |
67 | echo Thanks for playing! |
82 | echo Thanks for playing! |
68 | echo. |
83 | echo. |
69 | echo Please leave this window open for the entire duration of your game. |
84 | echo Please do not close this window. |
70 | echo It will close automatically. |
85 | echo It will close automatically. |
71 | 86 | ||
72 | ::if exist *.art ren *.art *.abk |
87 | ::if exist *.art ren *.art *.abk |
73 | 88 | ||
74 | eduke32 /xNWEDuke.con /hnwinter.def /jnw_plus /gNWINTER.GRP %hrp% %hrpu% %* |
89 | set args=-xNWEDuke.con -hnwinter.def -j"%nwdir%" -j"%nwhrpdir%" -gnwinter.grp %hrp% %hrpu% %* |
- | 90 | set exe=eduke32 |
|
- | 91 | if "%debug%"=="1" set exe=eduke32.debug |
|
- | 92 | ||
- | 93 | if exist %exe%.bat ( |
|
- | 94 | call %exe%.bat %args% |
|
- | 95 | ) else ( |
|
- | 96 | start %exe%.exe %args% |
|
- | 97 | ) |
|
75 | 98 | ||
76 | ::if exist *.abk ren *.abk *.art |
99 | ::if exist *.abk ren *.abk *.art |
77 | 100 | ||
78 | goto end |
101 | goto end |
79 | 102 | ||
80 | :nonwgrp |
103 | :nonwgrp |
81 | echo. |
104 | echo. |
82 | echo Error: You don't have NWINTER.GRP in your directory. |
105 | echo Error: You don't have NWINTER.GRP in your directory. |
83 | :retry |
106 | :retry |
84 | echo. |
107 | echo. |
85 | set cddrive= |
108 | set cddrive= |
86 | set /p cddrive=What is the drive letter that your Nuclear Winter CD is in? |
109 | set /p cddrive=What is the drive letter that your Nuclear Winter CD is in? |
87 | echo. |
110 | echo. |
88 | if not '%cddrive%'=='' set cddrive=%cddrive:~0,1% |
111 | if not '%cddrive%'=='' set cddrive=%cddrive:~0,1% |
89 | if '%cddrive%'=='' goto cdno |
112 | if '%cddrive%'=='' goto cdno |
90 | if not exist %cddrive%:\ goto cdno |
113 | if not exist %cddrive%:\ goto cdno |
91 | if not exist %cddrive%:\* goto cdno |
114 | if not exist %cddrive%:\* goto cdno |
92 | if not exist %cddrive%:\GAMEDATA\NWINTER.GRP goto cdw |
115 | if not exist %cddrive%:\GAMEDATA\NWINTER.GRP goto cdw |
93 | copy %cddrive%:GAMEDATA\NWINTER.GRP .\ |
116 | copy %cddrive%:GAMEDATA\NWINTER.GRP .\ |
94 | pause |
117 | pause |
95 | echo. |
118 | echo. |
96 | type NWINTRO.TXT |
119 | type NWINTRO.TXT |
97 | echo. |
120 | echo. |
98 | pause |
121 | pause |
99 | goto nonwgrp_done |
122 | goto nonwgrp_done |
100 | 123 | ||
101 | :cdno |
124 | :cdno |
102 | echo '%cddrive%' is not valid. Please try again. |
125 | echo '%cddrive%' is not valid. Please try again. |
103 | goto retry |
126 | goto retry |
104 | 127 | ||
105 | :cdw |
128 | :cdw |
106 | echo '%cddrive%' is not the correct disc. Please try again. |
129 | echo '%cddrive%' is not the correct disc. Please try again. |
107 | goto retry |
130 | goto retry |
108 | 131 | ||
109 | :extract |
132 | :extract |
110 | echo. |
133 | echo. |
111 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
134 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
112 | echo º Duke: Nuclear Winter Plus Installation º |
135 | echo º Duke: Nuclear Winter Plus Installation º |
113 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍͼ |
136 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍͼ |
114 | echo ³ By Hendricks266 ³ |
137 | echo ³ By Hendricks266 ³ |
115 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
138 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
116 | echo. |
139 | echo. |
117 | if not exist nwl1.ips goto noips |
140 | if not exist nwl1.ips goto noips |
118 | if not exist nwl2.ips goto noips |
141 | if not exist nwl2.ips goto noips |
119 | if not exist nwl3.ips goto noips |
142 | if not exist nwl3.ips goto noips |
120 | if not exist nwl4.ips goto noips |
143 | if not exist nwl4.ips goto noips |
121 | if not exist nwl5.ips goto noips |
144 | if not exist nwl5.ips goto noips |
122 | if not exist nwl6.ips goto noips |
145 | if not exist nwl6.ips goto noips |
123 | if not exist nwl7.ips goto noips |
146 | if not exist nwl7.ips goto noips |
124 | if not exist nwl8.ips goto noips |
147 | if not exist nwl8.ips goto noips |
125 | md nw_preserve |
148 | md nw_preserve |
126 | if exist nwl*.map move /y nwl*.map nw_preserve\ |
149 | if exist nwl*.map move /y nwl*.map nw_preserve\ |
127 | if exist ..\nwl*.map move /y ..\nwl*.map nw_preserve\ |
150 | if exist "%eduke32dir%\nwl*.map" move /y "%eduke32dir%\nwl*.map" nw_preserve\ |
128 | utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP |
151 | utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP |
129 | ren E2L1.MAP nwl1.map |
152 | ren E2L1.MAP nwl1.map |
130 | ren E2L2.MAP nwl2.map |
153 | ren E2L2.MAP nwl2.map |
131 | ren E2L3.MAP nwl3.map |
154 | ren E2L3.MAP nwl3.map |
132 | ren E2L4.MAP nwl4.map |
155 | ren E2L4.MAP nwl4.map |
133 | ren E2L5.MAP nwl5.map |
156 | ren E2L5.MAP nwl5.map |
134 | ren E2L6.MAP nwl6.map |
157 | ren E2L6.MAP nwl6.map |
135 | ren E2L7.MAP nwl7.map |
158 | ren E2L7.MAP nwl7.map |
136 | ren E2L8.MAP nwl8.map |
159 | ren E2L8.MAP nwl8.map |
137 | if exist nwpatch*.h266 del /f /q nwpatch*.h266 |
160 | if exist nwpatch*.h266 del /f /q nwpatch*.h266 |
138 | if exist nwflag*.h266 del /f /q nwflag*.h266 |
161 | if exist nwflag*.h266 del /f /q nwflag*.h266 |
139 | echo. |
162 | echo. |
140 | echo Map patching will now begin. |
163 | echo Map patching will now begin. |
141 | echo. |
164 | echo. |
142 | pause |
165 | pause |
143 | echo |
166 | echo |
144 | utils\windows\win32\uips.exe a nwl1.ips nwl1.map |
167 | utils\windows\win32\uips.exe a nwl1.ips nwl1.map |
145 | utils\windows\win32\uips.exe a nwl2.ips nwl2.map |
168 | utils\windows\win32\uips.exe a nwl2.ips nwl2.map |
146 | utils\windows\win32\uips.exe a nwl3.ips nwl3.map |
169 | utils\windows\win32\uips.exe a nwl3.ips nwl3.map |
147 | utils\windows\win32\uips.exe a nwl4.ips nwl4.map |
170 | utils\windows\win32\uips.exe a nwl4.ips nwl4.map |
148 | utils\windows\win32\uips.exe a nwl5.ips nwl5.map |
171 | utils\windows\win32\uips.exe a nwl5.ips nwl5.map |
149 | utils\windows\win32\uips.exe a nwl6.ips nwl6.map |
172 | utils\windows\win32\uips.exe a nwl6.ips nwl6.map |
150 | utils\windows\win32\uips.exe a nwl7.ips nwl7.map |
173 | utils\windows\win32\uips.exe a nwl7.ips nwl7.map |
151 | utils\windows\win32\uips.exe a nwl8.ips nwl8.map |
174 | utils\windows\win32\uips.exe a nwl8.ips nwl8.map |
152 | if exist nwpatch*.h266 del /f /q nwpatch*.h266 |
175 | if exist nwpatch*.h266 del /f /q nwpatch*.h266 |
153 | if exist nwflag*.h266 del /f /q nwflag*.h266 |
176 | if exist nwflag*.h266 del /f /q nwflag*.h266 |
154 | echo Do not delete this file! You will be force to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266 |
177 | echo Do not delete this file! You will be forced to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266 |
155 | attrib +r nwflag%nwver%.h266 |
178 | attrib +r nwflag%nwver%.h266 |
156 | echo. |
179 | echo. |
157 | echo Patching complete! |
180 | echo Patching complete! |
158 | :scanning |
181 | :scanning |
159 | cd .. |
182 | cd "%eduke32dir%" |
160 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
- | |
161 | echo. |
183 | echo. |
162 | echo Scanning directory for potential problems. |
184 | echo Scanning directory for potential problems. |
163 | if exist nwl1.mhk goto mhkfound |
185 | if exist nwl1.mhk goto mhkfound |
164 | if exist nwl1demo.mhk goto mhkfound |
186 | if exist nwl1demo.mhk goto mhkfound |
165 | if exist nwl2.mhk goto mhkfound |
187 | if exist nwl2.mhk goto mhkfound |
166 | if exist nwl3.mhk goto mhkfound |
188 | if exist nwl3.mhk goto mhkfound |
167 | if exist nwl4.mhk goto mhkfound |
189 | if exist nwl4.mhk goto mhkfound |
168 | if exist nwl5.mhk goto mhkfound |
190 | if exist nwl5.mhk goto mhkfound |
169 | if exist nwl6.mhk goto mhkfound |
191 | if exist nwl6.mhk goto mhkfound |
170 | if exist nwl7.mhk goto mhkfound |
192 | if exist nwl7.mhk goto mhkfound |
171 | if exist nwl8.mhk goto mhkfound |
193 | if exist nwl8.mhk goto mhkfound |
172 | if exist _nwzoo.mhk goto mhkfound |
194 | if exist _nwzoo.mhk goto mhkfound |
173 | :mhkfound_done |
195 | :mhkfound_done |
174 | if exist TILES005.ART goto artfound |
196 | if exist TILES005.ART goto artfound |
175 | if exist TILES006.ART goto artfound |
197 | if exist TILES006.ART goto artfound |
176 | if exist TILES007.ART goto artfound |
198 | if exist TILES007.ART goto artfound |
177 | if exist TILES008.ART goto artfound |
199 | if exist TILES008.ART goto artfound |
178 | if exist TILES009.ART goto artfound |
200 | if exist TILES009.ART goto artfound |
179 | if exist TILES012.ART goto artfound |
201 | if exist TILES012.ART goto artfound |
180 | if exist TILES013.ART goto artfound |
202 | if exist TILES013.ART goto artfound |
181 | if exist TILES014.ART goto artfound |
203 | if exist TILES014.ART goto artfound |
182 | if exist TILES015.ART goto artfound |
204 | if exist TILES015.ART goto artfound |
183 | :artfound_done |
205 | :artfound_done |
184 | if exist NWinter.con goto confound |
206 | if exist NWinter.con goto confound |
185 | if exist NWActor.con goto confound |
207 | if exist NWActor.con goto confound |
186 | if exist NWDefs.con goto confound |
208 | if exist NWDefs.con goto confound |
187 | if exist NWDP.con goto confound |
209 | if exist NWDP.con goto confound |
188 | if exist NWDPCode.con goto confound |
210 | if exist NWDPCode.con goto confound |
189 | if exist NWDPXXX.con goto confound |
211 | if exist NWDPXXX.con goto confound |
190 | if exist NWEDuke.con goto confound |
212 | if exist NWEDuke.con goto confound |
191 | if exist NWSnow.con goto confound |
213 | if exist NWSnow.con goto confound |
192 | if exist NWUser.con goto confound |
214 | if exist NWUser.con goto confound |
193 | :confound_done |
215 | :confound_done |
194 | echo. |
216 | echo. |
195 | pause |
217 | pause |
196 | goto restart |
218 | goto restart |
197 | 219 | ||
198 | :noips |
220 | :noips |
199 | echo. |
221 | echo. |
200 | echo Error: You don't have all the *.ips files in your directory. |
222 | echo Error: You don't have all the *.ips files in your directory. |
201 | echo Aborting installation. |
223 | echo Aborting installation. |
202 | echo Map patching is required for NW+ to function correctly. |
224 | echo Map patching is required for NW+ to function correctly. |
203 | echo. |
225 | echo. |
204 | pause |
226 | pause |
205 | goto end |
227 | goto end |
206 | 228 | ||
207 | :mhkfound |
229 | :mhkfound |
208 | echo. |
230 | echo. |
209 | echo Problematic .mhk files have been found in your directory. |
231 | echo Problematic .mhk files have been found in your directory. |
210 | echo Unless you have knowingly made a modification to NW's map hacks, |
232 | echo Unless you have knowingly made a modification to NW's map hacks, |
211 | echo the presence of these files in your EDuke32 directory will |
233 | echo the presence of these files in your EDuke32 directory will |
212 | echo cause NW+ to function incorrectly. |
234 | echo cause NW+ to function incorrectly. |
213 | echo. |
235 | echo. |
214 | echo nwl1.mhk |
236 | echo nwl1.mhk |
215 | echo nwl1demo.mhk |
237 | echo nwl1demo.mhk |
216 | echo nwl2.mhk |
238 | echo nwl2.mhk |
217 | echo nwl3.mhk |
239 | echo nwl3.mhk |
218 | echo nwl4.mhk |
240 | echo nwl4.mhk |
219 | echo nwl5.mhk |
241 | echo nwl5.mhk |
220 | echo nwl6.mhk |
242 | echo nwl6.mhk |
221 | echo nwl7.mhk |
243 | echo nwl7.mhk |
222 | echo nwl8.mhk |
244 | echo nwl8.mhk |
223 | echo _nwzoo.mhk |
245 | echo _nwzoo.mhk |
224 | goto mhkfound_done |
246 | goto mhkfound_done |
225 | 247 | ||
226 | :artfound |
248 | :artfound |
227 | echo. |
249 | echo. |
228 | echo Problematic .art files have been found in your directory. |
250 | echo Problematic .art files have been found in your directory. |
229 | echo Unless you have knowingly made a modification to NW's art, |
251 | echo Unless you have knowingly made a modification to NW's art, |
230 | echo the presence of these files in your EDuke32 directory will |
252 | echo the presence of these files in your EDuke32 directory will |
231 | echo cause NW+ to function incorrectly. |
253 | echo cause NW+ to function incorrectly. |
232 | echo. |
254 | echo. |
233 | echo TILES005.ART |
255 | echo TILES005.ART |
234 | echo TILES006.ART |
256 | echo TILES006.ART |
235 | echo TILES007.ART |
257 | echo TILES007.ART |
236 | echo TILES008.ART |
258 | echo TILES008.ART |
237 | echo TILES009.ART |
259 | echo TILES009.ART |
238 | echo TILES012.ART |
260 | echo TILES012.ART |
239 | echo TILES013.ART |
261 | echo TILES013.ART |
240 | echo TILES014.ART |
262 | echo TILES014.ART |
241 | echo TILES015.ART |
263 | echo TILES015.ART |
242 | goto artfound_done |
264 | goto artfound_done |
243 | 265 | ||
244 | :confound |
266 | :confound |
245 | echo. |
267 | echo. |
246 | echo Problematic .con files have been found in your directory. |
268 | echo Problematic .con files have been found in your directory. |
247 | echo Unless you have knowingly made a modification to NW's programming, |
269 | echo Unless you have knowingly made a modification to NW's programming, |
248 | echo the presence of these files in your EDuke32 directory will |
270 | echo the presence of these files in your EDuke32 directory will |
249 | echo cause NW+ to function incorrectly. |
271 | echo cause NW+ to function incorrectly. |
250 | echo. |
272 | echo. |
251 | echo NWinter.con |
273 | echo NWinter.con |
252 | echo NWEDuke.con |
274 | echo NWEDuke.con |
253 | echo NWDefs.con |
275 | echo NWDefs.con |
254 | echo NWUser.con |
276 | echo NWUser.con |
255 | echo NWDP.con |
277 | echo NWDP.con |
256 | echo NWDPCode.con |
278 | echo NWDPCode.con |
257 | echo NWDPXXX.con |
279 | echo NWDPXXX.con |
258 | echo NWActor.con |
280 | echo NWActor.con |
259 | echo NWSnow.con |
281 | echo NWSnow.con |
260 | echo. |
282 | echo. |
261 | echo IF THESE ARE THE ORIGINAL NUCLEAR WINTER CON FILES, OR THEY COME FROM |
283 | echo IF THESE ARE THE ORIGINAL NUCLEAR WINTER CON FILES, OR THEY COME FROM |
262 | echo AN OUTDATED VERSION OF NW+, REMOVE THEM FROM YOUR EDUKE32 DIRECTORY |
284 | echo AN OUTDATED VERSION OF NW+, REMOVE THEM FROM YOUR EDUKE32 DIRECTORY |
263 | echo IMMEDIATELY! |
285 | echo IMMEDIATELY! |
264 | echo NW+ uses modified .con files to fix programming errors created by |
286 | echo NW+ uses modified .con files to fix programming errors created by |
265 | echo the original programmers. Due to improvements made to the levels, |
287 | echo the original programmers. Due to improvements made to the levels, |
266 | echo NW+ will have major errors if the included .con files are not used. |
288 | echo NW+ will have major errors if the included .con files are not used. |
267 | goto confound_done |
289 | goto confound_done |
268 | 290 | ||
269 | :eduke32check |
291 | :eduke32check |
270 | if exist eduke32.bat goto eduke32check_done |
292 | if exist eduke32.bat goto eduke32check_done |
271 | if exist ..\eduke32.exe ( |
293 | if exist ..\eduke32.exe ( |
272 | cd .. |
294 | cd .. |
273 | goto recheck |
295 | goto recheck |
274 | ) |
296 | ) |
275 | if exist ..\..\eduke32.exe ( |
297 | if exist ..\..\eduke32.exe ( |
276 | cd ..\.. |
298 | cd ..\.. |
277 | goto recheck |
299 | goto recheck |
278 | ) |
300 | ) |
279 | if exist ..\..\..\eduke32.exe ( |
301 | if exist ..\..\..\eduke32.exe ( |
280 | cd ..\..\.. |
302 | cd ..\..\.. |
281 | goto recheck |
303 | goto recheck |
282 | ) |
304 | ) |
283 | if exist ..\eduke32.bat ( |
305 | if exist ..\eduke32.bat ( |
284 | cd .. |
306 | cd .. |
285 | goto eduke32check_done |
307 | goto eduke32check_done |
286 | ) |
308 | ) |
287 | if exist ..\..\eduke32.bat ( |
309 | if exist ..\..\eduke32.bat ( |
288 | cd ..\.. |
310 | cd ..\.. |
289 | goto eduke32check_done |
311 | goto eduke32check_done |
290 | ) |
312 | ) |
291 | if exist ..\..\..\eduke32.bat ( |
313 | if exist ..\..\..\eduke32.bat ( |
292 | cd ..\..\.. |
314 | cd ..\..\.. |
293 | goto eduke32check_done |
315 | goto eduke32check_done |
294 | ) |
316 | ) |
295 | echo Warning: You don't have EDuke32 in your directory. |
317 | echo Warning: You don't have EDuke32 in your directory. |
296 | goto eduke32check_done |
318 | goto eduke32check_done |
297 | 319 | ||
298 | :nodir |
320 | :nodir |
299 | echo. |
321 | echo. |
300 | echo Error: "nw_plus" data directory not found. |
322 | echo Error: "nw_plus" data directory not found. |
301 | echo Aborting launch. |
323 | echo Aborting launch. |
302 | echo. |
324 | echo. |
303 | pause |
325 | pause |
304 | goto end |
326 | goto end |
305 | 327 | ||
306 | :end |
328 | :end |
307 | set hrp= |
- | |
308 | set hrpu= |
- | |
309 | echo. |
329 | echo. |
310 | @color 07 |
330 | @color 07 |
311 | @title %ComSpec% |
331 | @title %ComSpec% |
312 | cd %dir% |
332 | cd %dir% |
313 | @echo on |
333 | @echo on |
314 | 334 |