Building Starship on Windows requires Visual Studio 2022 with the C++ workload, CMake, and at least 8 GB of RAM. The steps below walk you through cloning the repository, generating asset archives, and producing a distributable ZIP.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HarbourMasters/Starship/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Install each of the following before proceeding:| Requirement | Notes |
|---|---|
| RAM | 8 GB minimum |
| Visual Studio 2022 Community | Free edition is sufficient — select the Desktop development with C++ workload during installation |
| Windows SDK 10.0.19041.0 | Included automatically when you select the C++ workload |
| MSVC v143 toolset | Check MSVC v143 – VS 2022 C++ x64/x86 build tools in the VS Installer details panel |
| Python 3 | Install standalone from python.org for best results |
| Git | Install standalone from git-scm.com for best results |
| CMake | Install via cmake.org or Chocolatey (choco install cmake) |
It is recommended that you install Python and Git as standalone applications rather than through the Visual Studio Installer — the VS Installer path has caused issues for some users in the past.
Visual Studio workload selection
When running the VS 2022 installer, check Desktop development with C++. This automatically selects a compatible Windows SDK. Then, in the Installation details panel on the right, verify that the MSVC v143 – VS 2022 C++ build tools component is also checked (it usually is by default).Building Starship
You must clone the repository with
--recursive, or run git submodule update --init after cloning, to pull in the libultraship submodule. The build will fail without it.Development Workflows
Visual Studio
If you prefer to work inside Visual Studio, generate the solution file with the same CMake command used in Step 2 and then openbuild/x64/Starship.sln:
Visual Studio Code
Open the cloned repository folder directly in VS Code. The CMake Tools extension provides one-click build and debug support.You can also substitute Ninja as the build system instead of MSVC for potentially better incremental build performance.
Generating a Distributable
After a successful build, package everything into a ZIP archive:Additional CMake Targets
Clean
Remove all build artefacts and force a full rebuild on the next run:CI Setup for Forks
Starship’s CI pipeline uses GitHub Actions. The Extract Assets step requires a self-hosted runner because it needs access to your ROM file. To configure this on your own fork:- Go to Settings → Actions → Runners in your GitHub repository.
- Add a new self-hosted runner and assign it the
asset-buildertag. - Follow GitHub’s documentation to configure the runner as a service.