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