Subversion Repositories vaca_plus

Rev

Rev 18 | Rev 20 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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