Subversion Repositories nw_plus

Rev

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

Rev 24 Rev 25
Line 104... Line 104...
104
type "%addondir%\NWNames.def" >> "%exedir%\NWNames.h"
104
type "%addondir%\NWNames.def" >> "%exedir%\NWNames.h"
105
)
105
)
106
106
107
:arguments
107
:arguments
108
set args=
108
set args=
109
if exist polymer_hrp\ set args=%args% -jpolymer_hrp
109
if exist "%exedir%\polymer_hrp\" set args=%args% -jpolymer_hrp
110
if exist duke3d_voxel.zip set args=%args% -gduke3d_voxel.zip
110
if exist "%exedir%\duke3d_voxel.zip" set args=%args% -gduke3d_voxel.zip
111
if exist duke3d_hrp.zip set args=%args% -gduke3d_hrp.zip
111
if exist "%exedir%\duke3d_hrp.zip" set args=%args% -gduke3d_hrp.zip
112
if exist hrp_update.zip set args=%args% -ghrp_update.zip
112
if exist "%exedir%\hrp_update.zip" set args=%args% -ghrp_update.zip
113
if exist maphacks.zip set args=%args% -gmaphacks.zip
113
if exist "%exedir%\maphacks.zip" set args=%args% -gmaphacks.zip
114
if exist eduke32_mus.zip set args=%args% -geduke32_mus.zip
114
if exist "%exedir%\eduke32_mus.zip" set args=%args% -geduke32_mus.zip
115
if exist "%addondir%" set args=%args% -j"%addondir:\=/%"
115
if exist "%addondir%" set args=%args% -j"%addondir:\=/%"
116
if exist "%addonhrpdir%" set args=%args% -j"%addonhrpdir:\=/%"
116
if exist "%addonhrpdir%" set args=%args% -j"%addonhrpdir:\=/%"
117
set args=%args% -gnwinter.grp -hnwinter.def -xNWEDuke.con
117
set args=%args% -gnwinter.grp -hnwinter.def -xNWEDuke.con
118
if "%editor%"=="1" set args=%args% -namesfile NWNames.h
118
if "%editor%"=="1" set args=%args% -namesfile NWNames.h
119
if "%dp%"=="1" (
-
 
120
set args=%args% -hnw_dp.def -xNWDP.con
119
if "%dp%"=="1" set args=%args% -hnw_dp.def -xNWDP.con
121
)
-
 
122
if "%xxx%"=="1" (
120
if "%xxx%"=="1" if exist "%exedir%\xxx_lite.zip" set args=%args% -gxxx_lite.zip
123
if exist xxx_lite.zip set args=%args% -gxxx_lite.zip
121
if "%xxx%"=="1" if exist "%exedir%\xxx_lite\" set args=%args% -jxxx_lite
124
if exist xxx_pack.zip set args=%args% -gxxx_pack.zip
122
if "%xxx%"=="1" if exist "%exedir%\xxx_pack.zip" set args=%args% -gxxx_pack.zip
-
 
123
if "%xxx%"=="1" if exist "%exedir%\xxx_pack\" set args=%args% -jxxx_pack
125
set args=%args% -hnw_xxx.def
124
if "%xxx%"=="1" set args=%args% -hnw_xxx.def
126
if "%dp%"=="1" (
-
 
127
set args=%args% -hnw_dp_xxx.def -xNWDPXXX.con
125
if "%xxx%"=="1" if "%dp%"=="1" set args=%args% -hnw_dp_xxx.def -xNWDPXXX.con
128
) )
-
 
129
set args=%args% %*
126
set args=%args% %*
130
if "%dp%"=="1" set args=%args% -jDukePlus
127
if "%dp%"=="1" set args=%args% -jDukePlus
131
128
132
set exe=%exename%
129
set exe=%exename%
133
if "%debug%"=="1" set exe=%exename%.debug
130
if "%debug%"=="1" set exe=%exename%.debug
Line 141... Line 138...
141
goto end
138
goto end
142
139
143
:nonwgrp
140
:nonwgrp
144
echo.
141
echo.
145
echo Error: You don't have NWINTER.GRP in your directory.
142
echo Error: You don't have NWINTER.GRP in your directory.
-
 
143
-
 
144
146
:retry
145
:retry
147
echo.
146
echo.
148
set cddrive=
147
set cddrive=
149
set /p cddrive=What is the drive letter that your Nuclear Winter CD is in?
148
set /p cddrive=What is the drive letter that your Nuclear Winter CD is in?
150
echo.
149
echo.
Line 152... Line 151...
152
if '%cddrive%'=='' goto cdno
151
if '%cddrive%'=='' goto cdno
153
if not exist %cddrive%:\ goto cdno
152
if not exist %cddrive%:\ goto cdno
154
if not exist %cddrive%:\* goto cdno
153
if not exist %cddrive%:\* goto cdno
155
if not exist %cddrive%:\GAMEDATA\NWINTER.GRP goto cdw
154
if not exist %cddrive%:\GAMEDATA\NWINTER.GRP goto cdw
156
copy %cddrive%:GAMEDATA\NWINTER.GRP .\
155
copy %cddrive%:GAMEDATA\NWINTER.GRP .\
157
pause
-
 
158
echo.
156
echo.
159
type NWINTRO.TXT
157
type NWINTRO.TXT
160
echo.
158
echo.
161
pause
159
pause
162
goto nonwgrp_done
160
goto nonwgrp_done