Rev 7 | Rev 9 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7 | Rev 8 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | echo Hendricks266. |
22 | echo Hendricks266. |
23 | echo. |
23 | echo. |
24 | :recheck |
24 | :recheck |
25 | if not exist eduke32.exe goto eduke32check |
25 | if not exist eduke32.exe goto eduke32check |
26 | :eduke32check_done |
26 | :eduke32check_done |
- | 27 | if "%debug%"=="1" echo DEBUG: Directory: "%cd%" |
|
27 | if not exist vaca_plus\ goto nodir |
28 | if not exist vaca_plus\ goto nodir |
28 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
29 | if not exist duke3d.grp echo Warning: You don't have Duke3D.grp in your directory. |
29 | if exist VACATION.PRG ren VACATION.PRG VACATION.GRP |
30 | if exist VACATION.PRG ren VACATION.PRG VACATION.GRP |
30 | if exist vaca_plus\VACATION.PRG ren vaca_plus\VACATION.PRG VACATION.GRP |
31 | if exist vaca_plus\VACATION.PRG ren vaca_plus\VACATION.PRG VACATION.GRP |
31 | if not exist vaca_plus\VACATION.GRP ( |
32 | if not exist vaca_plus\VACATION.GRP ( |
32 | if exist VACATION.GRP move VACATION.GRP vaca_plus\ |
33 | if exist VACATION.GRP move /y VACATION.GRP vaca_plus\ |
33 | ) |
34 | ) |
34 | cd vaca_plus |
35 | cd vaca_plus |
- | 36 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
35 | if not exist VACATION.GRP goto novacagrp |
37 | if not exist VACATION.GRP goto novacagrp |
36 | :novacagrp_done |
38 | :novacagrp_done |
37 | if not exist vacaflag%vacaver%.h266 goto extract |
39 | if not exist vacaflag%vacaver%.h266 goto extract |
38 | if not exist vaca1.map goto extract |
40 | if not exist vaca1.map goto extract |
39 | if not exist vaca2.map goto extract |
41 | if not exist vaca2.map goto extract |
Line 46... | Line 48... | ||
46 | if not exist vacadm2.map goto extract |
48 | if not exist vacadm2.map goto extract |
47 | if not exist vacadm3.map goto extract |
49 | if not exist vacadm3.map goto extract |
48 | if not exist vacadm4.map goto extract |
50 | if not exist vacadm4.map goto extract |
49 | if not exist vacasl.map goto extract |
51 | if not exist vacasl.map goto extract |
50 | cd .. |
52 | cd .. |
- | 53 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
51 | echo. |
54 | echo. |
52 | echo. |
55 | echo. |
53 | echo. |
56 | echo. |
54 | echo. |
57 | echo. |
55 | echo. |
58 | echo. |
Line 123... | Line 126... | ||
123 | echo extracted. It will now be unpacked. |
126 | echo extracted. It will now be unpacked. |
124 | echo. |
127 | echo. |
125 | pause |
128 | pause |
126 | md vaca15ssi |
129 | md vaca15ssi |
127 | cd vaca15ssi |
130 | cd vaca15ssi |
- | 131 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
128 | ..\utils\windows\win32\unpackssi.exe ..\VACA15.SSI |
132 | ..\utils\windows\win32\unpackssi.exe ..\VACA15.SSI |
129 | move /y VACATION.PRG ..\VACATION.GRP |
133 | move /y VACATION.PRG ..\VACATION.GRP |
130 | cd .. |
134 | cd .. |
- | 135 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
131 | rd /s /q vaca15ssi |
136 | rd /s /q vaca15ssi |
132 | goto novacagrp_done |
137 | goto novacagrp_done |
133 | 138 | ||
134 | :ssi2 |
139 | :ssi2 |
135 | echo You do have the Caribbean SSI file in this directory, but it has not been |
140 | echo You do have the Caribbean SSI file in this directory, but it has not been |
136 | echo extracted. It will now be unpacked. |
141 | echo extracted. It will now be unpacked. |
137 | echo. |
142 | echo. |
138 | pause |
143 | pause |
139 | md vacappssi |
144 | md vacappssi |
140 | cd vacappssi |
145 | cd vacappssi |
- | 146 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
141 | ..\utils\windows\win32\unpackssi.exe ..\VACAPP.SSI |
147 | ..\utils\windows\win32\unpackssi.exe ..\VACAPP.SSI |
142 | move /y VACATION.PRG ..\VACATION.GRP |
148 | move /y VACATION.PRG ..\VACATION.GRP |
143 | cd .. |
149 | cd .. |
- | 150 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
144 | rd /s /q vacappssi |
151 | rd /s /q vacappssi |
145 | goto novacagrp_done |
152 | goto novacagrp_done |
146 | 153 | ||
147 | :ssi3 |
154 | :ssi3 |
148 | echo You do have the Caribbean SSI file in this directory, but it has not been |
155 | echo You do have the Caribbean SSI file in this directory, but it has not been |
149 | echo extracted. It will now be unpacked. |
156 | echo extracted. It will now be unpacked. |
150 | echo. |
157 | echo. |
151 | pause |
158 | pause |
152 | md vaca13ssi |
159 | md vaca13ssi |
153 | cd vaca13ssi |
160 | cd vaca13ssi |
- | 161 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
154 | ..\utils\windows\win32\unpackssi.exe ..\VACA13.SSI |
162 | ..\utils\windows\win32\unpackssi.exe ..\VACA13.SSI |
155 | ren *.TRA *.ART |
163 | ren *.TRA *.ART |
156 | ren *.PCS *.SCP |
164 | ren *.PCS *.SCP |
157 | ren VACA1.MAP vaca1.map |
165 | ren VACA1.MAP vaca1.map |
158 | ren VACA2.MAP vaca2.map |
166 | ren VACA2.MAP vaca2.map |
Line 174... | Line 182... | ||
174 | ren DUKETEAM.ANM RADLOGO.ANM |
182 | ren DUKETEAM.ANM RADLOGO.ANM |
175 | ..\utils\windows\win32\kgroup.exe VACATION.GRP *.ART *.SCP *.map *.CON *.MID *.ANM *.VOC *.DMO CARIB.EXE |
183 | ..\utils\windows\win32\kgroup.exe VACATION.GRP *.ART *.SCP *.map *.CON *.MID *.ANM *.VOC *.DMO CARIB.EXE |
176 | move /y VACATION.GRP ..\VACATION.GRP |
184 | move /y VACATION.GRP ..\VACATION.GRP |
177 | move /y *.map ..\ |
185 | move /y *.map ..\ |
178 | cd .. |
186 | cd .. |
- | 187 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
179 | rd /s /q vaca13ssi |
188 | rd /s /q vaca13ssi |
180 | goto novacagrp_done |
189 | goto novacagrp_done |
181 | 190 | ||
182 | :extract |
191 | :extract |
183 | echo. |
192 | echo. |
Line 240... | Line 249... | ||
240 | attrib +r vacaflag%vacaver%.h266 |
249 | attrib +r vacaflag%vacaver%.h266 |
241 | echo. |
250 | echo. |
242 | echo Patching complete! |
251 | echo Patching complete! |
243 | :scanning |
252 | :scanning |
244 | cd .. |
253 | cd .. |
- | 254 | if "%debug%"=="1" echo DEBUG: Changing directory to "%cd%". |
|
245 | echo. |
255 | echo. |
246 | echo Scanning directory for potential problems. |
256 | echo Scanning directory for potential problems. |
247 | if exist vaca1.mhk goto mhkfound |
257 | if exist vaca1.mhk goto mhkfound |
248 | if exist vaca2.mhk goto mhkfound |
258 | if exist vaca2.mhk goto mhkfound |
249 | if exist vaca3.mhk goto mhkfound |
259 | if exist vaca3.mhk goto mhkfound |