Rev 1 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 13 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | @echo off |
1 | @echo off |
- | 2 | ||
- | 3 | set mapster32dir=%~dp0 |
|
- | 4 | set vacadir=%~dp0 |
|
- | 5 | set vacahrpdir=%~dp0 |
|
- | 6 | ||
2 | :recheck |
7 | :recheck |
3 | if not exist mapster32.exe goto mapster32check |
8 | if not exist mapster32.exe goto mapster32check |
4 | :mapster32check_done |
9 | :mapster32check_done |
- | 10 | set mapster32dir=%cd% |
|
- | 11 | if "%debug%"=="1" echo DEBUG: Mapster32 Directory: "%mapster32dir%" |
|
- | 12 | ||
- | 13 | if exist vacation_hrp set vacahrpdir=%cd% |
|
- | 14 | :vacadircheck |
|
- | 15 | if exist VACATION.PRG ren VACATION.PRG vacation.grp |
|
- | 16 | cd vaca_plus |
|
- | 17 | set vacadir=%cd% |
|
- | 18 | if exist vacation_hrp set vacahrpdir=%cd% |
|
- | 19 | if exist vaca_plus goto vacadircheck |
|
- | 20 | if "%debug%"=="1" echo DEBUG: Vaca+ Directory: "%vacadir%". |
|
- | 21 | if "%debug%"=="1" echo DEBUG: VacaHRP Directory: "%vacahrpdir%". |
|
- | 22 | ||
- | 23 | cd "%mapster32dir%" |
|
- | 24 | ||
- | 25 | if exist duke3d_hrp.zip set hrp=-gduke3d_hrp.zip |
|
- | 26 | if exist hrp_update.zip set hrpu=-ghrp_update.zip |
|
- | 27 | ||
5 | start mapster32 /jvaca_plus -hvacation.def -gVACATION.GRP %* |
28 | set args=-j"%vacadir%" -j"%vacahrpdir%" -hvacation.def -gvacation.grp %hrp% %hrpu% %* |
- | 29 | set exe=mapster32 |
|
- | 30 | if "%debug%"=="1" set exe=mapster32.debug |
|
- | 31 | ||
- | 32 | if exist %exe%.bat ( |
|
- | 33 | call %exe%.bat %args% |
|
- | 34 | ) else ( |
|
- | 35 | %exe%.exe %args% |
|
- | 36 | ) |
|
- | 37 | ||
- | 38 | ||
6 | goto end |
39 | goto end |
7 | 40 | ||
8 | :mapster32check |
41 | :mapster32check |
9 | if exist mapster32.bat goto mapster32check_done |
42 | if exist mapster32.bat goto mapster32check_done |
10 | if exist ..\mapster32.exe ( |
43 | if exist ..\mapster32.exe ( |