Subversion Repositories nw_plus

Rev

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

Rev 49 Rev 50
Line 177... Line 177...
177
echo.
177
echo.
178
if not '%cddrive%'=='' set cddrive=%cddrive:~0,1%
178
if not '%cddrive%'=='' set cddrive=%cddrive:~0,1%
179
if '%cddrive%'=='' goto cdno
179
if '%cddrive%'=='' goto cdno
180
if not exist %cddrive%:\ goto cdno
180
if not exist %cddrive%:\ goto cdno
181
if not exist %cddrive%:\* goto cdno
181
if not exist %cddrive%:\* goto cdno
182
if not exist %cddrive%:\GAMEDATA\NWINTER.GRP goto cdw
182
if exist %cddrive%:\GAMEDATA\NWINTER.GRP copy %cddrive%:\GAMEDATA\NWINTER.GRP .\nwinter.grp && goto nonwgrp_done
-
 
183
if exist %cddrive%:\NWINTER\GAMEDATA\NWINTER.GRP copy %cddrive%:\NWINTER\GAMEDATA\NWINTER.GRP .\nwinter.grp && goto nonwgrp_done
183
copy %cddrive%:GAMEDATA\NWINTER.GRP .\nwinter.grp
184
if exist %cddrive%:\NW\GAMEDATA\NWINTER.GRP copy %cddrive%:\NW\GAMEDATA\NWINTER.GRP .\nwinter.grp && goto nonwgrp_done
-
 
185
goto cdwrong
-
 
186
 
-
 
187
:nonwgrp_done
184
echo.
188
echo.
185
if exist nwinter.grp (
189
if exist nwinter.grp (
186
type NWINTRO.TXT
190
type NWINTRO.TXT
187
echo.
191
echo.
188
pause
192
pause
Line 223... Line 227...
223
 
227
 
224
:cdno
228
:cdno
225
echo '%cddrive%' is not valid.  Please try again.
229
echo '%cddrive%' is not valid.  Please try again.
226
goto retry
230
goto retry
227
 
231
 
228
:cdw
232
:cdwrong
229
echo '%cddrive%' is not the correct disc.  Please try again.
233
echo '%cddrive%' is not the correct disc.  Please try again.
230
goto retry
234
goto retry
231
 
235
 
232
:mapextract
236
:mapextract
233
echo Extracted maps not found or patched. Proceeding to installation.
237
echo Extracted maps not found or patched. Proceeding to installation.