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