Subversion Repositories nw_plus

Rev

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

Rev 13 Rev 16
Line 30... Line 30...
30
if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%"
30
if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%"
31
31
32
if not exist nw_plus\ goto nodir
32
if not exist nw_plus\ goto nodir
33
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
33
if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory.
34
34
35
if exist nwinter_hrp set nwhrpdir=%cd%
35
if exist nwinter\ set nwhrpdir=%cd%
36
:nwdircheck
36
:nwdircheck
37
cd nw_plus
37
cd nw_plus
38
set nwdir=%cd%
38
set nwdir=%cd%
39
if exist nwinter_hrp set nwhrpdir=%cd%
39
if exist nwinter\ set nwhrpdir=%cd%
40
if exist nw_plus goto nwdircheck
40
if exist nw_plus\ goto nwdircheck
41
if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%".
41
if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%".
42
if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%".
42
if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%".
43
43
44
if not exist "%nwdir%\NWINTER.GRP" (
44
if not exist "%nwdir%\NWINTER.GRP" (
45
if exist "%eduke32dir%\NWINTER.GRP" (
45
if exist "%eduke32dir%\NWINTER.GRP" (
Line 84... Line 84...
84
echo Please do not close this window.
84
echo Please do not close this window.
85
echo It will close automatically.
85
echo It will close automatically.
86

86

87
::if exist *.art ren *.art *.abk
87
::if exist *.art ren *.art *.abk
88
88
-
 
89
set args=-xNWEDuke.con -hnwinter.def
-
 
90
if exist "%nwdir%" set args=%args% -j"%nwdir:\=/%"
-
 
91
if exist "%nwhrpdir%" set args=%args% -j"%nwhrpdir:\=/%"
89
set args=-xNWEDuke.con -hnwinter.def -j"%nwdir%" -j"%nwhrpdir%" -gnwinter.grp %hrp% %hrpu% %*
92
set args=%args% -gnwinter.grp %hrp% %hrpu% %*
-
 
93
90
set exe=eduke32
94
set exe=eduke32
91
if "%debug%"=="1" set exe=eduke32.debug
95
if "%debug%"=="1" set exe=eduke32.debug
92
96
93
if exist %exe%.bat (
97
if exist %exe%.bat (
94
call %exe%.bat %args%
98
call %exe%.bat %args%
Line 328... Line 332...
328
:end
332
:end
329
echo.
333
echo.
330
@color 07
334
@color 07
331
@title %ComSpec%
335
@title %ComSpec%
332
cd %dir%
336
cd %dir%
333
@echo on
-