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