You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,15 +52,16 @@ Although configs are not recommended (use video options to customize), there are
52
52
**DISCLAIMER:** If you are not a developer, building the game from source is not what you want. Use the pre-built [Releases](https://github.com/mastercomfig/team-comtress-2/releases). Also, building this on Mac/Linux, while possible, is not covered here. Please let us know if you get it to work!
53
53
54
54
### Building
55
-
1. Clone this repo
56
-
2. Open `/thirdparty/protobuf-2.5.0/vsprojects/libprotobuf.vcproj`
57
-
3. Run both the Debug and the Release builds
58
-
4. Run `regedit` and [fix whatever this is](https://github.com/ValveSoftware/source-sdk-2013/issues/72#issuecomment-326633328) (add a key at `HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}`, add a `String` property named `DefaultProjectExtension`, set the value to `vcproj`)
59
-
5. Set the [environment variable](https://superuser.com/a/985947)`VALVE_NO_AUTO_P4` to `true` and `PreferredToolArchitecture` to `x64`.
60
-
6 Run `/creategameprojects_dev.bat`
61
-
7. Open `/games.sln`
62
-
8. Build the VS project
63
-
9. The executables are placed at `../game/hl2.exe` for the client and at `../game/srcds.exe` for the server. Note: this path is outside the repository.
55
+
1. Get [Visual Studio 2019 Community Edition](https://visualstudio.microsoft.com/vs/) for building TF2. The required installation components are: "Desktop development with C++" and the "C++ MFC for latest v142 build tools (x86 & x64)".
56
+
2. Clone this repo
57
+
3. Open `/thirdparty/protobuf-2.5.0/vsprojects/libprotobuf.vcproj`
58
+
4. Run both the Debug and the Release builds
59
+
5. Run `regedit` and [fix whatever this is](https://github.com/ValveSoftware/source-sdk-2013/issues/72#issuecomment-326633328) (add a key at `HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}`, add a `String` property named `DefaultProjectExtension`, set the value to `vcproj`)
60
+
6. Set the [environment variable](https://superuser.com/a/985947)`VALVE_NO_AUTO_P4` to `true` and `PreferredToolArchitecture` to `x64`.
61
+
7. Run `/creategameprojects_dev.bat`
62
+
8. Open `/games.sln`
63
+
9. Build the VS project
64
+
10. The executables are placed at `../game/hl2.exe` for the client and at `../game/srcds.exe` for the server. Note: this path is outside the repository.
64
65
65
66
### Running and Debugging
66
67
1. For the compiled binaries to run, you will need to copy your current TF2 installation to `../game` (relative to your repostiory, outside of it).
0 commit comments