Rev 24 | Rev 26 | 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%\VacaNames.def" >> "%exedir%\VacaNames.h" |
104 | type "%addondir%\VacaNames.def" >> "%exedir%\VacaNames.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% -gvacation.grp -hvacation.def -xVacaEDuke.con |
117 | set args=%args% -gvacation.grp -hvacation.def -xVacaEDuke.con |
118 | if "%editor%"=="1" set args=%args% -namesfile VacaNames.h |
118 | if "%editor%"=="1" set args=%args% -namesfile VacaNames.h |
119 | if "%dp%"=="1" ( |
- | |
120 | set args=%args% -hvaca_dp.def -xVacaDP.con |
119 | if "%dp%"=="1" set args=%args% -hvaca_dp.def -xVacaDP.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% -hvaca_xxx.def |
124 | if "%xxx%"=="1" set args=%args% -hvaca_xxx.def |
126 | if "%dp%"=="1" ( |
- | |
127 | set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.con |
125 | if "%xxx%"=="1" if "%dp%"=="1" set args=%args% -hvaca_dp_xxx.def -xVacaDPXXX.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 142... | Line 139... | ||
142 | 139 | ||
143 | :novacagrp |
140 | :novacagrp |
144 | echo. |
141 | echo. |
145 | echo Error: You don't have VACATION.GRP in your directory. |
142 | echo Error: You don't have VACATION.GRP in your directory. |
146 | echo. |
143 | echo. |
147 | if exist VACA15.SSI goto ssi1 |
- | |
148 | if exist VACAPP.SSI goto ssi2 |
- | |
149 | if exist VACA13.SSI goto ssi3 |
144 | goto ssicheck |
150 | echo You don't have the SSI files in your directory either. |
- | |
151 | :retry |
145 | :retry |
152 | echo. |
146 | echo. |
153 | set cddrive= |
147 | set cddrive= |
154 | set /p cddrive=What is the drive letter that your Caribbean CD is in? |
148 | set /p cddrive=What is the drive letter that your Caribbean CD is in? |
155 | echo. |
149 | echo. |
Line 159... | Line 153... | ||
159 | if not exist %cddrive%:\* goto cdno |
153 | if not exist %cddrive%:\* goto cdno |
160 | if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw |
154 | if not exist %cddrive%:\VACATION\VACA13.SSI goto cdw |
161 | copy %cddrive%:\VACATION\*.SSI .\ |
155 | copy %cddrive%:\VACATION\*.SSI .\ |
162 | echo. |
156 | echo. |
163 | type DVINTRO.TXT |
157 | type DVINTRO.TXT |
- | 158 | echo. |
|
- | 159 | pause |
|
164 | goto novacagrp_done |
160 | goto ssicheck |
165 | 161 | ||
166 | :cdno |
162 | :cdno |
167 | echo '%cddrive%' is not valid. Please try again. |
163 | echo '%cddrive%' is not valid. Please try again. |
168 | goto retry |
164 | goto retry |
169 | 165 | ||
170 | :cdw |
166 | :cdw |
171 | echo '%cddrive%' is not the correct disc. Please try again. |
167 | echo '%cddrive%' is not the correct disc. Please try again. |
172 | goto retry |
168 | goto retry |
173 | 169 | ||
- | 170 | :ssicheck |
|
- | 171 | if exist VACA15.SSI goto ssi1 |
|
- | 172 | if exist VACAPP.SSI goto ssi2 |
|
- | 173 | if exist VACA13.SSI goto ssi3 |
|
- | 174 | echo You don't have the SSI files in your directory. |
|
- | 175 | goto retry |
|
- | 176 | ||
174 | :ssi1 |
177 | :ssi1 |
175 | echo You do have the Caribbean SSI file in this directory, but it has not been |
178 | echo You do have the Caribbean SSI file in this directory, but it has not been |
176 | echo extracted. It will now be unpacked. |
179 | echo extracted. It will now be unpacked. |
177 | echo. |
180 | echo. |
178 | pause |
181 | pause |