Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 67 → Rev 68

/nw_plus/NWinter.bat
187,6 → 187,9
goto :eof
 
:nonwgrp
set megaton=Steam\SteamApps\common\Duke Nukem 3D\gameroot\addons\nwinter.grp
if exist "%ProgramFiles%\%megaton%" copy "%ProgramFiles%\%megaton%" .\ && call :conprotect && goto nonwgrp_done
if exist "%ProgramFiles(x86)%\%megaton%" copy "%ProgramFiles(x86)%\%megaton%" .\ && call :conprotect && goto nonwgrp_done
echo.
echo Error: You don't have NWINTER.GRP in your directory.
 
351,15 → 354,20
if exist NWSnow.con goto confound
if exist NWUser.con goto confound
:confound_done
chdir /d "%exedir%"
if not exist GAME.CON "%kextract%" DUKE3D.GRP GAME.CON
if not exist DEFS.CON "%kextract%" DUKE3D.GRP DEFS.CON
if not exist USER.CON "%kextract%" DUKE3D.GRP USER.CON
call :conprotect
chdir /d "%addondir%"
echo.
pause
goto restart
 
:conprotect
pushd "%exedir%"
if not exist GAME.CON "%kextract%" DUKE3D.GRP GAME.CON
if not exist DEFS.CON "%kextract%" DUKE3D.GRP DEFS.CON
if not exist USER.CON "%kextract%" DUKE3D.GRP USER.CON
popd
goto :eof
 
:checksum
if not exist "%sha1sum%" (
echo "%sha1sum%" not found.