187,9 → 187,6 |
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. |
|
354,20 → 351,15 |
if exist NWSnow.con goto confound |
if exist NWUser.con goto confound |
:confound_done |
call :conprotect |
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 |
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. |