8000 GitHub - qe201020335/SPT-AKI_CI: Scripts to automate building SPT-Aki projects
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

qe201020335/SPT-AKI_CI

Repository files navigation

SPT-AKI_CI GitHub Actions status

Scripts for building SPT Server, SPT .NET Server, SPT Launcher, SPT Modules and also making an entire release package.

Also has daily builds if you want to stay on the bleeding edge of bleeding edge. See Actions.

Important

Make sure to always back up your profiles before using any builds!

Caution

Do NOT report any issues you have using the scripts or builds to the sp-tarkov team!

Use them at your own risk! Open an issue here if you have any problems with the scripts or builds.

Build SPT Node Server

build_server.ps1 is used to build the SPT Node server.

Requirements

  • PowerShell
  • Node 20 (3.10.x) or Node 22 (3.11.x)
  • Git
  • Git lfs

Parameters

Parameter Required? Description
-Branch no The branch or tag to build on
-Commit no The exact commit to build, doesn't matter which branch it is
-Overwrite no If present, will delete existing source folder without asking
-Release no If present, will make a release build instead of debug
-NoZip no If present, will not compress the output to an archive

Examples

Build the default branch (aka master or main)

pwsh ./build_server.ps1

Build an exact commit

pwsh ./build_server.ps1 -Commit fbb1d7eb2f6b7847fc1d6bfb2f36dd794f3b1301

Make a release build on a tag. Find out tag names on SPT's source repo. Tags

pwsh ./build_server.ps1 -Release -Branch 3.7.5

Build SPT .NET Server

build_server_csharp.ps1 is used to build the SPT .NET server.

Requirements

  • PowerShell
  • .NET 9 SDK
  • Git
  • Git lfs

Parameters

Parameter Required? Description
-Branch no The branch or tag to build on
-Commit no The exact commit to build, doesn't matter which branch it is
-Runtime no The target runtime to build for, such as win-x64, linux-arm64. See .NET RID
-SelfContained no If present, output build will have .NET runtime bundled
-Overwrite no If present, will delete existing source folder without asking
-Release no If present, will make a release build instead of debug
-NoZip no If present, will not compress the output to an archive

Build SPT Modules

build_modules.ps1 is used to build the SPT client modules.

The script will download the necessary Tarkov managed dlls for building. It will use the url: $Url$TarkovVersion.zip. The zip should have all the dlls from EscapeFromTarkov_Data/Managed in the root of the archive.

Requirements

  • PowerShell
  • .NET SDK
  • Git

Parameters

Parameter Required? Description
-Branch no The branch or tag to build on
-Commit no The exact commit to build, doesn't matter which branch it is
-TarkovVersion yes Version of the Tarkov game it is building for
-Url yes Tarkov managed dll zip base url
-Overwrite no If present, will delete existing source folder without asking
-NoZip no If present, will not compress the output to an archive

About

Scripts to automate building SPT-Aki projects

Topics

Resources

License

Stars

Watchers

Forks

0