0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 16:50:43 -05:00

Adjusted the setup instructions (!55)

Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: SPT-AKI/Modules#55
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
This commit is contained in:
Terkoiz 2024-01-09 16:16:32 +00:00 committed by chomp
parent 95503d79c2
commit deffa72bb2

View File

@ -22,22 +22,19 @@ git config --local user.email "USERNAME@SOMETHING.com"
```
## Requirements
- Escape From Tarkov 28375
- BepInEx 5.4.22 x64 (https://github.com/BepInEx/BepInEx)
- Visual Studio Code
- Visual Studio Code -OR- Visual Studio 2022
- .NET 6 SDK
## Setup
1. Copy-paste contents of BepinEx zip into SPT root directory
2. Copy-paste Live EFT's `EscapeFromTarkov_Data/Managed/` folder to into Modules' `Project/Shared/` folder
## Project Setup
Copy-paste Live EFT's `EscapeFromTarkov_Data/Managed/` folder to into this project's `Project/Shared/Managed/` folder
## Build (vscode)
## Build (VS Code)
1. File > Open Workspace > Modules.code-workspace
2. Terminal > Run Build Task...
3. Copy contents of `/Build` into SPT game folder and overwrite
## Build (VS)
## Build (VS 2022)
1. Open solution
2. Restore nuget packages
3. Run `dotnet new tool-manifest`
@ -45,3 +42,12 @@ git config --local user.email "USERNAME@SOMETHING.com"
5. Run `dotnet tool install Cake.Tool`
6. Build solution
7. Copy contents of `/Build` into SPT game folder and overwrite
## Game Setup
1. Copy Live EFT files into a separate directory (from now on this will be referred to as the "SPT directory")
2. Download BepInEx 5.4.22 x64 ([BepInEx Releases - GitHub](https://github.com/BepInEx/BepInEx/releases/tag/v5.4.22))
3. Extract contents of the BepInEx zip into the root SPT directory
4. Build Modules, Server and Launcher
5. Copy the contents of each project's `Build` folder into the root SPT directory
6. (Optional, but recommended) Download the BepInEx5 version of ConfigurationManager ([ConfigurationManager Releases - GitHub](https://github.com/BepInEx/BepInEx.ConfigurationManager/releases)) and extract the contents of the zip into the root SPT directory
7. (Optional) Edit the BepInEx config (`\BepInEx\config\BepInEx.cfg`) and append `Debug` to the `LogLevels` setting. Example: `LogLevels = Fatal, Error, Warning, Message, Info, Debug`