Skip to main content

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

Project description

Steam Proton Helper

PyPI version Python versions CI License: MIT

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 NAME] [--search QUERY]

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 NAME      Check ProtonDB compatibility by game name or AppID
  --search QUERY   Search Steam for games (returns AppIDs, no ProtonDB lookup)

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 by game name
./steam_proton_helper.py --game "elden ring"
./steam_proton_helper.py --game "The Witcher 3: Wild Hunt"

# Or by Steam AppID
./steam_proton_helper.py --game 292030    # The Witcher 3
./steam_proton_helper.py --game 1245620   # Elden Ring

# Check multiple games at once
./steam_proton_helper.py --game "elden ring" --game "baldurs gate 3"
./steam_proton_helper.py --game "292030,1245620"  # Comma-separated AppIDs

# Get ProtonDB info as JSON
./steam_proton_helper.py --game "elden ring" --json
./steam_proton_helper.py --game 292030 --game 1245620 --json  # Batch JSON

# Search Steam for games (get AppIDs without ProtonDB lookup)
./steam_proton_helper.py --search "witcher"
./steam_proton_helper.py --search "souls" --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 to check game compatibility on ProtonDB. You can search by name or AppID:

# Search by game name
./steam_proton_helper.py --game "elden ring"

# Or use Steam AppID directly
./steam_proton_helper.py --game 292030

Output:

Found: ELDEN RING (AppID: 1245620)

ProtonDB Compatibility for AppID 1245620
────────────────────────────────────────────
  🥇 Rating: GOLD
  📊 Score: 0.77
  📝 Reports: 1935
  🎯 Confidence: strong
  ⭐ Best Reported: PLATINUM
  📈 Trending: PLATINUM

  ℹ️  Runs perfectly after tweaks

  🔗 https://www.protondb.com/app/1245620

If multiple games match your search, you'll see a list:

Multiple games found for 'witcher':

  1. The Witcher 3: Wild Hunt (AppID: 292030)
  2. The Witcher 2: Assassins of Kings (AppID: 20920)
  3. The Witcher: Enhanced Edition (AppID: 20900)

Use --game <AppID> for the specific game.

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.5.0.tar.gz (149.1 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.5.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: steam_proton_helper-1.5.0.tar.gz
  • Upload date:
  • Size: 149.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 e651847c6374225d826defa49415d9cf159b50f0f78188198b6181daf3ab47fb
MD5 e118a8d99b3b16ba0ceef7e407b7730b
BLAKE2b-256 65b12a99574e654ffbede83363f95977c1bb4f3e8350f356b7c05d9319da239f

See more details on using hashes here.

Provenance

The following attestation bundles were made for steam_proton_helper-1.5.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.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for steam_proton_helper-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6f0a4b4e821b58c82955bb05c83357a9665aa778398b655451687893a457596
MD5 c9b9948a7f8100aa242e086c0b817a4d
BLAKE2b-256 798a55f0063ed2d748569829588ad2ed3fa226a34c645a9acf9f6fc32db1c760

See more details on using hashes here.

Provenance

The following attestation bundles were made for steam_proton_helper-1.5.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