Rev 1 | Rev 8 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 7 | ||
---|---|---|---|
1 | @echo off |
1 | @echo off |
2 | @color 0C |
2 | @color 0C |
3 | 3 | ||
4 | :restart |
4 | :restart |
5 | title Duke Caribbean: Life's A Beach Plus Batch Launcher |
5 | title Duke Caribbean: Life's A Beach Plus Batch Launcher |
6 | 6 | ||
7 | set dir=%cd% |
7 | set dir=%cd% |
8 | set vacaver=30 |
8 | set vacaver=30 |
9 | set hrp= |
9 | set hrp= |
10 | set hrpu= |
10 | set hrpu= |
11 | 11 | ||
12 | 12 | ||
13 | :title |
13 | :title |
14 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
14 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
15 | echo º Duke Caribbean: Life's A Beach Plus Batch Launcher º |
15 | echo º Duke Caribbean: Life's A Beach 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 Sunstorm Interactive's Duke Caribbean: Life's A Beach with the |
20 | echo You are playing Sunstorm Interactive's Duke Caribbean: Life's A Beach with the |
21 | echo various enhancements of Duke Caribbean: Life's A Beach Plus, maintained by |
21 | echo various enhancements of Duke Caribbean: Life's A Beach Plus, maintained by |
22 | echo Hendricks266. |
22 | echo Hendricks266. |
23 | echo. |
23 | echo. |
24 | :recheck |
24 | :recheck |
25 | if not exist eduke32.exe goto eduke32check |
25 | if not exist eduke32.exe goto eduke32check |
26 | :eduke32check_done |
26 | :eduke32check_done |
27 | if not exist vaca_plus\ goto nodir |
27 | if not exist vaca_plus\ goto nodir |
28 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
28 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
29 | if exist VACATION.PRG ren VACATION.PRG VACATION.GRP |
29 | if exist VACATION.PRG ren VACATION.PRG VACATION.GRP |
- | 30 | if exist vaca_plus\VACATION.PRG ren vaca_plus\VACATION.PRG VACATION.GRP |
|
- | 31 | if not exist vaca_plus\VACATION.GRP ( |
|
30 | if exist VACATION.GRP move VACATION.GRP vaca_plus\ |
32 | if exist VACATION.GRP move VACATION.GRP vaca_plus\ |
- | 33 | ) |
|
31 | cd vaca_plus |
34 | cd vaca_plus |
32 | if exist VACATION.PRG ren VACATION.PRG VACATION.GRP |
- | |
33 | if not exist VACATION.GRP goto novacagrp |
35 | if not exist VACATION.GRP goto novacagrp |
34 | :novacagrp_done |
36 | :novacagrp_done |
35 | if not exist vacaflag%vacaver%.h266 goto extract |
37 | if not exist vacaflag%vacaver%.h266 goto extract |
36 | if not exist vaca1.map goto extract |
38 | if not exist vaca1.map goto extract |
37 | if not exist vaca2.map goto extract |
39 | if not exist vaca2.map goto extract |
38 | if not exist vaca3.map goto extract |
40 | if not exist vaca3.map goto extract |
39 | if not exist vaca4.map goto extract |
41 | if not exist vaca4.map goto extract |
40 | if not exist vaca5.map goto extract |
42 | if not exist vaca5.map goto extract |
41 | if not exist vaca6.map goto extract |
43 | if not exist vaca6.map goto extract |
42 | if not exist vaca7.map goto extract |
44 | if not exist vaca7.map goto extract |
43 | if not exist vacadm1.map goto extract |
45 | if not exist vacadm1.map goto extract |
44 | if not exist vacadm2.map goto extract |
46 | if not exist vacadm2.map goto extract |
45 | if not exist vacadm3.map goto extract |
47 | if not exist vacadm3.map goto extract |
46 | if not exist vacadm4.map goto extract |
48 | if not exist vacadm4.map goto extract |
47 | if not exist vacasl.map goto extract |
49 | if not exist vacasl.map goto extract |
48 | cd .. |
50 | cd .. |
49 | echo. |
51 | echo. |
50 | echo. |
52 | echo. |
51 | echo. |
53 | echo. |
52 | echo. |
54 | echo. |
53 | echo. |
55 | echo. |
54 | 56 | ||
55 | :init |
57 | :init |
56 | pause |
58 | pause |
57 | echo. |
59 | echo. |
58 | goto check |
60 | goto check |
59 | 61 | ||
60 | :check |
62 | :check |
61 | 63 | ||
62 | if exist duke3d_hrp.zip set hrp=/gduke3d_hrp.zip |
64 | if exist duke3d_hrp.zip set hrp=/gduke3d_hrp.zip |
63 | if exist hrp_update.zip set hrpu=/ghrp_update.zip |
65 | if exist hrp_update.zip set hrpu=/ghrp_update.zip |
64 | 66 | ||
65 | echo. |
67 | echo. |
66 | echo Launching Duke Nukem 3D . . . |
68 | echo Launching Duke Nukem 3D . . . |
67 | echo Thanks for playing! |
69 | echo Thanks for playing! |
68 | echo. |
70 | echo. |
69 | echo Please leave this window open for the entire duration of your game. |
71 | echo Please leave this window open for the entire duration of your game. |
70 | echo It will close automatically. |
72 | echo It will close automatically. |
71 | 73 | ||
72 | ::if exist *.art ren *.art *.abk |
74 | ::if exist *.art ren *.art *.abk |
73 | 75 | ||
74 | eduke32 /xVacaEDuke.con /hvacation.def /jvaca_plus /gVACATION.GRP %hrp% %hrpu% %* |
76 | eduke32 /xVacaEDuke.con /hvacation.def /jvaca_plus /gVACATION.GRP %hrp% %hrpu% %* |
75 | 77 | ||
76 | ::if exist *.abk ren *.abk *.art |
78 | ::if exist *.abk ren *.abk *.art |
77 | 79 | ||
78 | goto end |
80 | goto end |
79 | 81 | ||
80 | :noduke |
82 | :noduke |
81 | echo. |
83 | echo. |
82 | 84 | ||
83 | echo Aborting launch. |
85 | echo Aborting launch. |
84 | echo. |
86 | echo. |
85 | pause |
87 | pause |
86 | goto end |
88 | goto end |
87 | 89 | ||
88 | :novacagrp |
90 | :novacagrp |
89 | echo. |
91 | echo. |
90 | echo Error: You don't have VACATION.GRP in your directory. |
92 | echo Error: You don't have VACATION.GRP in your directory. |
91 | echo. |
93 | echo. |
92 | if exist VACA15.SSI goto ssi1 |
94 | if exist VACA15.SSI goto ssi1 |
93 | if exist VACAPP.SSI goto ssi2 |
95 | if exist VACAPP.SSI goto ssi2 |
94 | if exist VACA13.SSI goto ssi3 |
96 | if exist VACA13.SSI goto ssi3 |
95 | echo You don't have the SSI files in your directory. |
97 | echo You don't have the SSI files in your directory. |
96 | :retry |
98 | :retry |
97 | echo. |
99 | echo. |
98 | set cddrive= |
100 | set cddrive= |
99 | set /p cddrive=What is the drive letter that your Caribbean CD is in? |
101 | set /p cddrive=What is the drive letter that your Caribbean CD is in? |
100 | echo. |
102 | echo. |
101 | if not '%cddrive%'=='' set cddrive=%cddrive:~0,1% |
103 | if not '%cddrive%'=='' set cddrive=%cddrive:~0,1% |
102 | if '%cddrive%'=='' goto cdno |
104 | if '%cddrive%'=='' goto cdno |
103 | if not exist %cddrive%:\ goto cdno |
105 | if not exist %cddrive%:\ goto cdno |
104 | if not exist %cddrive%:\* goto cdno |
106 | if not exist %cddrive%:\* goto cdno |
105 | if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw |
107 | if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw |
106 | copy %cddrive%:\VACATION\*.SSI .\ |
108 | copy %cddrive%:\VACATION\*.SSI .\ |
107 | echo. |
109 | echo. |
108 | type DVINTRO.TXT |
110 | type DVINTRO.TXT |
109 | goto novacagrp_done |
111 | goto novacagrp_done |
110 | 112 | ||
111 | :cdno |
113 | :cdno |
112 | echo '%cddrive%' is not valid. Please try again. |
114 | echo '%cddrive%' is not valid. Please try again. |
113 | goto retry |
115 | goto retry |
114 | 116 | ||
115 | :cdw |
117 | :cdw |
116 | echo '%cddrive%' is not the correct disc. Please try again. |
118 | echo '%cddrive%' is not the correct disc. Please try again. |
117 | goto retry |
119 | goto retry |
118 | 120 | ||
119 | :ssi1 |
121 | :ssi1 |
120 | echo You do have the Caribbean SSI file in this directory, but it has not been |
122 | echo You do have the Caribbean SSI file in this directory, but it has not been |
121 | echo extracted. It will now be unpacked. |
123 | echo extracted. It will now be unpacked. |
122 | echo. |
124 | echo. |
123 | pause |
125 | pause |
124 | md vaca15ssi |
126 | md vaca15ssi |
125 | cd vaca15ssi |
127 | cd vaca15ssi |
126 | ..\utils\windows\win32\unpackssi.exe ..\VACA15.SSI |
128 | ..\utils\windows\win32\unpackssi.exe ..\VACA15.SSI |
127 | move /y VACATION.PRG ..\VACATION.GRP |
129 | move /y VACATION.PRG ..\VACATION.GRP |
128 | cd .. |
130 | cd .. |
129 | rd /s /q vaca15ssi |
131 | rd /s /q vaca15ssi |
130 | goto novacagrp_done |
132 | goto novacagrp_done |
131 | 133 | ||
132 | :ssi2 |
134 | :ssi2 |
133 | echo You do have the Caribbean SSI file in this directory, but it has not been |
135 | echo You do have the Caribbean SSI file in this directory, but it has not been |
134 | echo extracted. It will now be unpacked. |
136 | echo extracted. It will now be unpacked. |
135 | echo. |
137 | echo. |
136 | pause |
138 | pause |
137 | md vacappssi |
139 | md vacappssi |
138 | cd vacappssi |
140 | cd vacappssi |
139 | ..\utils\windows\win32\unpackssi.exe ..\VACAPP.SSI |
141 | ..\utils\windows\win32\unpackssi.exe ..\VACAPP.SSI |
140 | move /y VACATION.PRG ..\VACATION.GRP |
142 | move /y VACATION.PRG ..\VACATION.GRP |
141 | cd .. |
143 | cd .. |
142 | rd /s /q vacappssi |
144 | rd /s /q vacappssi |
143 | goto novacagrp_done |
145 | goto novacagrp_done |
144 | 146 | ||
145 | :ssi3 |
147 | :ssi3 |
146 | echo You do have the Caribbean SSI file in this directory, but it has not been |
148 | echo You do have the Caribbean SSI file in this directory, but it has not been |
147 | echo extracted. It will now be unpacked. |
149 | echo extracted. It will now be unpacked. |
148 | echo. |
150 | echo. |
149 | pause |
151 | pause |
150 | md vaca13ssi |
152 | md vaca13ssi |
151 | cd vaca13ssi |
153 | cd vaca13ssi |
152 | ..\utils\windows\win32\unpackssi.exe ..\VACA13.SSI |
154 | ..\utils\windows\win32\unpackssi.exe ..\VACA13.SSI |
153 | ren *.TRA *.ART |
155 | ren *.TRA *.ART |
154 | ren *.PCS *.SCP |
156 | ren *.PCS *.SCP |
155 | ren VACA1.MAP vaca1.map |
157 | ren VACA1.MAP vaca1.map |
156 | ren VACA2.MAP vaca2.map |
158 | ren VACA2.MAP vaca2.map |
157 | ren VACA3.MAP vaca3.map |
159 | ren VACA3.MAP vaca3.map |
158 | ren VACA4.MAP vaca4.map |
160 | ren VACA4.MAP vaca4.map |
159 | ren VACA5.MAP vaca5.map |
161 | ren VACA5.MAP vaca5.map |
160 | ren VACA6.MAP vaca6.map |
162 | ren VACA6.MAP vaca6.map |
161 | ren VACA7.MAP vaca7.map |
163 | ren VACA7.MAP vaca7.map |
162 | ren VACASL.MAP vacasl.map |
164 | ren VACASL.MAP vacasl.map |
163 | ren VACADM1.MAP vacadm1.map |
165 | ren VACADM1.MAP vacadm1.map |
164 | ren VACADM2.MAP vacadm2.map |
166 | ren VACADM2.MAP vacadm2.map |
165 | ren VACADM3.MAP vacadm3.map |
167 | ren VACADM3.MAP vacadm3.map |
166 | ren VACADM4.MAP vacadm4.map |
168 | ren VACADM4.MAP vacadm4.map |
167 | ren *.NOC *.CON |
169 | ren *.NOC *.CON |
168 | ren *.DIM *.MID |
170 | ren *.DIM *.MID |
169 | ren *.MNA *.ANM |
171 | ren *.MNA *.ANM |
170 | ren *.COV *.VOC |
172 | ren *.COV *.VOC |
171 | ren *.OMD *.DMO |
173 | ren *.OMD *.DMO |
172 | ren DUKETEAM.ANM RADLOGO.ANM |
174 | ren DUKETEAM.ANM RADLOGO.ANM |
173 | ..\utils\windows\win32\kgroup.exe VACATION.GRP *.ART *.SCP *.map *.CON *.MID *.ANM *.VOC *.DMO CARIB.EXE |
175 | ..\utils\windows\win32\kgroup.exe VACATION.GRP *.ART *.SCP *.map *.CON *.MID *.ANM *.VOC *.DMO CARIB.EXE |
174 | move /y VACATION.GRP ..\VACATION.GRP |
176 | move /y VACATION.GRP ..\VACATION.GRP |
175 | move /y *.map ..\ |
177 | move /y *.map ..\ |
176 | cd .. |
178 | cd .. |
177 | rd /s /q vaca13ssi |
179 | rd /s /q vaca13ssi |
178 | goto novacagrp_done |
180 | goto novacagrp_done |
179 | 181 | ||
180 | :extract |
182 | :extract |
181 | echo. |
183 | echo. |
182 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
184 | echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» |
183 | echo º Duke Caribbean: Life's A Beach Plus Installation º |
185 | echo º Duke Caribbean: Life's A Beach Plus Installation º |
184 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ |
186 | echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ |
185 | echo ³ By Hendricks266 ³ |
187 | echo ³ By Hendricks266 ³ |
186 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
188 | echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ |
187 | echo. |
189 | echo. |
188 | if not exist vaca1.ips goto noips |
190 | if not exist vaca1.ips goto noips |
189 | if not exist vaca2.ips goto noips |
191 | if not exist vaca2.ips goto noips |
190 | if not exist vaca3.ips goto noips |
192 | if not exist vaca3.ips goto noips |
191 | if not exist vaca4.ips goto noips |
193 | if not exist vaca4.ips goto noips |
192 | if not exist vaca5.ips goto noips |
194 | if not exist vaca5.ips goto noips |
193 | if not exist vaca6.ips goto noips |
195 | if not exist vaca6.ips goto noips |
194 | if not exist vaca7.ips goto noips |
196 | if not exist vaca7.ips goto noips |
195 | if not exist vacasl.ips goto noips |
197 | if not exist vacasl.ips goto noips |
196 | if not exist vacadm1.ips goto noips |
198 | if not exist vacadm1.ips goto noips |
197 | if not exist vacadm2.ips goto noips |
199 | if not exist vacadm2.ips goto noips |
198 | if not exist vacadm3.ips goto noips |
200 | if not exist vacadm3.ips goto noips |
199 | if not exist vacadm4.ips goto noips |
201 | if not exist vacadm4.ips goto noips |
- | 202 | md vaca_preserve |
|
200 | if exist vaca*.map del /f /q vaca*.map |
203 | if exist vaca*.map move /y vaca*.map vaca_preserve\ |
201 | if exist ..\vaca*.map del /f /q ..\vaca*.map |
204 | if exist ..\vaca*.map move /y ..\vaca*.map vaca_preserve\ |
202 | utils\windows\win32\kextract.exe VACATION.GRP VACA*.MAP |
205 | utils\windows\win32\kextract.exe VACATION.GRP VACA*.MAP |
203 | ren VACA1.MAP vaca1.map |
206 | ren VACA1.MAP vaca1.map |
204 | ren VACA2.MAP vaca2.map |
207 | ren VACA2.MAP vaca2.map |
205 | ren VACA3.MAP vaca3.map |
208 | ren VACA3.MAP vaca3.map |
206 | ren VACA4.MAP vaca4.map |
209 | ren VACA4.MAP vaca4.map |
207 | ren VACA5.MAP vaca5.map |
210 | ren VACA5.MAP vaca5.map |
208 | ren VACA6.MAP vaca6.map |
211 | ren VACA6.MAP vaca6.map |
209 | ren VACA7.MAP vaca7.map |
212 | ren VACA7.MAP vaca7.map |
210 | ren VACASL.MAP vacasl.map |
213 | ren VACASL.MAP vacasl.map |
211 | ren VACADM1.MAP vacadm1.map |
214 | ren VACADM1.MAP vacadm1.map |
212 | ren VACADM2.MAP vacadm2.map |
215 | ren VACADM2.MAP vacadm2.map |
213 | ren VACADM3.MAP vacadm3.map |
216 | ren VACADM3.MAP vacadm3.map |
214 | ren VACADM4.MAP vacadm4.map |
217 | ren VACADM4.MAP vacadm4.map |
215 | if exist vacapatch*.h266 del /f /q vacapatch*.h266 |
218 | if exist vacapatch*.h266 del /f /q vacapatch*.h266 |
216 | if exist vacaflag*.h266 del /f /q vacaflag*.h266 |
219 | if exist vacaflag*.h266 del /f /q vacaflag*.h266 |
217 | echo. |
220 | echo. |
218 | echo Map patching will now begin. |
221 | echo Map patching will now begin. |
219 | echo. |
222 | echo. |
220 | pause |
223 | pause |
221 | echo |
224 | echo |
222 | utils\windows\win32\uips.exe a vaca1.ips vaca1.map |
225 | utils\windows\win32\uips.exe a vaca1.ips vaca1.map |
223 | utils\windows\win32\uips.exe a vaca2.ips vaca2.map |
226 | utils\windows\win32\uips.exe a vaca2.ips vaca2.map |
224 | utils\windows\win32\uips.exe a vaca3.ips vaca3.map |
227 | utils\windows\win32\uips.exe a vaca3.ips vaca3.map |
225 | utils\windows\win32\uips.exe a vaca4.ips vaca4.map |
228 | utils\windows\win32\uips.exe a vaca4.ips vaca4.map |
226 | utils\windows\win32\uips.exe a vaca5.ips vaca5.map |
229 | utils\windows\win32\uips.exe a vaca5.ips vaca5.map |
227 | utils\windows\win32\uips.exe a vaca6.ips vaca6.map |
230 | utils\windows\win32\uips.exe a vaca6.ips vaca6.map |
228 | utils\windows\win32\uips.exe a vaca7.ips vaca7.map |
231 | utils\windows\win32\uips.exe a vaca7.ips vaca7.map |
229 | utils\windows\win32\uips.exe a vacasl.ips vacasl.map |
232 | utils\windows\win32\uips.exe a vacasl.ips vacasl.map |
230 | utils\windows\win32\uips.exe a vacadm1.ips vacadm1.map |
233 | utils\windows\win32\uips.exe a vacadm1.ips vacadm1.map |
231 | utils\windows\win32\uips.exe a vacadm2.ips vacadm2.map |
234 | utils\windows\win32\uips.exe a vacadm2.ips vacadm2.map |
232 | utils\windows\win32\uips.exe a vacadm3.ips vacadm3.map |
235 | utils\windows\win32\uips.exe a vacadm3.ips vacadm3.map |
233 | utils\windows\win32\uips.exe a vacadm4.ips vacadm4.map |
236 | utils\windows\win32\uips.exe a vacadm4.ips vacadm4.map |
234 | if exist vacapatch*.h266 del /f /q vacapatch*.h266 |
237 | if exist vacapatch*.h266 del /f /q vacapatch*.h266 |
235 | if exist vacaflag*.h266 del /f /q vacaflag*.h266 |
238 | if exist vacaflag*.h266 del /f /q vacaflag*.h266 |
236 | del /f /q vaca1.ips |
- | |
237 | del /f /q vaca2.ips |
- | |
238 | del /f /q vaca3.ips |
- | |
239 | del /f /q vaca4.ips |
- | |
240 | del /f /q vaca5.ips |
- | |
241 | del /f /q vaca6.ips |
- | |
242 | del /f /q vaca7.ips |
- | |
243 | del /f /q vacasl.ips |
- | |
244 | del /f /q vacadm1.ips |
- | |
245 | del /f /q vacadm2.ips |
- | |
246 | del /f /q vacadm3.ips |
- | |
247 | del /f /q vacadm4.ips |
- | |
248 | echo Do not delete this file! You will be force to reinstall Vaca+ and repatch the maps. >vacaflag%vacaver%.h266 |
239 | echo Do not delete this file! You will be force to reinstall Vaca+ and repatch the maps. >vacaflag%vacaver%.h266 |
249 | attrib +r vacaflag%vacaver%.h266 |
240 | attrib +r vacaflag%vacaver%.h266 |
250 | echo. |
241 | echo. |
251 | echo Patching complete! |
242 | echo Patching complete! |
252 | :scanning |
243 | :scanning |
253 | cd .. |
244 | cd .. |
254 | echo. |
245 | echo. |
255 | echo Scanning directory for potential problems. |
246 | echo Scanning directory for potential problems. |
256 | if exist vaca1.mhk goto mhkfound |
247 | if exist vaca1.mhk goto mhkfound |
257 | if exist vaca2.mhk goto mhkfound |
248 | if exist vaca2.mhk goto mhkfound |
258 | if exist vaca3.mhk goto mhkfound |
249 | if exist vaca3.mhk goto mhkfound |
259 | if exist vaca4.mhk goto mhkfound |
250 | if exist vaca4.mhk goto mhkfound |
260 | if exist vaca5.mhk goto mhkfound |
251 | if exist vaca5.mhk goto mhkfound |
261 | if exist vaca6.mhk goto mhkfound |
252 | if exist vaca6.mhk goto mhkfound |
262 | if exist vaca7.mhk goto mhkfound |
253 | if exist vaca7.mhk goto mhkfound |
263 | if exist vacasl.mhk goto mhkfound |
254 | if exist vacasl.mhk goto mhkfound |
264 | if exist vacadm1.mhk goto mhkfound |
255 | if exist vacadm1.mhk goto mhkfound |
265 | if exist vacadm2.mhk goto mhkfound |
256 | if exist vacadm2.mhk goto mhkfound |
266 | if exist vacadm3.mhk goto mhkfound |
257 | if exist vacadm3.mhk goto mhkfound |
267 | if exist vacadm4.mhk goto mhkfound |
258 | if exist vacadm4.mhk goto mhkfound |
268 | if exist dcava0r.mhk goto mhkfound |
259 | if exist dcava0r.mhk goto mhkfound |
269 | if exist dcava1.mhk goto mhkfound |
260 | if exist dcava1.mhk goto mhkfound |
270 | if exist _vacazoo.mhk goto mhkfound |
261 | if exist _vacazoo.mhk goto mhkfound |
271 | :mhkfound_done |
262 | :mhkfound_done |
272 | if exist TILES000.ART goto artfound |
263 | if exist TILES000.ART goto artfound |
273 | if exist TILES003.ART goto artfound |
264 | if exist TILES003.ART goto artfound |
274 | if exist TILES005.ART goto artfound |
265 | if exist TILES005.ART goto artfound |
275 | if exist TILES006.ART goto artfound |
266 | if exist TILES006.ART goto artfound |
276 | if exist TILES007.ART goto artfound |
267 | if exist TILES007.ART goto artfound |
277 | if exist TILES008.ART goto artfound |
268 | if exist TILES008.ART goto artfound |
278 | if exist TILES009.ART goto artfound |
269 | if exist TILES009.ART goto artfound |
279 | if exist TILES010.ART goto artfound |
270 | if exist TILES010.ART goto artfound |
280 | if exist TILES012.ART goto artfound |
271 | if exist TILES012.ART goto artfound |
281 | if exist TILES014.ART goto artfound |
272 | if exist TILES014.ART goto artfound |
282 | :artfound_done |
273 | :artfound_done |
283 | if exist Vacation.con goto confound |
274 | if exist Vacation.con goto confound |
284 | if exist VacaEDuke.con goto confound |
275 | if exist VacaEDuke.con goto confound |
285 | if exist VacaDefs.con goto confound |
276 | if exist VacaDefs.con goto confound |
286 | if exist VacaUser.con goto confound |
277 | if exist VacaUser.con goto confound |
287 | if exist VacaDP.con goto confound |
278 | if exist VacaDP.con goto confound |
288 | if exist VacaDPCode.con goto confound |
279 | if exist VacaDPCode.con goto confound |
289 | if exist VacaDPXXX.con goto confound |
280 | if exist VacaDPXXX.con goto confound |
290 | if exist VSounds.con goto confound |
281 | if exist VSounds.con goto confound |
291 | if exist VBeachBabe.con goto confound |
282 | if exist VBeachBabe.con goto confound |
292 | if exist VBeachBall.con goto confound |
283 | if exist VBeachBall.con goto confound |
293 | if exist VBeachBather.con goto confound |
284 | if exist VBeachBather.con goto confound |
294 | if exist VDragon.con goto confound |
285 | if exist VDragon.con goto confound |
295 | if exist VSeagull.con goto confound |
286 | if exist VSeagull.con goto confound |
296 | :confound_done |
287 | :confound_done |
297 | echo. |
288 | echo. |
298 | pause |
289 | pause |
299 | goto restart |
290 | goto restart |
300 | 291 | ||
301 | :noips |
292 | :noips |
302 | echo. |
293 | echo. |
303 | echo Error: You don't have all the *.ips files in your directory. |
294 | echo Error: You don't have all the *.ips files in your directory. |
304 | echo Aborting installation. |
295 | echo Aborting installation. |
305 | echo Map patching is required for Vaca+ to function correctly. |
296 | echo Map patching is required for Vaca+ to function correctly. |
306 | echo. |
297 | echo. |
307 | pause |
298 | pause |
308 | goto end |
299 | goto end |
309 | 300 | ||
310 | :mhkfound |
301 | :mhkfound |
311 | echo. |
302 | echo. |
312 | echo Problematic .mhk files have been found in your directory. |
303 | echo Problematic .mhk files have been found in your directory. |
313 | echo Unless you have knowingly made a modification to Vaca's map hacks, |
304 | echo Unless you have knowingly made a modification to Vaca's map hacks, |
314 | echo the presence of these files in your EDuke32 directory will |
305 | echo the presence of these files in your EDuke32 directory will |
315 | echo cause Vaca+ to function incorrectly. |
306 | echo cause Vaca+ to function incorrectly. |
316 | echo. |
307 | echo. |
317 | echo vaca1.mhk |
308 | echo vaca1.mhk |
318 | echo vaca2.mhk |
309 | echo vaca2.mhk |
319 | echo vaca3.mhk |
310 | echo vaca3.mhk |
320 | echo vaca4.mhk |
311 | echo vaca4.mhk |
321 | echo vaca5.mhk |
312 | echo vaca5.mhk |
322 | echo vaca6.mhk |
313 | echo vaca6.mhk |
323 | echo vaca7.mhk |
314 | echo vaca7.mhk |
324 | echo vacasl.mhk |
315 | echo vacasl.mhk |
325 | echo vacadm1.mhk |
316 | echo vacadm1.mhk |
326 | echo vacadm2.mhk |
317 | echo vacadm2.mhk |
327 | echo vacadm3.mhk |
318 | echo vacadm3.mhk |
328 | echo vacadm4.mhk |
319 | echo vacadm4.mhk |
329 | echo dcava0r.mhk |
320 | echo dcava0r.mhk |
330 | echo dcava1.mhk |
321 | echo dcava1.mhk |
331 | echo _vacazoo.mhk |
322 | echo _vacazoo.mhk |
332 | goto mhkfound_done |
323 | goto mhkfound_done |
333 | 324 | ||
334 | :artfound |
325 | :artfound |
335 | echo. |
326 | echo. |
336 | echo Problematic .art files have been found in your directory. |
327 | echo Problematic .art files have been found in your directory. |
337 | echo Unless you have knowingly made a modification to Vaca's art, |
328 | echo Unless you have knowingly made a modification to Vaca's art, |
338 | echo the presence of these files in your EDuke32 directory will |
329 | echo the presence of these files in your EDuke32 directory will |
339 | echo cause Vaca+ to function incorrectly. |
330 | echo cause Vaca+ to function incorrectly. |
340 | echo. |
331 | echo. |
341 | echo TILES000.ART |
332 | echo TILES000.ART |
342 | echo TILES003.ART |
333 | echo TILES003.ART |
343 | echo TILES005.ART |
334 | echo TILES005.ART |
344 | echo TILES006.ART |
335 | echo TILES006.ART |
345 | echo TILES007.ART |
336 | echo TILES007.ART |
346 | echo TILES008.ART |
337 | echo TILES008.ART |
347 | echo TILES009.ART |
338 | echo TILES009.ART |
348 | echo TILES010.ART |
339 | echo TILES010.ART |
349 | echo TILES012.ART |
340 | echo TILES012.ART |
350 | echo TILES014.ART |
341 | echo TILES014.ART |
351 | goto artfound_done |
342 | goto artfound_done |
352 | 343 | ||
353 | :confound |
344 | :confound |
354 | echo. |
345 | echo. |
355 | echo Problematic .con files have been found in your directory. |
346 | echo Problematic .con files have been found in your directory. |
356 | echo Unless you have knowingly made a modification to Vaca's programming, |
347 | echo Unless you have knowingly made a modification to Vaca's programming, |
357 | echo the presence of these files in your EDuke32 directory will |
348 | echo the presence of these files in your EDuke32 directory will |
358 | echo cause Vaca+ to function incorrectly. |
349 | echo cause Vaca+ to function incorrectly. |
359 | echo. |
350 | echo. |
360 | echo Vacation.con |
351 | echo Vacation.con |
361 | echo VacaEDuke.con |
352 | echo VacaEDuke.con |
362 | echo VacaDefs.con |
353 | echo VacaDefs.con |
363 | echo VacaUser.con |
354 | echo VacaUser.con |
364 | echo VacaDP.con |
355 | echo VacaDP.con |
365 | echo VacaDPCode.con |
356 | echo VacaDPCode.con |
366 | echo VacaDPXXX.con |
357 | echo VacaDPXXX.con |
367 | echo VSounds.con |
358 | echo VSounds.con |
368 | echo VBeachBabe.con |
359 | echo VBeachBabe.con |
369 | echo VBeachBall.con |
360 | echo VBeachBall.con |
370 | echo VBeachBather.con |
361 | echo VBeachBather.con |
371 | echo VDragon.con |
362 | echo VDragon.con |
372 | echo VSeagull.con |
363 | echo VSeagull.con |
373 | echo. |
364 | echo. |
374 | echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM |
365 | echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM |
375 | echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR EDUKE32 DIRECTORY |
366 | echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR EDUKE32 DIRECTORY |
376 | echo IMMEDIATELY! |
367 | echo IMMEDIATELY! |
377 | echo Vaca+ uses modified .con files to fix programming errors created by |
368 | echo Vaca+ uses modified .con files to fix programming errors created by |
378 | echo the original programmers. Due to improvements made to the levels, |
369 | echo the original programmers. Due to improvements made to the levels, |
379 | echo Vaca+ will have major errors if the included .con files are not used. |
370 | echo Vaca+ will have major errors if the included .con files are not used. |
380 | goto confound_done |
371 | goto confound_done |
381 | 372 | ||
382 | :eduke32check |
373 | :eduke32check |
383 | if exist eduke32.bat goto eduke32check_done |
374 | if exist eduke32.bat goto eduke32check_done |
384 | if exist ..\eduke32.exe ( |
375 | if exist ..\eduke32.exe ( |
385 | cd .. |
376 | cd .. |
386 | goto recheck |
377 | goto recheck |
387 | ) |
378 | ) |
388 | if exist ..\..\eduke32.exe ( |
379 | if exist ..\..\eduke32.exe ( |
389 | cd ..\.. |
380 | cd ..\.. |
390 | goto recheck |
381 | goto recheck |
391 | ) |
382 | ) |
392 | if exist ..\..\..\eduke32.exe ( |
383 | if exist ..\..\..\eduke32.exe ( |
393 | cd ..\..\.. |
384 | cd ..\..\.. |
394 | goto recheck |
385 | goto recheck |
395 | ) |
386 | ) |
396 | if exist ..\eduke32.bat ( |
387 | if exist ..\eduke32.bat ( |
397 | cd .. |
388 | cd .. |
398 | goto eduke32check_done |
389 | goto eduke32check_done |
399 | ) |
390 | ) |
400 | if exist ..\..\eduke32.bat ( |
391 | if exist ..\..\eduke32.bat ( |
401 | cd ..\.. |
392 | cd ..\.. |
402 | goto eduke32check_done |
393 | goto eduke32check_done |
403 | ) |
394 | ) |
404 | if exist ..\..\..\eduke32.bat ( |
395 | if exist ..\..\..\eduke32.bat ( |
405 | cd ..\..\.. |
396 | cd ..\..\.. |
406 | goto eduke32check_done |
397 | goto eduke32check_done |
407 | ) |
398 | ) |
408 | echo Warning: You don't have EDuke32 in your directory. |
399 | echo Warning: You don't have EDuke32 in your directory. |
409 | goto eduke32check_done |
400 | goto eduke32check_done |
410 | 401 | ||
411 | :nodir |
402 | :nodir |
412 | echo. |
403 | echo. |
413 | echo Error: "vaca_plus" data directory not found. |
404 | echo Error: "vaca_plus" data directory not found. |
414 | echo Aborting launch. |
405 | echo Aborting launch. |
415 | echo. |
406 | echo. |
416 | pause |
407 | pause |
417 | goto end |
408 | goto end |
418 | 409 | ||
419 | :end |
410 | :end |
420 | set hrp= |
411 | set hrp= |
421 | set hrpu= |
412 | set hrpu= |
422 | echo. |
413 | echo. |
423 | @color 07 |
414 | @color 07 |
424 | @title %ComSpec% |
415 | @title %ComSpec% |
425 | cd %dir% |
416 | cd %dir% |
426 | @echo on |
417 | @echo on |
427 | goto :eof |
418 | goto :eof |
428 | 419 |