Skip to content

Commit 18bd408

Browse files
committed
new download_depots script
1 parent 09de1e4 commit 18bd408

File tree

2 files changed

+45
-13
lines changed

2 files changed

+45
-13
lines changed

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,10 @@ Obviously, as a leaked build, it's not useful for getting better performance in
1010

1111
## Install
1212

13-
Required depot (and manifest, optionally):
14-
15-
| depot | manifest |
16-
| ----- | -------- |
17-
| 441 | 7707612755534478338 |
18-
| 440 | |
19-
| 232251 | 2174530283606128348 |
20-
21-
1. Use [Depot Downloader](https://github.com/SteamRE/DepotDownloader) to download these depots from app `440`.
22-
2. Combine them together into one folder.
23-
3. [Download](https://github.com/mastercomfig/team-comtress-2/releases/latest) the latest release.
24-
4. Extract the contents of the download to your folder, replacing existing files.
25-
5. Double click `start_tf2.bat`.
13+
1. [Download](https://github.com/mastercomfig/team-comtress-2/releases/latest) the latest release.
14+
2. Extract to a folder of your choosing.
15+
3. Run `download_depots.bat`.
16+
5. Double click `start_tf2.bat`. Note that you must have Steam running.
2617
6. Enjoy!
2718

2819
## Legal

game_clean/download_depots.bat

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
@echo off
2+
setlocal EnableDelayedExpansion
3+
4+
set dd="DepotDownloader\depotdownloader.bat"
5+
set dp=depots
6+
7+
echo.
8+
echo This will download compatible files from an old version of Team Fortress 2 from Steam using your account.
9+
echo.
10+
11+
WHERE dotnet >nul 2>nul
12+
if %ERRORLEVEL% NEQ 0 (
13+
echo DepotDownloader requires .NET Core Runtime, which you can download here: https://dotnet.microsoft.com/download
14+
echo.
15+
PAUSE
16+
exit 1
17+
)
18+
19+
if exist %dd% (
20+
rem exists
21+
) else (
22+
echo Please download DepotDownloader from https://github.com/SteamRE/DepotDownloader/releases/latest and place it in a folder called DepotDownloader.
23+
echo.
24+
PAUSE
25+
exit 2
26+
)
27+
28+
set /p steam_username="Steam Username: "
29+
set /p steam_password="Steam Password: "
30+
31+
set passes=true
32+
if %passes% equ true (
33+
%dd% -app 440 -depot 440
34+
%dd% -app 440 -depot 232251 -manifest 2174530283606128348 -username %steam_username% -password %steam_password%
35+
%dd% -app 440 -depot 441 -manifest 7707612755534478338 -username %steam_username% -password %steam_password%
36+
robocopy "%dp%\440\5249752" . /E /XC /XN /XO /XD .DepotDownloader /MOV
37+
robocopy "%dp%\232251\5249752" . /E /XC /XN /XO /XD .DepotDownloader /MOV
38+
robocopy "%dp%\441\5249752" . /E /XC /XN /XO /XD .DepotDownloader /MOV
39+
)
40+
41+
PAUSE

0 commit comments

Comments
 (0)