Subversion Repositories vaca_plus

Rev

Rev 30 | Rev 37 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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