Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Proton Launch

IceDBorn edited this page Jul 31, 2025 · 7 revisions

This script is designed to run games or applications with specific settings and options. It utilizes several environment variables and command-line arguments to configure the execution environment. The script primarily focuses on setting up and executing a command with various enhancements and optimizations for gaming performance.

Environment Variables

The script sets several environment variables that affect how the game or application runs. These include:

  • PROTON_ENABLE_HDR: Enables or disables HDR, disabled by default
  • PROTON_ENABLE_HIDRAW: Enables or disables HIDRAW support for proton, disabled by default
  • PROTON_ENABLE_WAYLAND: Enables or disables Wayland support for proton, enabled by default
  • PROTON_PREFER_SDL: Enables or disables SDL rendering for proton, enabled by default
  • PROTON_USE_WOW64: Enables or disables 32-bit emulation under 64-bit for proton, enabled by default
  • PROTON_USE_NTSYNC: Enables or disables NTSync for proton, enabled by default
  • PROTON_FSR4_UPGRADE: Enables or disables FSR4 upgrade for proton, disabled by default
  • SteamDeck: Enables or disables Steam Deck configuration for games, disabled by default
  • GAMESCOPE_ARGS: Sets additional arguments for gamescope, gamescope's disabled by default

Command-Line Arguments

The script accepts several command-line arguments to modify its behavior. These include:

  • --deck: Sets SteamDeck to 1, indicating the game is running on a steam deck
  • --fsr4: Enables fsr4 upgrade
  • --hdr: Enables hdr support
  • --hidraw: Enables hidraw support
  • --gamescope: Uses gamescope for dedicated window management
  • --gamescope-args: Provides additional arguments for gamescope
  • --no-gamemode: Disables gamemode
  • --no-mangohud: Disables mangohud
  • --no-sdl: Disables sdl rendering
  • --no-wayland: Disables wayland
  • --no-ntsync: Disables ntsync
  • --no-wow64: Disables 32-bit emulation, requires 32-bit libraries

Example Usage

Here's an example of how you might use this script, for a steam game:

proton-launch --deck --fsr4 --hdr --gamescope --gamescope-args "-W 1920 -H 1080 -r 60" %command%

This will run the provided command using gamescope, with a width of 1920 and a height of 1080 pixels at 60hz. Enabling fsr4 upgrade for amd gpus, hdr and forcing the steam deck configuration.

Clone this wiki locally