Skip to content

Building

Panos Karabelas edited this page Apr 29, 2026 · 6 revisions
  1. Download and install the latest Visual Studio 2026.
    Make sure to select the Desktop development with C++ workload.

  2. Download and install the latest Windows SDK.

  3. At the root directory you will find a single script:

    • Windows: generate_project_files.bat
    • Linux: generate_project_files.sh

    It's interactive and lets you choose what to generate:

    • Vulkan for Windows
    • D3D12 for Windows
    • Vulkan for Linux

    On first run it automatically downloads and extracts the precompiled third-party libraries (~hundreds of MB from Dropbox) and stages everything under binaries/. No Python, no pip, no extra tooling, the engine ships with premake5.exe and 7z.exe and that's all that's needed.

    Warning:
    The D3D12 backend is still under active development and does not render yet. Generate it only if you plan to contribute or experiment.
    Same goes for the Linux build, it can compile, boot up and render the editor, use it only if you want to help finish it.

  4. Run generate_project_files.bat (or .sh on Linux) and follow the on-screen prompts.

  5. Once the script finishes, a Visual Studio 2026 solution (spartan.slnx) will appear in the root directory.

  6. Open the generated solution in Visual Studio and build the engine.

Clone this wiki locally