Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 12 → Rev 13

/nw_plus/_nwzoo.map
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/nw_plus/NW_XXX.bat
1,3 → 1,4
@echo off
echo Using XXX mode.
NWinter.bat /hnw_xxx.def %*
echo.
NWinter.bat -hnw_xxx.def %*
/nw_plus/NW_DP.bat
1,3 → 1,4
@echo off
echo Using Duke Plus by DeeperThought.
echo.
NWinter.bat -xNWDP.con -hnw_dp.def %* -jDukePlus
/nw_plus/NW_DP_XXX.bat
1,3 → 1,4
@echo off
echo Using Duke Plus by DeeperThought.
echo.
NW_XXX.bat -xNWDPXXX.con -hnw_dp_xxx.def %* -jDukePlus
/nw_plus/NWinter.bat
5,12 → 5,14
title Duke: Nuclear Winter Plus Batch Launcher
 
set dir=%cd%
set eduke32dir=%~dp0
set nwdir=%~dp0
set nwhrpdir=%~dp0
set nwver=30
set hrp=
set hrpu=
 
:title
echo.
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Duke: Nuclear Winter Plus Batch Launcher º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍͼ
20,20 → 22,34
echo You are playing Simply Silly Software's Duke: Nuclear Winter with the various
echo enhancements of Duke: Nuclear Winter Plus, maintained by Hendricks266.
echo.
 
:recheck
if not exist eduke32.exe goto eduke32check
:eduke32check_done
if "%debug%"=="1" echo DEBUG: Directory: "%cd%"
if exist NWDuke.rt_ del /f /q NWDuke.rt_
if exist NWSanta.grp del /f /q NWSanta.grp
set eduke32dir=%cd%
if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%"
 
if not exist nw_plus\ goto nodir
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
if not exist nw_plus\NWINTER.GRP (
if exist NWINTER.GRP move /y NWINTER.GRP nw_plus\
 
if exist nwinter_hrp set nwhrpdir=%cd%
:nwdircheck
cd nw_plus
set nwdir=%cd%
if exist nwinter_hrp set nwhrpdir=%cd%
if exist nw_plus goto nwdircheck
if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%".
if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%".
 
if not exist "%nwdir%\NWINTER.GRP" (
if exist "%eduke32dir%\NWINTER.GRP" (
move /y "%eduke32dir%\NWINTER.GRP" "%nwdir%\"
ren "%nwdir%\NWINTER.GRP" nwinter.grp
) else (
goto nonwgrp
)
cd nw_plus
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
if not exist NWINTER.GRP goto nonwgrp
)
 
:nonwgrp_done
if not exist nwflag%nwver%.h266 goto extract
if not exist nwl1.map goto extract
44,8 → 60,7
if not exist nwl6.map goto extract
if not exist nwl7.map goto extract
if not exist nwl8.map goto extract
cd ..
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
cd "%eduke32dir%"
echo.
echo To switch your character, open the console (~) and type one of the following:
echo Duke: "setvar skin 0".
59,20 → 74,28
 
:check
 
if exist duke3d_hrp.zip set hrp=/gduke3d_hrp.zip
if exist hrp_update.zip set hrpu=/ghrp_update.zip
if exist duke3d_hrp.zip set hrp=-gduke3d_hrp.zip
if exist hrp_update.zip set hrpu=-ghrp_update.zip
 
echo.
echo Launching Duke Nukem 3D . . .
echo Thanks for playing!
echo.
echo Please leave this window open for the entire duration of your game.
echo Please do not close this window.
echo It will close automatically.
 
::if exist *.art ren *.art *.abk
 
eduke32 /xNWEDuke.con /hnwinter.def /jnw_plus /gNWINTER.GRP %hrp% %hrpu% %*
set args=-xNWEDuke.con -hnwinter.def -j"%nwdir%" -j"%nwhrpdir%" -gnwinter.grp %hrp% %hrpu% %*
set exe=eduke32
if "%debug%"=="1" set exe=eduke32.debug
 
if exist %exe%.bat (
call %exe%.bat %args%
) else (
start %exe%.exe %args%
)
 
::if exist *.abk ren *.abk *.art
 
goto end
124,7 → 147,7
if not exist nwl8.ips goto noips
md nw_preserve
if exist nwl*.map move /y nwl*.map nw_preserve\
if exist ..\nwl*.map move /y ..\nwl*.map nw_preserve\
if exist "%eduke32dir%\nwl*.map" move /y "%eduke32dir%\nwl*.map" nw_preserve\
utils\windows\win32\kextract.exe NWINTER.GRP E2L*.MAP
ren E2L1.MAP nwl1.map
ren E2L2.MAP nwl2.map
151,13 → 174,12
utils\windows\win32\uips.exe a nwl8.ips nwl8.map
if exist nwpatch*.h266 del /f /q nwpatch*.h266
if exist nwflag*.h266 del /f /q nwflag*.h266
echo Do not delete this file! You will be force to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266
echo Do not delete this file! You will be forced to reinstall NW+ and repatch the maps. >nwflag%nwver%.h266
attrib +r nwflag%nwver%.h266
echo.
echo Patching complete!
:scanning
cd ..
if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%".
cd "%eduke32dir%"
echo.
echo Scanning directory for potential problems.
if exist nwl1.mhk goto mhkfound
304,8 → 326,6
goto end
 
:end
set hrp=
set hrpu=
echo.
@color 07
@title %ComSpec%
/nw_plus/nw_mapster32_debug.bat
0,0 → 1,5
@echo off
echo Using debug mode.
echo.
set debug=1
NW_Mapster32.bat %*
/nw_plus/NW_Mapster32.bat
1,8 → 1,39
@echo off
 
set mapster32dir=%~dp0
set nwdir=%~dp0
set nwhrpdir=%~dp0
 
:recheck
if not exist mapster32.exe goto mapster32check
:mapster32check_done
start mapster32 /jnw_plus -hnwinter.def -gNWINTER.GRP %*
set mapster32dir=%cd%
if "%debug%"=="1" echo DEBUG: Mapster32 Directory: "%mapster32dir%"
 
if exist nwinter_hrp set nwhrpdir=%cd%
:nwdircheck
cd nw_plus
set nwdir=%cd%
if exist nwinter_hrp set nwhrpdir=%cd%
if exist nw_plus goto nwdircheck
if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%".
if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%".
 
cd "%mapster32dir%"
 
if exist duke3d_hrp.zip set hrp=-gduke3d_hrp.zip
if exist hrp_update.zip set hrpu=-ghrp_update.zip
 
set args=-j"%nwdir%" -j"%nwhrpdir%" -hnwinter.def -gnwinter.grp %hrp% %hrpu% %*
set exe=mapster32
if "%debug%"=="1" set exe=mapster32.debug
 
if exist %exe%.bat (
call %exe%.bat %args%
) else (
%exe%.exe %args%
)
 
goto end
 
:mapster32check
/nw_plus/nw_debug.bat
1,4 → 1,5
@echo off
echo Using batch script debugging.
echo Using debug mode.
echo.
set debug=1
NWinter.bat
NWinter.bat %*
/nw_plus/NW_Mapster32_DP.bat
1,3 → 1,4
@echo off
echo Using Duke Plus by DeeperThought.
echo.
NW_Mapster32.bat -hnw_dp.def %* -jDukePlus