Rev 13 | Rev 17 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 15 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%" |
31 | if "%debug%"=="1" echo DEBUG: EDuke32 Directory: "%eduke32dir%" |
32 | 32 | ||
33 | if not exist vaca_plus\ goto nodir |
33 | if not exist vaca_plus\ goto nodir |
34 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
34 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
35 | 35 | ||
36 | if exist vacation_hrp set vacahrpdir=%cd% |
36 | if exist vacation\ set vacahrpdir=%cd% |
37 | :vacadircheck |
37 | :vacadircheck |
38 | if exist VACATION.PRG ren VACATION.PRG vacation.grp |
38 | if exist VACATION.PRG ren VACATION.PRG vacation.grp |
39 | cd vaca_plus |
39 | cd vaca_plus |
40 | set vacadir=%cd% |
40 | set vacadir=%cd% |
41 | if exist vacation_hrp set vacahrpdir=%cd% |
41 | if exist vacation\ set vacahrpdir=%cd% |
42 | if exist vaca_plus goto vacadircheck |
42 | if exist vaca_plus\ goto vacadircheck |
43 | if "%debug%"=="1" echo DEBUG: Vaca+ Directory: "%vacadir%". |
43 | if "%debug%"=="1" echo DEBUG: Vaca+ Directory: "%vacadir%". |
44 | if "%debug%"=="1" echo DEBUG: VacaHRP Directory: "%vacahrpdir%". |
44 | if "%debug%"=="1" echo DEBUG: VacaHRP Directory: "%vacahrpdir%". |
45 | 45 | ||
46 | if not exist "%vacadir%\VACATION.GRP" ( |
46 | if not exist "%vacadir%\VACATION.GRP" ( |
47 | if exist "%eduke32dir%\VACATION.GRP" ( |
47 | if exist "%eduke32dir%\VACATION.GRP" ( |
Line 89... | Line 89... | ||
89 | echo Please do not close this window. |
89 | echo Please do not close this window. |
90 | echo It will close automatically. |
90 | echo It will close automatically. |
91 | 91 | ||
92 | ::if exist *.art ren *.art *.abk |
92 | ::if exist *.art ren *.art *.abk |
93 | 93 | ||
- | 94 | set args=-xVacaEDuke.con -hvacation.def |
|
- | 95 | if exist "%vacadir%" set args=%args% -j"%vacadir:\=/%" |
|
- | 96 | if exist "%vacahrpdir%" set args=%args% -j"%vacahrpdir:\=/%" |
|
94 | set args=-xVacaEDuke.con -hvacation.def -j"%vacadir%" -j"%vacahrpdir%" -gvacation.grp %hrp% %hrpu% %* |
97 | set args=%args% -gvacation.grp %hrp% %hrpu% %* |
- | 98 | ||
95 | set exe=eduke32 |
99 | set exe=eduke32 |
96 | if "%debug%"=="1" set exe=eduke32.debug |
100 | if "%debug%"=="1" set exe=eduke32.debug |
97 | 101 | ||
98 | if exist %exe%.bat ( |
102 | if exist %exe%.bat ( |
99 | call %exe%.bat %args% |
103 | call %exe%.bat %args% |
Line 442... | Line 446... | ||
442 | :end |
446 | :end |
443 | echo. |
447 | echo. |
444 | @color 07 |
448 | @color 07 |
445 | @title %ComSpec% |
449 | @title %ComSpec% |
446 | cd %dir% |
450 | cd %dir% |
447 | @echo on |
- |