Skip to content

Commit 59e6105

Browse files
authored
Merge pull request #49 from micwoj92/patch-2
Readd VS step to manual
2 parents 512ce10 + 62170e8 commit 59e6105

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,16 @@ Although configs are not recommended (use video options to customize), there are
5252
**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!
5353

5454
### 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.
6465

6566
### Running and Debugging
6667
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

Comments
 (0)