Subversion Repositories vaca_plus

Rev

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

Rev 42 Rev 46
1
@echo off
1
@echo off
2
@color 0C
2
@color 0C
3
pushd .
3
pushd .
4
cd /d "%~dp0"
4
chdir /d "%~dp0"
5
 
5
 
6
:restart
6
:restart
7
title Duke Caribbean: Life's A Beach Plus Launcher
7
title Duke Caribbean: Life's A Beach Plus Launcher
8
if "%editor%"=="1" title Duke Caribbean: Life's A Beach Plus Editor Launcher
8
if "%editor%"=="1" title Duke Caribbean: Life's A Beach Plus Editor Launcher
9
 
9
 
10
set exedir=%~dp0
10
set exedir=%~dp0
11
set addondir=%~dp0
11
set addondir=%~dp0
12
set addonhrpdir=%~dp0
12
set addonhrpdir=%~dp0
13
 
13
 
14
set exename=eduke32
14
set exename=eduke32
15
set exeproper=EDuke32
15
set exeproper=EDuke32
16
set action=playing
16
set action=playing
17
 
17
 
18
if "%editor%"=="1" (
18
if "%editor%"=="1" (
19
set exename=mapster32
19
set exename=mapster32
20
set exeproper=Mapster32
20
set exeproper=Mapster32
21
set action=editing
21
set action=editing
22
)
22
)
23
 
23
 
24
set addonver=r004
24
set addonver=r004
25
 
25
 
26
:title
26
:title
27
echo                     ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
27
echo                     ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
28
echo                     º Duke Caribbean: Life's A Beach Plus º
28
echo                     º Duke Caribbean: Life's A Beach Plus º
29
echo                     ÈÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍͼ
29
echo                     ÈÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍͼ
30
echo                               ³ By Hendricks266 ³
30
echo                               ³ By Hendricks266 ³
31
echo                               ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
31
echo                               ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
32
echo.
32
echo.
33
echo You are %action% Sunstorm Interactive's Duke Caribbean: Life's A Beach with the
33
echo You are %action% Sunstorm Interactive's Duke Caribbean: Life's A Beach with the
34
echo various enhancements of Duke Caribbean: Life's A Beach Plus, maintained by
34
echo various enhancements of Duke Caribbean: Life's A Beach Plus, maintained by
35
echo Hendricks266.
35
echo Hendricks266.
36
echo.
36
echo.
37
 
37
 
38
if "%xxx%"=="1" echo Using XXX mode.
38
if "%xxx%"=="1" echo Using XXX mode.
39
if "%dp%"=="1" echo Using Duke Plus by DeeperThought.
39
if "%dp%"=="1" echo Using Duke Plus by DeeperThought.
40
if "%debug%"=="1" echo Using debug mode.
40
if "%debug%"=="1" echo Using debug mode.
41
 
41
 
42
:recheck
42
:recheck
43
if not exist %exename%.exe goto execheck
43
if not exist %exename%.exe goto execheck
44
:execheck_done
44
:execheck_done
45
set exedir=%cd%
45
set exedir=%cd%
46
if "%debug%"=="1" echo DEBUG: %exeproper% Directory: "%exedir%"
46
if "%debug%"=="1" echo DEBUG: %exeproper% Directory: "%exedir%"
47
 
47
 
48
if not exist vaca_plus\ goto nodir
48
if not exist vaca_plus\ goto nodir
49
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
49
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
50
 
50
 
51
if exist vacation\ set addonhrpdir=%cd%
51
if exist vacation\ set addonhrpdir=%cd%
52
:addondircheck
52
:addondircheck
53
if exist VACATION.PRG ren VACATION.PRG vacation.grp
53
if exist VACATION.PRG ren VACATION.PRG vacation.grp
54
cd vaca_plus
54
chdir vaca_plus
55
set addondir=%cd%
55
set addondir=%cd%
56
if exist vacation\ set addonhrpdir=%cd%
56
if exist vacation\ set addonhrpdir=%cd%
57
if exist vaca_plus\ goto addondircheck
57
if exist vaca_plus\ goto addondircheck
58
if "%debug%"=="1" echo DEBUG: Vaca+ Directory: "%addondir%".
58
if "%debug%"=="1" echo DEBUG: Vaca+ Directory: "%addondir%".
59
if "%debug%"=="1" echo DEBUG: VacaHRP Directory: "%addonhrpdir%".
59
if "%debug%"=="1" echo DEBUG: VacaHRP Directory: "%addonhrpdir%".
60
 
60
 
61
if not exist "%addondir%\VACATION.GRP" (
61
if not exist "%addondir%\VACATION.GRP" (
62
if exist "%exedir%\VACATION.GRP" (
62
if exist "%exedir%\VACATION.GRP" (
63
move /y "%exedir%\VACATION.GRP" "%addondir%\"
63
move /y "%exedir%\VACATION.GRP" "%addondir%\"
64
ren "%addondir%\VACATION.GRP" vacation.grp
64
ren "%addondir%\VACATION.GRP" vacation.grp
65
) else (
65
) else (
66
goto novacagrp
66
goto novacagrp
67
) )
67
) )
68
 
68
 
-
 
69
if exist vacation.grp ren vacation.grp vacation.grp
69
call :grpchecksum
70
call :grpchecksum
70
:novacagrp_return
71
:novacagrp_return
71
if not "%version%"=="demo" (
72
if not "%version%"=="demo" (
72
if not exist vaca1.map goto mapextract
73
if not exist vaca1.map goto mapextract
73
if not exist vaca2.map goto mapextract
74
if not exist vaca2.map goto mapextract
74
if not exist vaca3.map goto mapextract
75
if not exist vaca3.map goto mapextract
75
if not exist vaca4.map goto mapextract
76
if not exist vaca4.map goto mapextract
76
if not exist vaca5.map goto mapextract
77
if not exist vaca5.map goto mapextract
77
if not exist vaca6.map goto mapextract
78
if not exist vaca6.map goto mapextract
78
if not exist vaca7.map goto mapextract
79
if not exist vaca7.map goto mapextract
79
if not exist vacasl.map goto mapextract
80
if not exist vacasl.map goto mapextract
80
if not exist vacadm1.map goto mapextract
81
if not exist vacadm1.map goto mapextract
81
if not exist vacadm2.map goto mapextract
82
if not exist vacadm2.map goto mapextract
82
if not exist vacadm3.map goto mapextract
83
if not exist vacadm3.map goto mapextract
83
if not exist vacadm4.map goto mapextract
84
if not exist vacadm4.map goto mapextract
84
if not exist vacaflag_%addonver%.h266 goto updateextract
85
if not exist vacaflag_%addonver%.h266 goto updateextract
85
)
86
)
86
cd "%exedir%"
87
chdir /d "%exedir%"
87
echo.
88
echo.
88
echo.
89
echo.
89
echo.
90
echo.
90
echo.
91
echo.
91
echo.
92
echo.
92
echo.
93
echo.
93
echo.
94
echo.
94
echo.
95
echo.
95
echo.
96
echo.
96
 
97
 
97
:init
98
:init
98
pause
99
pause
99
echo.
100
echo.
100
goto check
101
goto check
101
 
102
 
102
:check
103
:check
103
 
104
 
104
echo.
105
echo.
105
echo Launching Duke Nukem 3D . . .
106
echo Launching Duke Nukem 3D . . .
106
echo Thanks for %action%^!
107
echo Thanks for %action%^!
107
echo.
108
echo.
108
 
109
 
109
if "%editor%"=="1" (
110
if "%editor%"=="1" (
110
type "%exedir%\names.h" > "%exedir%\VacaNames.h"
111
type "%exedir%\names.h" > "%exedir%\VacaNames.h"
111
echo. >> "%exedir%\VacaNames.h"
112
echo. >> "%exedir%\VacaNames.h"
112
type "%addondir%\VacaNames.def" >> "%exedir%\VacaNames.h"
113
type "%addondir%\VacaNames.def" >> "%exedir%\VacaNames.h"
113
)
114
)
114
 
115
 
115
:arguments
116
:arguments
116
set args=
117
set args=
117
if exist "%exedir%\HRP\" set args=%args% -jHRP
118
if exist "%exedir%\HRP\" set args=%args% -jHRP
118
if exist "%exedir%\polymer_hrp\" set args=%args% -jpolymer_hrp
119
if exist "%exedir%\polymer_hrp\" set args=%args% -jpolymer_hrp
119
if exist "%exedir%\duke3d_voxel.zip" set args=%args% -gduke3d_voxel.zip
120
if exist "%exedir%\duke3d_voxel.zip" set args=%args% -gduke3d_voxel.zip
120
if exist "%exedir%\duke3d_hrp.zip" set args=%args% -gduke3d_hrp.zip
121
if exist "%exedir%\duke3d_hrp.zip" set args=%args% -gduke3d_hrp.zip
121
if exist "%exedir%\hrp_update.zip" set args=%args% -ghrp_update.zip
122
if exist "%exedir%\hrp_update.zip" set args=%args% -ghrp_update.zip
122
if exist "%exedir%\maphacks.zip" set args=%args% -gmaphacks.zip
123
if exist "%exedir%\maphacks.zip" set args=%args% -gmaphacks.zip
123
if exist "%exedir%\eduke32_mus.zip" set args=%args% -geduke32_mus.zip
124
if exist "%exedir%\eduke32_mus.zip" set args=%args% -geduke32_mus.zip
124
if exist "%addondir%" if not "%addondir%"=="%exedir%" set args=%args% -j"%addondir:\=/%"
125
if exist "%addondir%" if not "%addondir%"=="%exedir%" set args=%args% -j"%addondir:\=/%"
125
if exist "%addonhrpdir%" if not "%addonhrpdir%"=="%exedir%" if not "%addonhrpdir%"=="%addondir%" set args=%args% -j"%addonhrpdir:\=/%"
126
if exist "%addonhrpdir%" if not "%addonhrpdir%"=="%exedir%" if not "%addonhrpdir%"=="%addondir%" set args=%args% -j"%addonhrpdir:\=/%"
126
set args=%args% -gvacation.grp -hvacation.def -xVacaEDuke.con
127
set args=%args% -gvacation.grp -hvacation.def -xVacaEDuke.con
127
if "%editor%"=="1" set args=%args% -namesfile VacaNames.h
128
if "%editor%"=="1" set args=%args% -namesfile VacaNames.h
128
if "%dp%"=="1" set args=%args% -hvaca_dp.def -xVacaDP.con
129
if "%dp%"=="1" set args=%args% -hvaca_dp.def -xVacaDP.con
129
if "%xxx%"=="1" if exist "%exedir%\xxx_lite.zip" set args=%args% -gxxx_lite.zip
130
if "%xxx%"=="1" if exist "%exedir%\xxx_lite.zip" set args=%args% -gxxx_lite.zip
130
if "%xxx%"=="1" if exist "%exedir%\xxx_lite\" set args=%args% -jxxx_lite
131
if "%xxx%"=="1" if exist "%exedir%\xxx_lite\" set args=%args% -jxxx_lite
131
if "%xxx%"=="1" if exist "%exedir%\xxx_pack.zip" set args=%args% -gxxx_pack.zip
132
if "%xxx%"=="1" if exist "%exedir%\xxx_pack.zip" set args=%args% -gxxx_pack.zip
132
if "%xxx%"=="1" if exist "%exedir%\xxx_pack\" set args=%args% -jxxx_pack
133
if "%xxx%"=="1" if exist "%exedir%\xxx_pack\" set args=%args% -jxxx_pack
133
if "%xxx%"=="1" set args=%args% -hvaca_xxx.def
134
if "%xxx%"=="1" set args=%args% -hvaca_xxx.def
134
if "%xxx%"=="1" if "%dp%"=="1" set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.con
135
if "%xxx%"=="1" if "%dp%"=="1" set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.con
135
set args=%args% %*
136
set args=%args% %*
136
if "%dp%"=="1" set args=%args% -jDukePlus
137
if "%dp%"=="1" set args=%args% -jDukePlus
137
 
138
 
138
set exe=%exename%
139
set exe=%exename%
139
if "%debug%"=="1" set exe=%exename%.debug
140
if "%debug%"=="1" set exe=%exename%.debug
140
 
141
 
141
if exist %exe%.bat (
142
if exist %exe%.bat (
142
call %exe%.bat %args%
143
call %exe%.bat %args%
143
if "%debug%"=="1" echo DEBUG: Final Command Line: call %exe%.bat %args%
144
if "%debug%"=="1" echo DEBUG: Final Command Line: call %exe%.bat %args%
144
) else (
145
) else (
145
start %exe%.exe %args%
146
start %exe%.exe %args%
146
if "%debug%"=="1" echo DEBUG: Final Command Line: start %exe%.exe %args%
147
if "%debug%"=="1" echo DEBUG: Final Command Line: start %exe%.exe %args%
147
)
148
)
148
 
149
 
149
set svnpath=0
150
set svnpath=0
150
if "%svnpath%"=="0" if exist "%ProgramFiles%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles%\SlikSvn\bin
151
if "%svnpath%"=="0" if exist "%ProgramFiles%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles%\SlikSvn\bin
151
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\SlikSvn\bin
152
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\SlikSvn\bin
152
if "%svnpath%"=="0" if exist "%ProgramFiles%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles%\Subversion\bin
153
if "%svnpath%"=="0" if exist "%ProgramFiles%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles%\Subversion\bin
153
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\Subversion\bin
154
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\Subversion\bin
154
if "%svnpath%"=="0" if exist "%ProgramFiles%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles%\TortoiseSVN\bin
155
if "%svnpath%"=="0" if exist "%ProgramFiles%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles%\TortoiseSVN\bin
155
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\TortoiseSVN\bin
156
if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\TortoiseSVN\bin
156
if "%svnpath%"=="0" for %%S in (svn.exe) do if exist "%%~dp$PATH:S" set svnpath=%%~dp$PATH:S
157
if "%svnpath%"=="0" for %%S in (svn.exe) do if exist "%%~dp$PATH:S" set svnpath=%%~dp$PATH:S
157
 
158
 
158
cd /d "%addondir%"
159
chdir /d "%addondir%"
159
if not "%svnpath%"=="0" if exist ".svn" svn update
160
if not "%svnpath%"=="0" if exist ".svn" svn update
160
cd /d "%addonhrpdir%"
161
chdir /d "%addonhrpdir%"
161
if not "%svnpath%"=="0" if exist ".svn" svn update
162
if not "%svnpath%"=="0" if exist ".svn" svn update
162
 
163
 
163
goto end
164
goto end
164
 
165
 
165
:novacagrp
166
:novacagrp
166
echo.
167
echo.
167
echo Error: You don't have VACATION.GRP in your directory.
168
echo Error: You don't have VACATION.GRP in your directory.
168
echo.
169
echo.
169
goto ssicheck
170
goto ssicheck
170
:retry
171
:retry
171
echo.
172
echo.
172
set cddrive=
173
set cddrive=
173
set /p cddrive=What is the drive letter that your Caribbean CD is in?
174
set /p cddrive=What is the drive letter that your Caribbean CD is in?
174
echo.
175
echo.
175
if not '%cddrive%'=='' set cddrive=%cddrive:~0,1%
176
if not '%cddrive%'=='' set cddrive=%cddrive:~0,1%
176
if '%cddrive%'=='' goto cdno
177
if '%cddrive%'=='' goto cdno
177
if not exist %cddrive%:\ goto cdno
178
if not exist %cddrive%:\ goto cdno
178
if not exist %cddrive%:\* goto cdno
179
if not exist %cddrive%:\* goto cdno
179
if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw
180
if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw
180
copy %cddrive%:\VACATION\*.SSI .\
181
copy %cddrive%:\VACATION\*.SSI .\
181
echo.
182
echo.
182
type DVINTRO.TXT
183
type DVINTRO.TXT
183
echo.
184
echo.
184
pause
185
pause
185
goto ssicheck
186
goto ssicheck
186
 
187
 
187
:cdno
188
:cdno
188
echo '%cddrive%' is not valid.  Please try again.
189
echo '%cddrive%' is not valid.  Please try again.
189
goto retry
190
goto retry
190
 
191
 
191
:cdw
192
:cdw
192
echo '%cddrive%' is not the correct disc.  Please try again.
193
echo '%cddrive%' is not the correct disc.  Please try again.
193
goto retry
194
goto retry
194
 
195
 
195
:ssicheck
196
:ssicheck
196
if exist VACA15.SSI goto ssi1
197
if exist VACA15.SSI goto ssi1
197
if exist VACAPP.SSI goto ssi2
198
if exist VACAPP.SSI goto ssi2
198
if exist VACA13.SSI goto ssi3
199
if exist VACA13.SSI goto ssi3
199
echo You don't have the SSI files in your directory.
200
echo You don't have the SSI files in your directory.
200
goto retry
201
goto retry
201
 
202
 
202
:ssi1
203
:ssi1
203
echo You do have the Caribbean SSI file in this directory, but it has not been
204
echo You do have the Caribbean SSI file in this directory, but it has not been
204
echo extracted.  It will now be unpacked.
205
echo extracted.  It will now be unpacked.
205
echo.
206
echo.
206
pause
207
pause
207
md vaca15ssi
208
mkdir vaca15ssi
208
cd vaca15ssi
209
chdir vaca15ssi
209
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
210
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
210
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACA15.SSI
211
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACA15.SSI
211
move /y VACATION.PRG ..\vacation.grp
212
if exist VACATION.PRG move /y VACATION.PRG ..\vacation.grp
212
cd ..
213
chdir ..
213
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
214
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
-
 
215
if exist vacation.grp (
214
rd /s /q vaca15ssi
216
rmdir /s /q vaca15ssi
215
goto novacagrp_done
217
goto novacagrp_done
-
 
218
)
-
 
219
if not exist vacation.grp (
-
 
220
echo Installation Error!
-
 
221
echo Contact Hendricks266 for help.
-
 
222
echo.
-
 
223
pause
-
 
224
goto end
-
 
225
)
216
 
226
 
217
:ssi2
227
:ssi2
218
echo You do have the Caribbean SSI file in this directory, but it has not been
228
echo You do have the Caribbean SSI file in this directory, but it has not been
219
echo extracted.  It will now be unpacked.
229
echo extracted.  It will now be unpacked.
220
echo.
230
echo.
221
pause
231
pause
222
md vacappssi
232
mkdir vacappssi
223
cd vacappssi
233
chdir vacappssi
224
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
234
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
225
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACAPP.SSI
235
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACAPP.SSI
226
move /y VACATION.PRG ..\vacation.grp
236
if exist VACATION.PRG move /y VACATION.PRG ..\vacation.grp
227
cd ..
237
chdir ..
228
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
238
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
-
 
239
if exist vacation.grp (
229
rd /s /q vacappssi
240
rmdir /s /q vacappssi
230
goto novacagrp_done
241
goto novacagrp_done
-
 
242
)
-
 
243
if not exist vacation.grp (
-
 
244
echo Installation Error!
-
 
245
echo Contact Hendricks266 for help.
-
 
246
echo.
-
 
247
pause
-
 
248
goto end
-
 
249
)
231
 
250
 
232
:ssi3
251
:ssi3
233
echo You do have the Caribbean SSI file in this directory, but it has not been
252
echo You do have the Caribbean SSI file in this directory, but it has not been
234
echo extracted.  It will now be unpacked.
253
echo extracted.  It will now be unpacked.
235
echo.
254
echo.
236
pause
255
pause
237
md vaca13ssi
256
mkdir vaca13ssi
238
cd vaca13ssi
257
chdir vaca13ssi
239
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
258
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
240
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACA13.SSI
259
"%addondir%\utils\windows\win32\unpackssi.exe" ..\VACA13.SSI
241
ren *.TRA *.ART
260
ren *.TRA *.ART
242
ren *.PCS *.SCP
261
ren *.PCS *.SCP
243
ren VACA1.MAP vaca1.map
262
ren VACA1.MAP vaca1.map
244
ren VACA2.MAP vaca2.map
263
ren VACA2.MAP vaca2.map
245
ren VACA3.MAP vaca3.map
264
ren VACA3.MAP vaca3.map
246
ren VACA4.MAP vaca4.map
265
ren VACA4.MAP vaca4.map
247
ren VACA5.MAP vaca5.map
266
ren VACA5.MAP vaca5.map
248
ren VACA6.MAP vaca6.map
267
ren VACA6.MAP vaca6.map
249
ren VACA7.MAP vaca7.map
268
ren VACA7.MAP vaca7.map
250
ren VACASL.MAP vacasl.map
269
ren VACASL.MAP vacasl.map
251
ren VACADM1.MAP vacadm1.map
270
ren VACADM1.MAP vacadm1.map
252
ren VACADM2.MAP vacadm2.map
271
ren VACADM2.MAP vacadm2.map
253
ren VACADM3.MAP vacadm3.map
272
ren VACADM3.MAP vacadm3.map
254
ren VACADM4.MAP vacadm4.map
273
ren VACADM4.MAP vacadm4.map
255
ren *.NOC *.CON
274
ren *.NOC *.CON
256
ren *.DIM *.MID
275
ren *.DIM *.MID
257
ren *.MNA *.ANM
276
ren *.MNA *.ANM
258
ren *.COV *.VOC
277
ren *.COV *.VOC
259
ren *.OMD *.DMO
278
ren *.OMD *.DMO
260
ren GAME.CON VACAGAME.CON
279
ren GAME.CON VACAGAME.CON
261
ren USER.CON VACAUSER.CON
280
ren USER.CON VACAUSER.CON
262
ren DEFS.CON VACADEFS.CON
281
ren DEFS.CON VACADEFS.CON
263
ren DUKETEAM.ANM RADLOGO.ANM
282
ren DUKETEAM.ANM RADLOGO.ANM
264
"%addondir%\utils\windows\win32\kgroup.exe" VACATION.GRP *.ART *.SCP *.map *.MID *.ANM *.VOC *.DMO CARIB.EXE
283
"%addondir%\utils\windows\win32\kgroup.exe" vacation.grp *.ART *.SCP *.map *.MID *.ANM *.VOC *.DMO CARIB.EXE
265
move /y VACATION.GRP ..\vacation.grp
284
if exist vacation.grp move /y vacation.grp ..\vacation.grp
266
move /y *.map ..\
285
move /y *.map ..\
267
cd ..
286
chdir ..
268
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
287
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
-
 
288
if exist vacation.grp (
269
rd /s /q vaca13ssi
289
rmdir /s /q vaca13ssi
270
goto novacagrp_done
290
goto novacagrp_done
-
 
291
)
-
 
292
if not exist vacation.grp (
-
 
293
echo Installation Error!
-
 
294
echo Contact Hendricks266 for help.
-
 
295
echo.
-
 
296
pause
-
 
297
goto end
-
 
298
)
271
 
299
 
272
:novacagrp_done
300
:novacagrp_done
273
call :grpchecksum
301
call :grpchecksum
274
call :grpchecksum_results
302
call :grpchecksum_results
275
goto novacagrp_return
303
goto novacagrp_return
276
 
304
 
277
:grpchecksum
305
:grpchecksum
278
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
306
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
279
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
307
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
280
goto :eof
308
goto :eof
281
)
309
)
282
echo ea0a9a77b9aee6edce76afa19eaea3a810fb2390 *vacation.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
310
echo ea0a9a77b9aee6edce76afa19eaea3a810fb2390 *vacation.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
283
if "%ERRORLEVEL%"=="0" set version=full && goto :eof
311
if "%ERRORLEVEL%"=="0" set version=full && goto :eof
284
if "%ERRORLEVEL%"=="1" set version=unknown
312
if "%ERRORLEVEL%"=="1" set version=unknown
285
goto :eof
313
goto :eof
286
 
314
 
287
:grpchecksum_results
315
:grpchecksum_results
288
if "%version%"=="full" echo VACATION.GRP checksum verified.
316
if "%version%"=="full" echo VACATION.GRP checksum verified.
289
if "%version%"=="unknown" echo VACATION.GRP checksum does not match. You may have a bad copy.
317
if "%version%"=="unknown" echo VACATION.GRP checksum does not match. You may have a bad copy.
290
echo.
318
echo.
291
goto :eof
319
goto :eof
292
 
320
 
293
 
321
 
294
:mapextract
322
:mapextract
295
echo Extracted maps not found or patched. Proceeding to installation.
323
echo Extracted maps not found or patched. Proceeding to installation.
296
goto extract
324
goto extract
297
 
325
 
298
:updateextract
326
:updateextract
299
echo Map patch update required. Proceeding to installation.
327
echo Map patch update required. Proceeding to installation.
300
goto extract
328
goto extract
301
 
329
 
302
:extract
330
:extract
303
echo.
331
echo.
304
echo                                ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
332
echo                                ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
305
echo                                º Installation º
333
echo                                º Installation º
306
echo                                ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
334
echo                                ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
307
echo.
335
echo.
308
call :grpchecksum
336
call :grpchecksum
309
call :grpchecksum_results
337
call :grpchecksum_results
310
if not exist vaca1.patch goto nopatch
338
if not exist vaca1.patch goto nopatch
311
if not exist vaca2.patch goto nopatch
339
if not exist vaca2.patch goto nopatch
312
if not exist vaca3.patch goto nopatch
340
if not exist vaca3.patch goto nopatch
313
if not exist vaca4.patch goto nopatch
341
if not exist vaca4.patch goto nopatch
314
if not exist vaca5.patch goto nopatch
342
if not exist vaca5.patch goto nopatch
315
if not exist vaca6.patch goto nopatch
343
if not exist vaca6.patch goto nopatch
316
if not exist vaca7.patch goto nopatch
344
if not exist vaca7.patch goto nopatch
317
if not exist vacasl.patch goto nopatch
345
if not exist vacasl.patch goto nopatch
318
if not exist vacadm1.patch goto nopatch
346
if not exist vacadm1.patch goto nopatch
319
if not exist vacadm2.patch goto nopatch
347
if not exist vacadm2.patch goto nopatch
320
if not exist vacadm3.patch goto nopatch
348
if not exist vacadm3.patch goto nopatch
321
if not exist vacadm4.patch goto nopatch
349
if not exist vacadm4.patch goto nopatch
322
md vaca_preserve
350
mkdir vaca_preserve
323
if exist vaca*.map move /y vaca*.map vaca_preserve\
351
if exist vaca*.map move /y vaca*.map vaca_preserve\
324
if exist "%exedir%\vaca*.map" move /y "%exedir%\vaca*.map" vaca_preserve\
352
if exist "%exedir%\vaca*.map" move /y "%exedir%\vaca*.map" vaca_preserve\
325
"%addondir%\utils\windows\win32\kextract.exe" VACATION.GRP VACA*.MAP
353
"%addondir%\utils\windows\win32\kextract.exe" vacation.grp VACA*.MAP
326
ren VACA1.MAP vaca1.map
354
ren VACA1.MAP vaca1.map
327
ren VACA2.MAP vaca2.map
355
ren VACA2.MAP vaca2.map
328
ren VACA3.MAP vaca3.map
356
ren VACA3.MAP vaca3.map
329
ren VACA4.MAP vaca4.map
357
ren VACA4.MAP vaca4.map
330
ren VACA5.MAP vaca5.map
358
ren VACA5.MAP vaca5.map
331
ren VACA6.MAP vaca6.map
359
ren VACA6.MAP vaca6.map
332
ren VACA7.MAP vaca7.map
360
ren VACA7.MAP vaca7.map
333
ren VACASL.MAP vacasl.map
361
ren VACASL.MAP vacasl.map
334
ren VACADM1.MAP vacadm1.map
362
ren VACADM1.MAP vacadm1.map
335
ren VACADM2.MAP vacadm2.map
363
ren VACADM2.MAP vacadm2.map
336
ren VACADM3.MAP vacadm3.map
364
ren VACADM3.MAP vacadm3.map
337
ren VACADM4.MAP vacadm4.map
365
ren VACADM4.MAP vacadm4.map
338
if exist vacapatch*.h266 del /f /q vacapatch*.h266
366
if exist vacapatch*.h266 del /f /q vacapatch*.h266
339
if exist vacaflag*.h266 del /f /q vacaflag*.h266
367
if exist vacaflag*.h266 del /f /q vacaflag*.h266
340
echo.
368
echo.
341
echo Map patching will now begin.
369
echo Map patching will now begin.
342
echo.
370
echo.
343
pause
371
pause
344
echo
372
echo
345
"%addondir%\utils\windows\win32\bspatch.exe" vaca1.map vaca1.map vaca1.patch
373
"%addondir%\utils\windows\win32\bspatch.exe" vaca1.map vaca1.map vaca1.patch
346
"%addondir%\utils\windows\win32\bspatch.exe" vaca2.map vaca2.map vaca2.patch
374
"%addondir%\utils\windows\win32\bspatch.exe" vaca2.map vaca2.map vaca2.patch
347
"%addondir%\utils\windows\win32\bspatch.exe" vaca3.map vaca3.map vaca3.patch
375
"%addondir%\utils\windows\win32\bspatch.exe" vaca3.map vaca3.map vaca3.patch
348
"%addondir%\utils\windows\win32\bspatch.exe" vaca4.map vaca4.map vaca4.patch
376
"%addondir%\utils\windows\win32\bspatch.exe" vaca4.map vaca4.map vaca4.patch
349
"%addondir%\utils\windows\win32\bspatch.exe" vaca5.map vaca5.map vaca5.patch
377
"%addondir%\utils\windows\win32\bspatch.exe" vaca5.map vaca5.map vaca5.patch
350
"%addondir%\utils\windows\win32\bspatch.exe" vaca6.map vaca6.map vaca6.patch
378
"%addondir%\utils\windows\win32\bspatch.exe" vaca6.map vaca6.map vaca6.patch
351
"%addondir%\utils\windows\win32\bspatch.exe" vaca7.map vaca7.map vaca7.patch
379
"%addondir%\utils\windows\win32\bspatch.exe" vaca7.map vaca7.map vaca7.patch
352
"%addondir%\utils\windows\win32\bspatch.exe" vacasl.map vacasl.map vacasl.patch
380
"%addondir%\utils\windows\win32\bspatch.exe" vacasl.map vacasl.map vacasl.patch
353
"%addondir%\utils\windows\win32\bspatch.exe" vacadm1.map vacadm1.map vacadm1.patch
381
"%addondir%\utils\windows\win32\bspatch.exe" vacadm1.map vacadm1.map vacadm1.patch
354
"%addondir%\utils\windows\win32\bspatch.exe" vacadm2.map vacadm2.map vacadm2.patch
382
"%addondir%\utils\windows\win32\bspatch.exe" vacadm2.map vacadm2.map vacadm2.patch
355
"%addondir%\utils\windows\win32\bspatch.exe" vacadm3.map vacadm3.map vacadm3.patch
383
"%addondir%\utils\windows\win32\bspatch.exe" vacadm3.map vacadm3.map vacadm3.patch
356
"%addondir%\utils\windows\win32\bspatch.exe" vacadm4.map vacadm4.map vacadm4.patch
384
"%addondir%\utils\windows\win32\bspatch.exe" vacadm4.map vacadm4.map vacadm4.patch
357
if exist vacapatch*.h266 del /f /q vacapatch*.h266
385
if exist vacapatch*.h266 del /f /q vacapatch*.h266
358
if exist vacaflag*.h266 del /f /q vacaflag*.h266
386
if exist vacaflag*.h266 del /f /q vacaflag*.h266
359
echo Do not delete this file^! You will be forced to reinstall Vaca+ and repatch the maps. >vacaflag_%addonver%.h266
387
echo Do not delete this file^! You will be forced to reinstall Vaca+ and repatch the maps. >vacaflag_%addonver%.h266
360
attrib +r vacaflag_%addonver%.h266
388
attrib +r vacaflag_%addonver%.h266
361
echo.
389
echo.
362
echo Patching complete^!
390
echo Patching complete^!
363
:scanning
391
:scanning
364
cd "%exedir%"
392
chdir "%exedir%"
365
echo.
393
echo.
366
echo Scanning directory for potential problems.
394
echo Scanning directory for potential problems.
367
if exist vaca1.mhk goto mhkfound
395
if exist vaca1.mhk goto mhkfound
368
if exist vaca2.mhk goto mhkfound
396
if exist vaca2.mhk goto mhkfound
369
if exist vaca3.mhk goto mhkfound
397
if exist vaca3.mhk goto mhkfound
370
if exist vaca4.mhk goto mhkfound
398
if exist vaca4.mhk goto mhkfound
371
if exist vaca5.mhk goto mhkfound
399
if exist vaca5.mhk goto mhkfound
372
if exist vaca6.mhk goto mhkfound
400
if exist vaca6.mhk goto mhkfound
373
if exist vaca7.mhk goto mhkfound
401
if exist vaca7.mhk goto mhkfound
374
if exist vacasl.mhk goto mhkfound
402
if exist vacasl.mhk goto mhkfound
375
if exist vacadm1.mhk goto mhkfound
403
if exist vacadm1.mhk goto mhkfound
376
if exist vacadm2.mhk goto mhkfound
404
if exist vacadm2.mhk goto mhkfound
377
if exist vacadm3.mhk goto mhkfound
405
if exist vacadm3.mhk goto mhkfound
378
if exist vacadm4.mhk goto mhkfound
406
if exist vacadm4.mhk goto mhkfound
379
if exist dcava0r.mhk goto mhkfound
407
if exist dcava0r.mhk goto mhkfound
380
if exist dcava1.mhk goto mhkfound
408
if exist dcava1.mhk goto mhkfound
381
if exist _vacazoo.mhk goto mhkfound
409
if exist _vacazoo.mhk goto mhkfound
382
:mhkfound_done
410
:mhkfound_done
383
if exist TILES000.ART goto artfound
411
if exist TILES000.ART goto artfound
384
if exist TILES003.ART goto artfound
412
if exist TILES003.ART goto artfound
385
if exist TILES005.ART goto artfound
413
if exist TILES005.ART goto artfound
386
if exist TILES006.ART goto artfound
414
if exist TILES006.ART goto artfound
387
if exist TILES007.ART goto artfound
415
if exist TILES007.ART goto artfound
388
if exist TILES008.ART goto artfound
416
if exist TILES008.ART goto artfound
389
if exist TILES009.ART goto artfound
417
if exist TILES009.ART goto artfound
390
if exist TILES010.ART goto artfound
418
if exist TILES010.ART goto artfound
391
if exist TILES012.ART goto artfound
419
if exist TILES012.ART goto artfound
392
if exist TILES014.ART goto artfound
420
if exist TILES014.ART goto artfound
393
:artfound_done
421
:artfound_done
394
call :checksum 3d5092d053b23a823c1fa0ad0b0bdbc33b2a09bb DEFS.CON "VACA15 file detected and neutralized:"
422
call :checksum 3d5092d053b23a823c1fa0ad0b0bdbc33b2a09bb DEFS.CON "VACA15 file detected and neutralized:"
395
call :checksum 807aaf21edd6e315bcb76dd54450f28616f84609 GAME.CON "VACA15 file detected and neutralized:"
423
call :checksum 807aaf21edd6e315bcb76dd54450f28616f84609 GAME.CON "VACA15 file detected and neutralized:"
396
call :checksum 6d29c3b19d26ff84edb104e68120edc5150066dd USER.CON "VACA15 file detected and neutralized:"
424
call :checksum 6d29c3b19d26ff84edb104e68120edc5150066dd USER.CON "VACA15 file detected and neutralized:"
397
call :checksum 856374f3b42a1f2e355730ffc70497a3e6a49585 BEACHBAB.CON "VACA15 file detected and neutralized:"
425
call :checksum 856374f3b42a1f2e355730ffc70497a3e6a49585 BEACHBAB.CON "VACA15 file detected and neutralized:"
398
call :checksum efb8168c6351d4b5e2c108ebc8189d4aba85ef35 BEACHBAL.CON "VACA15 file detected and neutralized:"
426
call :checksum efb8168c6351d4b5e2c108ebc8189d4aba85ef35 BEACHBAL.CON "VACA15 file detected and neutralized:"
399
call :checksum a947947409a76ea7e6c46076a8cfbaa76f8b0172 BEACHBTH.CON "VACA15 file detected and neutralized:"
427
call :checksum a947947409a76ea7e6c46076a8cfbaa76f8b0172 BEACHBTH.CON "VACA15 file detected and neutralized:"
400
call :checksum 3c11b9d40a204849c2d7d6c10984397f3b6a444c DRAGON.CON "VACA15 file detected and neutralized:"
428
call :checksum 3c11b9d40a204849c2d7d6c10984397f3b6a444c DRAGON.CON "VACA15 file detected and neutralized:"
401
call :checksum 1417476e2cd8a3aef85dd9c1f36308f2123d8b54 SEAGULL.CON "VACA15 file detected and neutralized:"
429
call :checksum 1417476e2cd8a3aef85dd9c1f36308f2123d8b54 SEAGULL.CON "VACA15 file detected and neutralized:"
402
call :checksum 0c1314dcd983b232f6afb941942e1ccbd7331ebb SOUNDS.CON "VACA15 file detected and neutralized:"
430
call :checksum 0c1314dcd983b232f6afb941942e1ccbd7331ebb SOUNDS.CON "VACA15 file detected and neutralized:"
403
call :checksum 032a25b2cd98e19a5ff9a859ac27c91a4abfcb46 USER.CON "VACAPP file detected and neutralized:"
431
call :checksum 032a25b2cd98e19a5ff9a859ac27c91a4abfcb46 USER.CON "VACAPP file detected and neutralized:"
404
call :checksum 34ed9d27095d547e20fb9db87957d17ca9cb2046 DEFS.CON "VACA13 file detected and neutralized:"
432
call :checksum 34ed9d27095d547e20fb9db87957d17ca9cb2046 DEFS.CON "VACA13 file detected and neutralized:"
405
call :checksum 3480ad8caca150b7c4678a42a606c0d9941db631 GAME.CON "VACA13 file detected and neutralized:"
433
call :checksum 3480ad8caca150b7c4678a42a606c0d9941db631 GAME.CON "VACA13 file detected and neutralized:"
406
call :checksum 74feb12ecfa57cb4c8e151593bff89e06b1ae11e USER.CON "VACA13 file detected and neutralized:"
434
call :checksum 74feb12ecfa57cb4c8e151593bff89e06b1ae11e USER.CON "VACA13 file detected and neutralized:"
407
call :checksum 840d701ca5e1e590ff03510eb5d63880f3e5be79 BEACHBAB.CON "VACA13 file detected and neutralized:"
435
call :checksum 840d701ca5e1e590ff03510eb5d63880f3e5be79 BEACHBAB.CON "VACA13 file detected and neutralized:"
408
call :checksum f4c7080384dde2f298e807b1bc9901e6e61ac617 BEACHBAL.CON "VACA13 file detected and neutralized:"
436
call :checksum f4c7080384dde2f298e807b1bc9901e6e61ac617 BEACHBAL.CON "VACA13 file detected and neutralized:"
409
call :checksum 9965ae6e6b4337d06e1df22b41592b4cdfb69b2f BEACHBTH.CON "VACA13 file detected and neutralized:"
437
call :checksum 9965ae6e6b4337d06e1df22b41592b4cdfb69b2f BEACHBTH.CON "VACA13 file detected and neutralized:"
410
call :checksum d56a1ff075671d0919540086a062b37290113621 DRAGON.CON "VACA13 file detected and neutralized:"
438
call :checksum d56a1ff075671d0919540086a062b37290113621 DRAGON.CON "VACA13 file detected and neutralized:"
411
call :checksum 06be81473bad004296324b2d63f4730ac2160aa6 SEAGULL.CON "VACA13 file detected and neutralized:"
439
call :checksum 06be81473bad004296324b2d63f4730ac2160aa6 SEAGULL.CON "VACA13 file detected and neutralized:"
412
call :checksum ef149cd90764bae685d9fab83eb2fe719486dce3 SOUNDS.CON "VACA13 file detected and neutralized:"
440
call :checksum ef149cd90764bae685d9fab83eb2fe719486dce3 SOUNDS.CON "VACA13 file detected and neutralized:"
413
if exist Vacation.con goto confound
441
if exist Vacation.con goto confound
414
if exist VacaEDuke.con goto confound
442
if exist VacaEDuke.con goto confound
415
if exist VacaDefs.con goto confound
443
if exist VacaDefs.con goto confound
416
if exist VacaUser.con goto confound
444
if exist VacaUser.con goto confound
417
if exist VacaDP.con goto confound
445
if exist VacaDP.con goto confound
418
if exist VacaDPCode.con goto confound
446
if exist VacaDPCode.con goto confound
419
if exist VacaDPXXX.con goto confound
447
if exist VacaDPXXX.con goto confound
420
if exist VSounds.con goto confound
448
if exist VSounds.con goto confound
421
if exist VBeachBabe.con goto confound
449
if exist VBeachBabe.con goto confound
422
if exist VBeachBall.con goto confound
450
if exist VBeachBall.con goto confound
423
if exist VBeachBather.con goto confound
451
if exist VBeachBather.con goto confound
424
if exist VDragon.con goto confound
452
if exist VDragon.con goto confound
425
if exist VSeagull.con goto confound
453
if exist VSeagull.con goto confound
426
:confound_done
454
:confound_done
427
cd /d "%exedir%"
455
chdir /d "%exedir%"
428
if not exist GAME.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP GAME.CON
456
if not exist GAME.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP GAME.CON
429
if not exist DEFS.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP DEFS.CON
457
if not exist DEFS.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP DEFS.CON
430
if not exist USER.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP USER.CON
458
if not exist USER.CON "%addondir%\utils\windows\win32\kextract.exe" DUKE3D.GRP USER.CON
431
cd /d "%addondir%"
459
chdir /d "%addondir%"
432
echo.
460
echo.
433
pause
461
pause
434
goto restart
462
goto restart
435
 
463
 
436
:checksum
464
:checksum
437
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
465
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
438
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
466
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
439
goto :eof
467
goto :eof
440
)
468
)
441
if not exist "%~2" goto :eof
469
if not exist "%~2" goto :eof
442
echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
470
echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
443
if "%ERRORLEVEL%"=="0" (
471
if "%ERRORLEVEL%"=="0" (
444
ren "%~2" "VacaOld_%addonver%_%~nx2"
472
ren "%~2" "VacaOld_%addonver%_%~nx2"
445
echo %~3 %~nx2
473
echo %~3 %~nx2
446
)
474
)
447
goto :eof
475
goto :eof
448
 
476
 
449
:nopatch
477
:nopatch
450
echo.
478
echo.
451
echo Error: You don't have all the *.patch files in your directory.
479
echo Error: You don't have all the *.patch files in your directory.
452
echo Aborting installation.
480
echo Aborting installation.
453
echo Map patching is required for Vaca+ to function correctly.
481
echo Map patching is required for Vaca+ to function correctly.
454
echo.
482
echo.
455
pause
483
pause
456
goto end
484
goto end
457
 
485
 
458
:mhkfound
486
:mhkfound
459
echo.
487
echo.
460
echo Problematic .mhk files have been found in your directory.
488
echo Problematic .mhk files have been found in your directory.
461
echo Unless you have knowingly made a modification to Vaca's map hacks,
489
echo Unless you have knowingly made a modification to Vaca's map hacks,
462
echo the presence of these files in your %exeproper% directory will
490
echo the presence of these files in your %exeproper% directory will
463
echo cause Vaca+ to function incorrectly.
491
echo cause Vaca+ to function incorrectly.
464
echo.
492
echo.
465
echo vaca1.mhk
493
echo vaca1.mhk
466
echo vaca2.mhk
494
echo vaca2.mhk
467
echo vaca3.mhk
495
echo vaca3.mhk
468
echo vaca4.mhk
496
echo vaca4.mhk
469
echo vaca5.mhk
497
echo vaca5.mhk
470
echo vaca6.mhk
498
echo vaca6.mhk
471
echo vaca7.mhk
499
echo vaca7.mhk
472
echo vacasl.mhk
500
echo vacasl.mhk
473
echo vacadm1.mhk
501
echo vacadm1.mhk
474
echo vacadm2.mhk
502
echo vacadm2.mhk
475
echo vacadm3.mhk
503
echo vacadm3.mhk
476
echo vacadm4.mhk
504
echo vacadm4.mhk
477
echo dcava0r.mhk
505
echo dcava0r.mhk
478
echo dcava1.mhk
506
echo dcava1.mhk
479
echo _vacazoo.mhk
507
echo _vacazoo.mhk
480
goto mhkfound_done
508
goto mhkfound_done
481
 
509
 
482
:artfound
510
:artfound
483
echo.
511
echo.
484
echo Problematic .art files have been found in your directory.
512
echo Problematic .art files have been found in your directory.
485
echo Unless you have knowingly made a modification to Vaca's art,
513
echo Unless you have knowingly made a modification to Vaca's art,
486
echo the presence of these files in your %exeproper% directory will
514
echo the presence of these files in your %exeproper% directory will
487
echo cause Vaca+ to function incorrectly.
515
echo cause Vaca+ to function incorrectly.
488
echo.
516
echo.
489
echo TILES000.ART
517
echo TILES000.ART
490
echo TILES003.ART
518
echo TILES003.ART
491
echo TILES005.ART
519
echo TILES005.ART
492
echo TILES006.ART
520
echo TILES006.ART
493
echo TILES007.ART
521
echo TILES007.ART
494
echo TILES008.ART
522
echo TILES008.ART
495
echo TILES009.ART
523
echo TILES009.ART
496
echo TILES010.ART
524
echo TILES010.ART
497
echo TILES012.ART
525
echo TILES012.ART
498
echo TILES014.ART
526
echo TILES014.ART
499
goto artfound_done
527
goto artfound_done
500
 
528
 
501
:confound
529
:confound
502
echo.
530
echo.
503
echo Problematic .con files have been found in your directory.
531
echo Problematic .con files have been found in your directory.
504
echo Unless you have knowingly made a modification to Vaca's programming,
532
echo Unless you have knowingly made a modification to Vaca's programming,
505
echo the presence of these files in your %exeproper% directory will
533
echo the presence of these files in your %exeproper% directory will
506
echo cause Vaca+ to function incorrectly.
534
echo cause Vaca+ to function incorrectly.
507
echo.
535
echo.
508
echo Vacation.con
536
echo Vacation.con
509
echo VacaEDuke.con
537
echo VacaEDuke.con
510
echo VacaDefs.con
538
echo VacaDefs.con
511
echo VacaUser.con
539
echo VacaUser.con
512
echo VacaDP.con
540
echo VacaDP.con
513
echo VacaDPCode.con
541
echo VacaDPCode.con
514
echo VacaDPXXX.con
542
echo VacaDPXXX.con
515
echo VSounds.con
543
echo VSounds.con
516
echo VBeachBabe.con
544
echo VBeachBabe.con
517
echo VBeachBall.con
545
echo VBeachBall.con
518
echo VBeachBather.con
546
echo VBeachBather.con
519
echo VDragon.con
547
echo VDragon.con
520
echo VSeagull.con
548
echo VSeagull.con
521
echo.
549
echo.
522
echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM
550
echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM
523
echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
551
echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
524
echo IMMEDIATELY^!
552
echo IMMEDIATELY^!
525
echo Vaca+ uses modified .con files to fix programming errors created by
553
echo Vaca+ uses modified .con files to fix programming errors created by
526
echo the original programmers. Due to improvements made to the levels,
554
echo the original programmers. Due to improvements made to the levels,
527
echo Vaca+ will have major errors if the included .con files are not used.
555
echo Vaca+ will have major errors if the included .con files are not used.
528
goto confound_done
556
goto confound_done
529
 
557
 
530
:execheck
558
:execheck
531
if exist %exename%.bat goto execheck_done
559
if exist %exename%.bat goto execheck_done
532
if exist ..\%exename%.exe (
560
if exist %exename%.exe goto recheck
533
cd ..
-
 
534
goto recheck
-
 
535
)
-
 
536
if exist ..\..\%exename%.exe (
-
 
537
cd ..\..
-
 
538
goto recheck
561
set prevdir=%cd%
539
)
-
 
540
if exist ..\..\..\%exename%.exe (
562
if not "%cd%"=="%cd:~0,3%" cd ..
541
cd ..\..\..
-
 
542
goto recheck
-
 
543
)
-
 
544
if exist ..\%exename%.bat (
-
 
545
cd ..
-
 
546
goto execheck_done
-
 
547
)
-
 
548
if exist ..\..\%exename%.bat (
-
 
549
cd ..\..
-
 
550
goto execheck_done
-
 
551
)
-
 
552
if exist ..\..\..\%exename%.bat (
563
if not "%cd%"=="%prevdir%" goto execheck
553
cd ..\..\..
-
 
554
goto execheck_done
-
 
555
)
-
 
556
echo Warning: You don't have %exeproper% in your directory.
564
echo Warning: You don't have %exeproper% in your directory.
-
 
565
chdir /d "%~dp0"
557
goto execheck_done
566
goto execheck_done
558
 
567
 
559
:nodir
568
:nodir
560
echo.
569
echo.
561
echo Error: "vaca_plus" data directory not found.
570
echo Error: "vaca_plus" data directory not found.
562
echo Aborting launch.
571
echo Aborting launch.
563
echo.
572
echo.
564
pause
573
pause
565
goto end
574
goto end
566
 
575
 
567
:end
576
:end
568
echo.
577
echo.
569
popd
578
popd
570
@title %ComSpec%
579
@title %ComSpec%
571
@color 07
580
@color 07
572
 
581