@color 0C
:restart
title Duke Caribbean: Life's A Beach Plus Batch Launcher
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Duke Caribbean: Life's A Beach Plus Batch Launcher º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo You are playing Sunstorm Interactive's Duke Caribbean: Life's A Beach with the
echo various enhancements of Duke Caribbean: Life's A Beach Plus, maintained by
:recheck
:eduke32check_done
if not exist duke3d.grp
echo Warning: You don't have Duke3D.grp
in your directory.
if exist VACATION.PRG
ren VACATION.PRG VACATION.GRP
if exist VACATION.PRG
ren VACATION.PRG VACATION.GRP
:novacagrp_done
:init
:check
echo Launching Duke Nukem 3D . . .
echo Please leave this window open
for the entire duration of your game.
echo It will close automatically.
::if exist *.art ren *.art *.abk
eduke32 /xVacaEDuke.
con /hvacation.def /jvaca_plus /gVACATION.GRP
%hrp% %hrpu% %*
::if exist *.abk ren *.abk *.art
:noduke
:novacagrp
echo Error: You don't have VACATION.GRP
in your directory.
echo You don't have the SSI files
in your directory.
:retry
set /p cddrive=What is the drive letter that your Caribbean
CD is
in?
if not '
%cddrive%'==''
set cddrive=
%cddrive:~0,1%
copy %cddrive%:\VACATION\*.SSI .\
type DVINTRO.TXT
:cdno
echo '
%cddrive%' is
not valid. Please try again.
:cdw
echo '
%cddrive%' is
not the correct disc. Please try again.
:ssi1
echo You
do have the Caribbean SSI file
in this directory, but it has
not been
echo extracted. It will now be unpacked.
..\utils\windows\win32\unpackssi.exe ..\VACA15.SSI
move /y VACATION.PRG ..\VACATION.GRP
:ssi2
echo You
do have the Caribbean SSI file
in this directory, but it has
not been
echo extracted. It will now be unpacked.
..\utils\windows\win32\unpackssi.exe ..\VACAPP.SSI
move /y VACATION.PRG ..\VACATION.GRP
:ssi3
echo You
do have the Caribbean SSI file
in this directory, but it has
not been
echo extracted. It will now be unpacked.
..\utils\windows\win32\unpackssi.exe ..\VACA13.SSI
ren VACASL.MAP vacasl.map
ren VACADM1.MAP vacadm1.map
ren VACADM2.MAP vacadm2.map
ren VACADM3.MAP vacadm3.map
ren VACADM4.MAP vacadm4.map
ren DUKETEAM.ANM RADLOGO.ANM
..\utils\windows\win32\kgroup.exe VACATION.GRP *.ART *.SCP *.map *.
CON *.MID *.ANM *.VOC *.DMO CARIB.EXE
move /y VACATION.GRP ..\VACATION.GRP
:extract
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Duke Caribbean: Life's A Beach Plus Installation º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
utils\windows\win32\kextract.exe VACATION.GRP VACA*.MAP
ren VACASL.MAP vacasl.map
ren VACADM1.MAP vacadm1.map
ren VACADM2.MAP vacadm2.map
ren VACADM3.MAP vacadm3.map
ren VACADM4.MAP vacadm4.map
if exist vacapatch*.h266
del /f /q vacapatch*.h266
echo Map patching will now begin.
utils\windows\win32\uips.exe a vaca1.ips vaca1.map
utils\windows\win32\uips.exe a vaca2.ips vaca2.map
utils\windows\win32\uips.exe a vaca3.ips vaca3.map
utils\windows\win32\uips.exe a vaca4.ips vaca4.map
utils\windows\win32\uips.exe a vaca5.ips vaca5.map
utils\windows\win32\uips.exe a vaca6.ips vaca6.map
utils\windows\win32\uips.exe a vaca7.ips vaca7.map
utils\windows\win32\uips.exe a vacasl.ips vacasl.map
utils\windows\win32\uips.exe a vacadm1.ips vacadm1.map
utils\windows\win32\uips.exe a vacadm2.ips vacadm2.map
utils\windows\win32\uips.exe a vacadm3.ips vacadm3.map
utils\windows\win32\uips.exe a vacadm4.ips vacadm4.map
if exist vacapatch*.h266
del /f /q vacapatch*.h266
echo Do not delete this file
! You will be force to reinstall Vaca+ and repatch the maps.
>vacaflag
%vacaver%.h266
attrib +r vacaflag%vacaver%.h266
:scanning
echo Scanning directory
for potential problems.
:mhkfound_done
:artfound_done
:confound_done
:noips
echo Error: You don't have all the *.ips files
in your directory.
echo Aborting installation.
echo Map patching is required
for Vaca+ to function correctly.
:mhkfound
echo Problematic .mhk files have been found
in your directory.
echo Unless you have knowingly made a modification to Vaca's map hacks,
echo the presence of these files
in your EDuke32 directory will
echo cause Vaca+ to function incorrectly.
:artfound
echo Problematic .art files have been found
in your directory.
echo Unless you have knowingly made a modification to Vaca's art,
echo the presence of these files
in your EDuke32 directory will
echo cause Vaca+ to function incorrectly.
:confound
echo Problematic .
con files have been found
in your directory.
echo Unless you have knowingly made a modification to Vaca's programming,
echo the presence of these files
in your EDuke32 directory will
echo cause Vaca+ to function incorrectly.
echo IF THESE ARE THE ORIGINAL CARIBBEAN
CON FILES, OR THEY COME FROM
echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR EDUKE32 DIRECTORY
echo Vaca+ uses modified .
con files to fix programming errors created by
echo the original programmers. Due to improvements made to the levels,
echo Vaca+ will have major errors
if the included .
con files are
not used.
:eduke32check
)
)
)
)
)
)
echo Warning: You don't have EDuke32
in your directory.
:nodir
echo Error: "vaca_plus" data directory
not found.
:end
@color 07