DraimCiDo / SIT.Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIT.Core

ko-fi

Disclaimer

This is by no means designed for cheats or illegally downloading the game. This is purely for educational and game modification purposes. You must buy the game to use this. You can obtain it here. https://www.escapefromtarkov.com

SPT-AKI

Stay in Tarkov requires the latest AKI Server to run. You can learn about SPT-Aki here.

Summary

The Stay in Tarkov handles almost everything to create the Single Player experience of Escape from Tarkov. Including but not limited to:

  • Turning off BattlEye
  • Turning off FileChecker (this is BSG's own checker, this needs to be turned off to allow us to mod the game) - See FileChecker
  • Setting up Auto Singleplayer mode
  • Fixing bots / AI to shoot each other
  • Fixing bots / AI to become "PMC"
  • Fixing "offline" mode to use only the designated online spawn points
  • Fixing "offline" mode to save Progression of the character
  • Fixing "offline" mode to save Health of the character
  • Lots more

How to compile?

  1. Create Working Directory for all Tarkov Modding {EFT_WORK}
  2. Clone this {SIT_CORE} to a {SIT_CORE} directory inside {EFT_WORK}
  3. Copy your Live Tarkov Directory somewhere else {EFT_OFFLINE}
  4. Deobfuscate latest Assembly-CSharp in {EFT_OFFLINE} via SIT.Launcher. Ensure to close and restart Launcher after Deobfuscation.
  5. Copy all of {EFT_OFFLINE}\EscapeFromTarkov_Data\Managed assemblies to Tarkov.References {TARKOV.REF} in the parent folder of this project {EFT_WORK}
  6. You will need BepInEx Nuget Feed installed on your PC by running the following command in a terminal.
dotnet new -i BepInEx.Templates --nuget-source https://nuget.bepinex.dev/v3/index.json
  1. Open the .sln with Visual Studio 2022
  2. Rebuild Solution (This should download and install all nuget packages on compilation)

Which version of BepInEx is this built for?

Version 5

How to install BepInEx

https://docs.bepinex.dev/articles/user_guide/installation/index.html

Install to Tarkov

BepInEx 5 must be installed and configured first (see How to install BepInEx) Place the built .dll in the BepInEx plugins folder

Test in Tarkov

  • Browse to where BepInEx is installed within your Tarkov folder
  • Open config
  • Open BepInEx.cfg
  • Change the following setting [Logging.Console] Enabled to True
  • Save the config file
  • Run Tarkov through a launcher or bat file like this one (replacing the token with your ID)
start ./Clients/EmuTarkov/EscapeFromTarkov.exe -token=AID062158106353313252ruc -config={"BackendUrl":"http://localhost:6969","Version":"live"}
  • If BepInEx is working a console should open and display the module "plugin" as started

Coop

Highlight - BE AWARE

Coop is in very early stages of redevelopment. Nothing works.

PREREQUISITE

You must have the SPT-Aki mod installed in your Server for this module to work. If you do not wish to use the Coop module, you must disable it in the BepInEx config file.

Can Coop use BSG code?

No. BSG server code is hidden from the client for obvious reasons. So BSG's implementation of Coop use the same online servers as PvPvE. We don't see this, so we cannot use this.

How it will work and reason

  1. After rigourous testing in SIT.Tarkov.Coop, I discovered that my UDP Web Socket implementation was much to unreliable and laggy.
  2. With point 1 in mind, I have reverted back to basic TCP JSON web calls back and forth to the SPT-Aki Server with a mod handling the data. Initial movement tests work extremely well!

SPT-Aki

Are Aki Modules supported?

The following Aki Modules are supported.

  • aki-core
  • Aki.Reflection
  • 95% of mods

Why don't you use Aki Module DLLs?

SPT-Aki DLLs are written specifically for their own Deobfuscation technique and my own technique is not working well with Aki Modules at this moment in time. So I ported many of SPT-Aki features into this module. My end-goal would be to rely on SPT-Aki and for this to be solely focused on SIT only features.

Thanks List

  • SPT-Aki team
  • MTGA team

License

  • 95% of the original core and single-player functionality completed by SPT-Aki teams. There may be licenses pertaining to them within this source.
  • None of my own work is Licensed. This is solely a just for fun project. I don't care what you do with it.

About

License:GNU General Public License v2.0


Languages

Language:C# 100.0%