Skip to content

Commit e853346

Browse files
Update tutorial and requirements
1 parent c571121 commit e853346

File tree

15 files changed

+16
-0
lines changed

15 files changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,20 @@ Here's the list of things you require before you continue on this tutorial:
88
- A existing Sentry project (see https://docs.sentry.io/product/sentry-basics/integrate-frontend/create-new-project on how to create a project)
99
- Source SDK 2013 code (duh)
1010
- Visual Studio Community/Professional 2022 (you can download it here: https://visualstudio.microsoft.com) with Desktop development with C++ workload and C/C++ v143 MFC modules
11+
- Python 3 (you need this for compiling the latest SDK 2013 code)
1112

13+
First, you need to add this in both of your client and server VPC scripts:
14+
```vpc
15+
...
16+
$Include "$SRCDIR\game\shared\sentry.vpc"
17+
...
18+
```
19+
20+
Recreate the client and server projects by running `createallprojects.bat` and open "everything.sln" with Visual Studio 2022.
21+
22+
Before you build the project, open the [sentry_mgr.cpp](src/game/shared/sentry/sentry_mgr.cpp) code and go to line 22.
23+
Replace the `<your-dsn-link-here>` string with your Sentry project's DSN link (you can get it from `Project Settings -> Client Keys (DSN)`).
24+
25+
Right-click the solution and then "Build Solution" or press CTRL+SHIFT+B.
26+
27+
After everything was built with no errors, put everything on the [bin](src/thirdparty/sentry_native/bin) directory to your mod's "bin" directory.
-14 KB
Binary file not shown.
-260 KB
Binary file not shown.
-24.5 KB
Binary file not shown.
-453 KB
Binary file not shown.

0 commit comments

Comments
 (0)