Subversion Repositories vaca_plus

Compare Revisions

Regard whitespace Rev 24 → Rev 25

/vaca_plus/Caribbean.bat
106,26 → 106,23
 
:arguments
set args=
if exist polymer_hrp\ set args=%args% -jpolymer_hrp
if exist duke3d_voxel.zip set args=%args% -gduke3d_voxel.zip
if exist duke3d_hrp.zip set args=%args% -gduke3d_hrp.zip
if exist hrp_update.zip set args=%args% -ghrp_update.zip
if exist maphacks.zip set args=%args% -gmaphacks.zip
if exist eduke32_mus.zip set args=%args% -geduke32_mus.zip
if exist "%exedir%\polymer_hrp\" set args=%args% -jpolymer_hrp
if exist "%exedir%\duke3d_voxel.zip" set args=%args% -gduke3d_voxel.zip
if exist "%exedir%\duke3d_hrp.zip" set args=%args% -gduke3d_hrp.zip
if exist "%exedir%\hrp_update.zip" set args=%args% -ghrp_update.zip
if exist "%exedir%\maphacks.zip" set args=%args% -gmaphacks.zip
if exist "%exedir%\eduke32_mus.zip" set args=%args% -geduke32_mus.zip
if exist "%addondir%" set args=%args% -j"%addondir:\=/%"
if exist "%addonhrpdir%" set args=%args% -j"%addonhrpdir:\=/%"
set args=%args% -gvacation.grp -hvacation.def -xVacaEDuke.con
if "%editor%"=="1" set args=%args% -namesfile VacaNames.h
if "%dp%"=="1" (
set args=%args% -hvaca_dp.def -xVacaDP.con
)
if "%xxx%"=="1" (
if exist xxx_lite.zip set args=%args% -gxxx_lite.zip
if exist xxx_pack.zip set args=%args% -gxxx_pack.zip
set args=%args% -hvaca_xxx.def
if "%dp%"=="1" (
set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.con
) )
if "%dp%"=="1" set args=%args% -hvaca_dp.def -xVacaDP.con
if "%xxx%"=="1" if exist "%exedir%\xxx_lite.zip" set args=%args% -gxxx_lite.zip
if "%xxx%"=="1" if exist "%exedir%\xxx_lite\" set args=%args% -jxxx_lite
if "%xxx%"=="1" if exist "%exedir%\xxx_pack.zip" set args=%args% -gxxx_pack.zip
if "%xxx%"=="1" if exist "%exedir%\xxx_pack\" set args=%args% -jxxx_pack
if "%xxx%"=="1" set args=%args% -hvaca_xxx.def
if "%xxx%"=="1" if "%dp%"=="1" set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.con
set args=%args% %*
if "%dp%"=="1" set args=%args% -jDukePlus
 
144,10 → 141,7
echo.
echo Error: You don't have VACATION.GRP in your directory.
echo.
if exist VACA15.SSI goto ssi1
if exist VACAPP.SSI goto ssi2
if exist VACA13.SSI goto ssi3
echo You don't have the SSI files in your directory either.
goto ssicheck
:retry
echo.
set cddrive=
161,7 → 155,9
copy %cddrive%:\VACATION\*.SSI .\
echo.
type DVINTRO.TXT
goto novacagrp_done
echo.
pause
goto ssicheck
 
:cdno
echo '%cddrive%' is not valid. Please try again.
171,6 → 167,13
echo '%cddrive%' is not the correct disc. Please try again.
goto retry
 
:ssicheck
if exist VACA15.SSI goto ssi1
if exist VACAPP.SSI goto ssi2
if exist VACA13.SSI goto ssi3
echo You don't have the SSI files in your directory.
goto retry
 
:ssi1
echo You do have the Caribbean SSI file in this directory, but it has not been
echo extracted. It will now be unpacked.