Skip to content

Build and Installation

buntatoes edited this page Nov 29, 2026 · 3 revisions

Build and Installation

Pisco can be installed from a prebuilt release archive, built locally with its native Zig toolchain (zig build), or built end-to-end with all submodules inside the SteamRT Proton SDK container via configure.sh and make.

Active development takes place on the pisco-unstable branch (a stable branch will be promoted once bring-up stabilizes).


Installing from a Release Archive

Download Pisco-<version>-linux-x86_64.tar.gz from the GitHub Releases page and extract it into Steam's compatibilitytools.d directory:

mkdir -p ~/.steam/root/compatibilitytools.d
tar -xzf Pisco-<version>-linux-x86_64.tar.gz -C ~/.steam/root/compatibilitytools.d/

This creates ~/.steam/root/compatibilitytools.d/Pisco/ with the following layout:

compatibilitytools.d/Pisco/
├── compatibilitytool.vdf
├── files/
├── LICENSE
├── LICENSE.APACHE-2.0
├── LICENSE.OFL
├── PATENTS.AV1
├── pisco
├── proton -> pisco
├── proton_3.7_tracked_files
├── toolmanifest.vdf
├── user_settings.sample.json
└── version

Restart Steam, then select Pisco in Steam Settings -> Compatibility (globally) or in a game's Properties -> Compatibility.


Prerequisites for Building from Source

  • Zig 0.17.1+ installed on the host for compiling Pisco's native Zig launcher, helper tools, Vodka runtime, Bitters graphics DLLs, and Tonic speech engine.
  • Docker or Podman for building third-party submodules (vkd3d-proton, vkd3d, GStreamer, dav1d, OpenXR-SDK, etc.) inside the SteamRT 4 Proton SDK container (registry.gitlab.steamos.cloud/proton/steamrt4/sdk/x86_64 or arm64-llvm). Rootless Podman is recommended.
  • GNU Make and Git (with submodule support).
  • Optional: libopus development files on the host if building make_blank_ptna directly (-Dwith-opus=true, enabled by default in zig build).

Cloning & Submodule Setup

Clone Pisco recursively so Vodka (Vodka_Stable branch), bitters (stable branch), tonic (stable branch), and all graphics/media submodules are initialized:

git clone --recurse-submodules https://github.com/buntatoes/pisco.git pisco
cd pisco

Whenever switching branches or pulling updates, synchronize submodules:

git submodule update --init --recursive

Active submodules defined in .gitmodules:

  • Runtime, Graphics & Speech: Vodka (Vodka_Stable branch), bitters (stable branch), tonic (stable branch), vkd3d-proton, vkd3d, Vulkan-Headers, SPIRV-Headers, glslang, OpenXR-SDK, openvr
  • Royalty-Free Media: gstreamer (gst-plugins-base, gst-plugins-good), gst-orc, gst-plugins-rs (gst-plugin-dav1d), dav1d, graphene, libsoup
  • Fonts & ARM64 Emulation: fonts/liberation-fonts, FEX

Patented codec bundles (ffmpeg, gst-libav, gst-plugins-bad, gst-plugins-ugly), proprietary NVAPI wrappers, and unused speech engines are intentionally excluded.


Building Native Zig Tools Standalone (No Container Required)

You can compile and test all native Pisco Zig binaries directly on the host without Docker or Podman:

# Build all native Linux ELF tools (glibc 2.31 target) + cross-compiled Windows steam.exe
zig build -Doptimize=ReleaseSafe -Dglibc-compat=true

# Run all Zig unit tests
zig build test

Equivalent top-level Makefile shortcuts:

make zig
make test

build.zig Options

Option Default Description
-Doptimize=<mode> Debug Standard Zig optimization mode (ReleaseSafe recommended for installs)
-Dglibc-compat=true false Pins Linux ELF targets to glibc 2.31 for Steam Linux Runtime compatibility
-Dwith-opus=<bool> true Builds make_blank_ptna against system libopus (set false when host lacks libopus)
-Dwith-steam-exe=<bool> true Cross-compiles steam.exe for x86_64-windows, i386-windows, and aarch64-windows
-Dtarget=<triple> host Override native target (e.g., x86_64-linux-gnu or aarch64-linux-gnu)

Build outputs are placed in zig-out/bin/ (Linux ELF binaries: pisco, default_pfx, steampipe_fixups, font_merge, symstore, make_blank_ptna, make_openxr, gen_lsteamclient, gen_vrclient) and zig-out/windows/<arch>-windows/steam.exe.


Full Build & Local Steam Play Installation

Quick Build & Install (Top-Level Makefile)

From the repository root:

make install

This automatically creates an out-of-tree build directory (build/build-Pisco), runs configure.sh --build-name="Pisco" --enable-ccache, compiles the host Zig tools (zig-tools), runs the SteamRT SDK container build, and syncs the finished dist/ tree to ~/.steam/root/compatibilitytools.d/Pisco/.

Restart Steam after installation for Pisco to appear in Steam Play's compatibility tool dropdown.

To install a side-by-side development build with a custom display name:

make build_name=Pisco-dev install

Manual Out-of-Tree Build (configure.sh)

configure.sh enforces out-of-tree builds (running it from the repository root is rejected):

mkdir ../pisco-build && cd ../pisco-build
../pisco/configure.sh --enable-ccache --build-name=Pisco
make
make install

configure.sh Options

Flag Description
--build-name=<name> Display name in Steam (defaults to Pisco; internal tool name defaults to <name>-proton)
--target-arch=<x86_64|arm64> Target architecture (x86_64 default, arm64 selects the arm64-llvm SDK image)
--container-engine=<docker|podman> Force container runtime instead of auto-detecting Docker then Podman
--enable-ccache Mount $CCACHE_DIR (or $HOME/.ccache) inside the SDK container
--relabel-volumes Append :Z to bind mounts on SELinux-enforcing hosts (use with caution)
--docker-opts='<opts>' Extra runtime flags forwarded to Docker/Podman
--proton-sdk-image=<image> Override the default SteamRT 4 Proton SDK container image

Useful Makefile Targets

Target Purpose
make zig Compile native Pisco Zig binaries (ReleaseSafe, glibc 2.31) on the host
make test Run all Pisco Zig unit tests
make install Build and install into ~/.steam/root/compatibilitytools.d/<build_name>
make redist Produce a standalone redistributable package under build/<tag-or-name>/
make deploy Build a SteamPipe deployment tree and generate steampipe_fixups.json
make bitters / make tonic / make vkd3d-proton Rebuild Bitters, Tonic, or vkd3d-proton after an initial build
make lsteamclient / make vrclient / make vodkaopenxr Rebuild Steamworks or XR wrapper libraries
make unstripped=1 install Preserve debug symbols (use on a clean build directory; or UNSTRIPPED_BUILD=1 inside an out-of-tree Makefile)
make symstore-tarball Index PE binaries via native symstore --skip-managed into <build_name>-symstore.zip
make clean Delete the build directory for the active build_name

Diagnosing Parallel Build Failures

Because subprojects build in parallel (-j$(nproc)), capture output with tee and inspect errors from the bottom:

make 2>&1 | tee build.log
grep -n '] Error [0-9]' build.log