Skip to main content

A comprehensive Linux tool to help setup Steam and Proton for gaming

Project description

Steam Proton Helper

A comprehensive Linux tool designed to streamline the setup and troubleshooting of Steam and Proton for gaming on Linux. This helper application automatically detects missing dependencies, validates system configurations, and provides actionable fixes to eliminate common barriers that prevent Windows games from running smoothly on Linux.

Note: This tool is a read-only checker by default. Use --apply to auto-install missing packages.

Purpose

SteamProtonHelper serves as your first-line diagnostic and setup assistant for Linux gaming. It bridges the gap between a fresh Linux installation and a gaming-ready system by:

  • Automated Detection: Identifying your Linux distribution and available package managers
  • Dependency Validation: Checking for all required gaming components (Steam, Proton, graphics drivers, libraries)
  • Smart Remediation: Providing distribution-specific commands to fix detected issues
  • System Verification: Ensuring compatibility layers and runtime environments are properly configured

Features

  • Steam Detection: Detects Native, Flatpak, and Snap Steam installations
  • Proton Detection: Finds official Proton and GE-Proton across all Steam libraries
  • Vulkan Verification: Validates Vulkan support with actionable guidance
  • 32-bit Support: Checks multilib/i386 packages required for Windows games
  • Multi-Library Support: Parses libraryfolders.vdf to check all Steam libraries
  • JSON Output: Machine-readable output for scripting and automation
  • No External Dependencies: Single-file Python script with stdlib only

Supported Configurations

Steam Installation Types

Type Detection Method Status
Native steam in PATH Full support
Flatpak flatpak info com.valvesoftware.Steam Full support
Snap snap list steam Best-effort

Linux Distributions

Distribution Package Manager 32-bit Check
Ubuntu/Debian/Mint/Pop!_OS apt dpkg --print-foreign-architectures, per-package status
Fedora/RHEL/CentOS/Rocky dnf Automatic multilib, per-package status
Arch/Manjaro/EndeavourOS pacman [multilib] in pacman.conf, per-package status
openSUSE zypper Basic support

Quick Start

Prerequisites

  • Linux operating system (x86_64)
  • Python 3.6 or higher
  • Terminal access

Installation

Option 1: Clone and run directly (Recommended)

git clone https://github.com/AreteDriver/SteamProtonHelper.git
cd SteamProtonHelper
chmod +x steam_proton_helper.py

Option 2: Install via pip

pip install git+https://github.com/AreteDriver/SteamProtonHelper.git
steam-proton-helper

Option 3: Use the installation script

git clone https://github.com/AreteDriver/SteamProtonHelper.git
cd SteamProtonHelper
./install.sh

Basic Usage

# Run all checks with colored output
./steam_proton_helper.py

# Or with Python directly
python3 steam_proton_helper.py

CLI Options

usage: steam_proton_helper.py [-h] [--json] [--no-color] [--verbose] [--fix [FILE]] [--apply] [--dry-run] [--yes] [--game APPID]

Steam Proton Helper - Check system readiness for Steam gaming on Linux.

options:
  -h, --help     show this help message and exit
  --json         Output results as machine-readable JSON
  --no-color     Disable ANSI color codes in output
  --verbose, -v  Show verbose/debug output including paths tried
  --fix [FILE]   Generate a shell script with fix commands (stdout or file)
  --apply        Auto-install missing packages (prompts for confirmation)
  --dry-run      Show what --apply would install without executing
  --yes, -y      Skip confirmation prompt (use with --apply)
  --game APPID   Check ProtonDB compatibility for a Steam game by AppID

Examples

# Standard check with colored output
./steam_proton_helper.py

# JSON output for scripting
./steam_proton_helper.py --json

# Generate fix script to stdout
./steam_proton_helper.py --fix

# Generate fix script to file
./steam_proton_helper.py --fix fix-steam.sh
# Then review and run: bash fix-steam.sh

# Preview what packages would be installed
./steam_proton_helper.py --dry-run

# Auto-install missing packages (with confirmation prompt)
./steam_proton_helper.py --apply

# Auto-install without confirmation (for scripting)
./steam_proton_helper.py --apply --yes

# Verbose mode to see all paths checked
./steam_proton_helper.py --verbose

# Disable colors (useful for piping)
./steam_proton_helper.py --no-color

# Combine options
./steam_proton_helper.py --json 2>/dev/null | jq '.summary'

# Check ProtonDB compatibility for a game (by Steam AppID)
./steam_proton_helper.py --game 292030    # The Witcher 3
./steam_proton_helper.py --game 1245620   # Elden Ring

# Get ProtonDB info as JSON
./steam_proton_helper.py --game 292030 --json

Exit Codes

Code Meaning
0 All checks passed (may have warnings)
1 One or more checks failed
130 Interrupted by user (Ctrl+C)

Shell Completions

Tab completion is available for Bash, Zsh, and Fish. Install via ./install.sh or manually:

Bash:

cp completions/steam-proton-helper.bash ~/.local/share/bash-completion/completions/steam-proton-helper

Zsh: (add ~/.zsh/completions to your $fpath in .zshrc)

mkdir -p ~/.zsh/completions
cp completions/_steam-proton-helper ~/.zsh/completions/

Fish:

cp completions/steam-proton-helper.fish ~/.config/fish/completions/

What It Checks

System

  • Linux distribution and package manager
  • System architecture (x86_64 recommended)

Steam

  • Steam client installation (native/flatpak/snap)
  • Steam root directory location
  • Steam library folders (from libraryfolders.vdf)

Proton

  • Official Proton installations in steamapps/common
  • GE-Proton and custom Proton in compatibilitytools.d
  • Validates presence of proton executable, toolmanifest.vdf, or version file

Graphics

  • Vulkan: Runs vulkaninfo and checks exit code
  • OpenGL: Runs glxinfo -B if available

ProtonDB Integration

Use --game APPID to check game compatibility on ProtonDB:

# Check The Witcher 3 (AppID: 292030)
./steam_proton_helper.py --game 292030

Output:

╔══════════════════════════════════════════╗
║         ProtonDB Compatibility           ║
╚══════════════════════════════════════════╝

Game AppID:    292030
Tier:          🏆 PLATINUM
Confidence:    strong
Score:         0.82
Total Reports: 1234
Trending:      platinum
Best Reported: platinum

✓ This game runs well on Linux with Proton!

Find Steam AppIDs at:

  • Store page URL: https://store.steampowered.com/app/292030/ → AppID is 292030
  • SteamDB

32-bit / Multilib

  • Architecture support enabled (i386/multilib)
  • Per-package status for critical 32-bit libraries:
    • apt: libc6-i386, libstdc++6:i386, libvulkan1:i386, mesa-vulkan-drivers:i386
    • pacman: lib32-glibc, lib32-gcc-libs, lib32-vulkan-icd-loader, lib32-mesa
    • dnf: glibc.i686, libgcc.i686, libstdc++.i686, vulkan-loader.i686

Example Output

╔══════════════════════════════════════════╗
║   Steam + Proton Helper for Linux        ║
╚══════════════════════════════════════════╝

Checking Steam and Proton dependencies...

── System ──
  ✓ Linux Distribution: Ubuntu 24.04.1 LTS
  ✓ 64-bit System: x86_64 architecture

── Steam ──
  ✓ Steam Client: Installed: Native Steam in PATH
  ✓ Steam Root: /home/user/.local/share/Steam

── Proton ──
  ✓ Proton: Found 3 installation(s)

── Graphics ──
  ✓ Vulkan Support: Vulkan is available
  ✓ Mesa/OpenGL: OpenGL support available

── 32-bit ──
  ✓ Multilib/32-bit: i386 architecture enabled
  ✓ libc6-i386: Installed
  ✓ libstdc++6:i386: Installed
  ✓ libvulkan1:i386: Installed
  ✓ mesa-vulkan-drivers:i386: Installed

────────────────────────────────────────────
Summary
  Passed:   12
  Failed:   0
  Warnings: 0

✓ Your system is ready for Steam gaming!

Tips:
  • Enable Proton in Steam: Settings → Compatibility → Enable Steam Play
  • Keep graphics drivers updated for best performance
  • Check game compatibility at protondb.com

JSON Output Format

{
  "system": {
    "distro": "Ubuntu 24.04.1 LTS",
    "package_manager": "apt",
    "arch": "x86_64"
  },
  "steam": {
    "variant": "native",
    "message": "Native Steam in PATH",
    "root": "/home/user/.local/share/Steam",
    "libraries": ["/home/user/.local/share/Steam", "/mnt/games/SteamLibrary"]
  },
  "proton": {
    "found": true,
    "installations": [
      {
        "name": "Proton 9.0",
        "path": "/home/user/.local/share/Steam/steamapps/common/Proton 9.0",
        "has_executable": true,
        "has_toolmanifest": true,
        "has_version": true
      }
    ]
  },
  "checks": [...],
  "summary": {
    "passed": 12,
    "failed": 0,
    "warnings": 0,
    "skipped": 0
  }
}

Common Issues and Fixes

Steam Not Installed

Ubuntu/Debian:

sudo apt update && sudo apt install -y steam

Fedora:

sudo dnf install -y steam

Arch Linux:

sudo pacman -S --noconfirm steam

Missing Vulkan Support

If vulkaninfo fails, check:

  1. GPU drivers are installed correctly
  2. Vulkan ICD files exist (/usr/share/vulkan/icd.d/)
  3. 32-bit Vulkan libraries are installed

Ubuntu/Debian:

sudo apt install -y vulkan-tools mesa-vulkan-drivers libvulkan1:i386

Fedora:

sudo dnf install -y vulkan-tools mesa-vulkan-drivers vulkan-loader.i686

Arch Linux:

sudo pacman -S --noconfirm vulkan-tools vulkan-icd-loader lib32-vulkan-icd-loader

32-bit Support Not Enabled

Ubuntu/Debian:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y libc6-i386 libstdc++6:i386 libvulkan1:i386

Arch Linux: Enable [multilib] in /etc/pacman.conf:

sudo sed -i '/\[multilib\]/,/Include/s/^#//' /etc/pacman.conf
sudo pacman -Sy
sudo pacman -S --noconfirm lib32-glibc lib32-gcc-libs

Proton Not Found

  1. Open Steam
  2. Go to SettingsCompatibility
  3. Enable "Enable Steam Play for supported titles"
  4. Optionally enable "Enable Steam Play for all other titles"
  5. Select your preferred Proton version
  6. Restart Steam

Troubleshooting

Script won't run

# Check Python version
python3 --version  # Requires 3.6+

# Make executable
chmod +x steam_proton_helper.py

# Run directly
python3 steam_proton_helper.py

Steam installed but not detected

  • For Flatpak: Ensure flatpak command is available
  • For native: Check if steam is in your PATH
  • Run with --verbose to see detection attempts

VDF parsing fails

The script includes a minimal VDF parser. If libraryfolders.vdf has an unusual format:

  • Run with --verbose to see parsing details
  • The script will fall back to default paths

Resources

License

This project is open source and available under the MIT License.

Disclaimer

This tool is provided as-is for informational purposes. It does not install packages by default (use --apply to enable). Always review what will be installed with --dry-run before using --apply.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steam_proton_helper-1.4.0.tar.gz (145.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steam_proton_helper-1.4.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file steam_proton_helper-1.4.0.tar.gz.

File metadata

  • Download URL: steam_proton_helper-1.4.0.tar.gz
  • Upload date:
  • Size: 145.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for steam_proton_helper-1.4.0.tar.gz
Algorithm Hash digest
SHA256 d9f9c76585b7d6e0716a76fc9c007aed9e78395dd2d1ae2e0310ef23379045ec
MD5 9989a475d4c4995613b6d65f9bc0edf9
BLAKE2b-256 c9382593f26eb4e28a2aa4dced07b7cd7b85ef868fccf65448bc089307238154

See more details on using hashes here.

Provenance

The following attestation bundles were made for steam_proton_helper-1.4.0.tar.gz:

Publisher: publish.yml on AreteDriver/SteamProtonHelper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file steam_proton_helper-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for steam_proton_helper-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74b53ca60976397a08c7efdee1dff9b5912db1e66420b761785d01acd036fd43
MD5 caec0baea8ef94d05e241773761eb4b7
BLAKE2b-256 066f9a7f126067e8fcb33a80c8f8e58c8e5bbab6c88ebde75c5ebc266940d6d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for steam_proton_helper-1.4.0-py3-none-any.whl:

Publisher: publish.yml on AreteDriver/SteamProtonHelper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page