Skip to content

Easy launch of your Windows applications and games with Wine/Proton

License

Notifications You must be signed in to change notification settings

niizam/lutris-wine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lutris Wine

This project allows you to easily run your favorite applications and games for Windows on almost any Linux x86_64 distribution using a specially configured Wine/Proton and RunImage container.

Requirements:

  • Supported architectures x86_64
  • The minimum recommended Linux kernel version is 4.18+ with support for user namespaces, but 5.0+ would be better.
  • FUSE (but not necessarily, because it is possible to work in unpacked form without FUSE mounting)
  • Driver for your graphics card (In most cases, Mesa will be enough, but not for Nvidia xD)
  • Some kind of desktop environment (but not necessarily, since if desired, you can install the desktop directly into the RunImage container)

Installation:

curl -sL lwrap.github.io|bash
  • or with wget:
wget -qO - lwrap.github.io|bash

Video of the installation process:

Lutris Wine installation process

Usage:

  • The launch of your Windows games and applications is carried out from your file manager or from the built-in LW file manager or from the application menu when creating a shortcut for the EXE

Terminal usage:

┌──[user@linux]─[~]
└──╼ $ lwrun {lwrun arg} blabla.exe {exe args}

      -explorer               Wine explorer
      -cmd                    Open CMD or open file in CMD
      -shell                  Open SHELL or open file in SHELL
      -config                 Settings
      -appcfg                 Apps Settings
      -regedit                Registry editor
      -control                Control panel
      -winecfg                Wine settings
      -winemgr {delonly}      Wine manager
      -taskmgr                Task manager
      -uninstaller            Wine uninstaller
      -winetricks {arguments} Winetricks
      -openpfx                Open drive C:\
      -killwine               Kill Wine processes
      -killtray               Kill tray
      -killexe                Kill running EXE
      -killshell              Kill SHELL
      -exit                   Force exit
      -clearpfx               Clear prefix
      -rmapp                  Remove menu app
      -shortcut               Create shortcut
      -addtolu                Add to Lutris
      -debug                  DEBUG
      -help                   Show this usage info
      -version                Show version info
      -tray {noclose}         Tray
      -init                   Forced initialization
      -pfxbackup {xz}         Make prefix backup
      -pfxrestore             Restore prefix from backup
      -backupmnt              Mount prefix backup
      -backupunmnt            Unmount prefix backup
      -lsapp                  Show a list of added apps
      -runapp {num|app name}  Launch the added application
      -update {all}           Runtime updater
      {dx|dxvk} {vkd|vkd3d} {d3d|d3d_extras|d3d-extras} {eac|eac_runtime}
      {dxnv|dxvk-nvapi|dxvk_nvapi} {bat|battleye|battleye_runtime} {wtrx|winetricks}
      {dg|dgvoodoo2} {nvml|wine_nvml}

Forced check for updates:

lwrun --update

Removing:

lwrun --uninstall

Keyboard shortcuts:

MangoHud:

  • Show/Hide: R_Shift + F12
  • Disable/Enable FPS limit: L_Shift + F1
  • Change postion: R_Shift + F11

VkBasalt:

  • Disable/Enable: HOME

Features:

  • Easy installation without root rights and dependencies
  • Quick initialization and launch
  • Launch *.exe *.lnk *.bat *.msi *.reg files
  • Sandboxed network
  • Ability to specify EXE arguments and save them in settings
  • Tray mode
  • Automatic download of necessary Wine libraries
  • Checking for updates for libraries in a given period of time
  • Ability to create separate configuration files for different EXEs
  • Automatic enable WineD3D (OpenGL) mode if Vulkan API is not available
  • Manual enabling WineD3D (OpenGL) mode (Disables DXVK, DXVK-NVAPI, VKD3D, DXR)
  • DXVK with Wine DXGI mode
  • Supports running on virtual machines with GL acceleration (tested on KVM, see installation video)
  • Debug mode
  • Terminal mode (various terminals supported) (see Terminal usage)
  • Terminal hold
  • Logging mode
  • SHELL mode or open file in SHELL (with access to all lutris-wine functions)
  • CMD mode or open file in CMD
  • Wine Manager (Lutris, Proton GE, Wine GE, Kron4ek)
  • System Wine supports (selected automatically if no other versions of Wine are installed)
  • Manage and install multiple wine/proton/dxvk/dxvk-nvapi/vkd3d/d3d_extras/dgvoodoo2 versions and on-the-fly change
  • Switching DXR/RTX Version (if the video adapter support and depends on VKD3D)
  • DLSS (if the video adapter and game support and depends on DXVK-NVAPI + WINE-NVML)
  • Custom VKD3D config
  • MangoHud settings (with custom config support)
  • VkBasalt settings
  • Reshade Shaders settings (VkBasalt Effects, depends on VkBasalt)
  • Vulkan ICD loader automatic and manual settings
  • AMD FidelityFX Contrast Adaptive Sharpening settings (depends on VkBasalt)
  • Gstreamer (if Wine support)
  • GameMode
  • Esync
  • Fsync (if linux kernel support)
  • Vsync settings
  • AMD FidelityFX Super Resolution settings (if Wine support)
  • BattleEye runtime (if Wine support)
  • EasyAntiCheat runtime (if Wine support)
  • NVIDIA Prime Render Offload
  • US keyboard layout switcher
  • Reset PulseAudio (+PulseEffects)
  • Reduce PulseAudio latency
  • Restore gamma
  • CPU limitation mode
  • Show Crash Dialog (WINEDBG)
  • FPS limit settings (with MangoHud or libstrangle)
  • Custom Wine themes
  • Runtime updater
  • Quick add applications to Lutris (if Lutris installed)
  • Add/remove applications in the menu
  • Quick access to Wine stuff:
      * Wine explorer
      * Control panel
      * Wine settings
      * Task manager
      * Wine uninstaller
      * Registry editor
  • GUI for custom apps configs
  • Built-in Winetricks
  • System Winetricks support
  • Quick open drive C:\
  • Killer stuff:
      * Kill Wine processes
      * Kill tray
      * Kill Lutris Wine running EXE
      * Kill SHELL
      * Force exit (kill all)
  • Ability to clear a prefix without completely recreating it
  • Mouse context menu for Dolphin
  • Window compositing management (KDE, MATE, XFCE, Deepin)
  • Wine prefix management
  • Wine architecture management
  • Windows Version management
  • Wine DLL overrides
  • Wine MONO overrides
  • Disabling MONO (.NET Core)
  • Various optimizations for better gaming performance
  • Custom EXE DB launch helper scripts
  • Custom loading bar animation
  • Old OpenGL String
  • Wine virtual desktop
  • Disable no primary displays
  • Restore resolution
  • Wine prefix sandbox
  • Wayland supports (experimental)
  • Downloader selection (aria2c or wget, aria2c in priority)
  • Ability to use the built-in Proton D3D DLLs (DXVK, DXVK-NVAPI and VKD3D)
  • Selecting different D3D DLLs from different versions of Proton
  • Custom Environment (globally and separately for EXE)
  • pre_launch and post_launch functions
  • Checking and usage anticheat libraries and Protons in native Steam (selected automatically if no other versions of Wine and anticheats are installed)
  • WINE-NVML (automatic download if it does not exist in DXVK-NVAPI
  • LatencyFleX (depends on DXVK-NVAPI >=0.5.3)
  • Nvidia Resizable BAR (if your system support)
  • Сreating/restoring backups of Wine prefixes
  • Supports the creation of multiple backups with their own timestamps for the same prefix
  • Сhoosing the compression method (xz and zstd) and compression level for backups (zstd and 1 lvl as default for backups)
  • Mounting/unmounting backups of Wine prefixes
  • Supports mounting multiple backups at the same time with a separate control gui
  • Redefining Wine options in settings GUI:
      * WINE_HIDE_NVIDIA_GPU
      * WINE_HEAP_DELAY_FREE
      * STAGING_SHARED_MEMORY
      * WINE_ALLOW_XIM
      * DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1
      * DXVK_ASYNC
      * WINE_LARGE_ADDRESS_AWARE
      * WINE_DISABLE_WRITE_WATCH
      * __GL_THREADED_OPTIMIZATIONS

Screenshots:

image image image tray1 tray2 tray3 tray4 tray5 tray6 tray7 tray8 config1 config2 config3 config4 config5 config6 control explorer help menu openwith regedit taskmgr uninstaller wineapp winecfg winemgr

Classic installation on Arch Linux (without RunImage container):

  • Enable multilib in the pacman config:
sudo sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
  • Upgrade your system:
sudo pacman -Syu
  • Install the latest video drivers for your video adapter:
!!!Make sure your video adapter supports Vulkan API!!!

## NVIDIA ##
sudo pacman -S lib32-nvidia-utils lib32-opencl-nvidia libxnvctrl nvidia nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia

## AMD ##
sudo pacman -S lib32-vulkan-radeon vulkan-radeon xf86-video-amdgpu

## INTEL ##
sudo pacman -S lib32-vulkan-intel vulkan-intel lib32-libva-intel-driver libva-intel-driver libva-utils xf86-video-intel
  • Reboot your system:
sudo reboot
  • Install Lutris Wine using your favorite AUR package manager:
yay --needed --noconfirm -S base-devel lutris-wine-git && lutris-wine -init

Video of the classic installation process:

Lutris Wine installation process

About

Easy launch of your Windows applications and games with Wine/Proton

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 94.8%
  • Rust 4.5%
  • Makefile 0.7%