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