From deffa72bb2d34d85f201e0d9b307532349a27668 Mon Sep 17 00:00:00 2001 From: Terkoiz Date: Tue, 9 Jan 2024 16:16:32 +0000 Subject: [PATCH] Adjusted the setup instructions (!55) Co-authored-by: Terkoiz Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Modules/pulls/55 Co-authored-by: Terkoiz Co-committed-by: Terkoiz --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c4cd84c..9abfb6c 100644 --- a/README.md +++ b/README.md @@ -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`