Subversion Repositories vaca_plus

Rev

Rev 59 | Rev 67 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59 Rev 60
Line 1... Line 1...
1
 
1
@echo off
2
@color 0C
2
color 0C
-
 
3
setlocal ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION
3
pushd "%~dp0"
4
pushd "%~dp0"
4
set startdir=%cd%
5
set startdir=%cd%
5
 
6
 
6
:restart
7
:restart
7
title Duke Caribbean: Life's A Beach Plus Launcher
8
title Duke Caribbean: Life's A Beach Plus Launcher
Line 107... Line 108...
107
 
108
 
108
:check
109
:check
109
 
110
 
110
echo.
111
echo.
111
echo Launching Duke Nukem 3D . . .
112
echo Launching Duke Nukem 3D . . .
112
echo Thanks for %action%!!
113
echo Thanks for %action%!
113
echo.
114
echo.
114
 
115
 
115
if "%editor%"=="1" (
116
if "%editor%"=="1" (
116
type "%exedir%\names.h" > "%exedir%\VacaNames.h"
117
type "%exedir%\names.h" > "%exedir%\VacaNames.h"
117
echo. >> "%exedir%\VacaNames.h"
118
echo. >> "%exedir%\VacaNames.h"
Line 407... Line 408...
407
"%addondir%\utils\windows\win32\bspatch.exe" vacadm2.map vacadm2.map vacadm2.patch
408
"%addondir%\utils\windows\win32\bspatch.exe" vacadm2.map vacadm2.map vacadm2.patch
408
"%addondir%\utils\windows\win32\bspatch.exe" vacadm3.map vacadm3.map vacadm3.patch
409
"%addondir%\utils\windows\win32\bspatch.exe" vacadm3.map vacadm3.map vacadm3.patch
409
"%addondir%\utils\windows\win32\bspatch.exe" vacadm4.map vacadm4.map vacadm4.patch
410
"%addondir%\utils\windows\win32\bspatch.exe" vacadm4.map vacadm4.map vacadm4.patch
410
if exist vacapatch*.h266 del /f /q vacapatch*.h266
411
if exist vacapatch*.h266 del /f /q vacapatch*.h266
411
if exist vacaflag*.h266 del /f /q vacaflag*.h266
412
if exist vacaflag*.h266 del /f /q vacaflag*.h266
412
echo Do not delete this file!! You will be forced to reinstall Vaca+ and repatch the maps. >vacaflag_%addonver%.h266
413
echo Do not delete this file! You will be forced to reinstall Vaca+ and repatch the maps. >vacaflag_%addonver%.h266
413
attrib +r vacaflag_%addonver%.h266
414
attrib +r vacaflag_%addonver%.h266
414
echo.
415
echo.
415
echo Patching complete!!
416
echo Patching complete!
416
:scanning
417
:scanning
417
chdir "%exedir%"
418
chdir "%exedir%"
418
echo.
419
echo.
419
echo Scanning directory for potential problems.
420
echo Scanning directory for potential problems.
420
if exist vaca1.mhk goto mhkfound
421
if exist vaca1.mhk goto mhkfound
Line 572... Line 573...
572
echo VDragon.con
573
echo VDragon.con
573
echo VSeagull.con
574
echo VSeagull.con
574
echo.
575
echo.
575
echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM
576
echo IF THESE ARE THE ORIGINAL CARIBBEAN CON FILES, OR THEY COME FROM
576
echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
577
echo AN OUTDATED VERSION OF VACA+, REMOVE THEM FROM YOUR %exeproper% DIRECTORY
577
echo IMMEDIATELY!!
578
echo IMMEDIATELY!
578
echo Vaca+ uses modified .con files to fix programming errors created by
579
echo Vaca+ uses modified .con files to fix programming errors created by
579
echo the original programmers. Due to improvements made to the levels,
580
echo the original programmers. Due to improvements made to the levels,
580
echo Vaca+ will have major errors if the included .con files are not used.
581
echo Vaca+ will have major errors if the included .con files are not used.
581
goto confound_done
582
goto confound_done
582
 
583
 
Line 601... Line 602...
601
:end
602
:end
602
if "%debug%"=="1" echo.
603
if "%debug%"=="1" echo.
603
if "%debug%"=="1" pause
604
if "%debug%"=="1" pause
604
echo.
605
echo.
605
popd
606
popd
-
 
607
endlocal
606
@title %ComSpec%
608
title %ComSpec%
607
@color 07
609
color 07