Giter VIP home page Giter VIP logo

lux-wine's Introduction

Lux 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. Lux Wine also comes with a native Steam, which allows you not to think about installing a large number of libraries into your system (especially 32-bit ones) for its work.

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)
  • The driver for the video card in your system
  • Some kind of desktop environment

Installation:

curl -sL lwrap.github.io|bash
  • YC mirror:
curl -sL lwrap.website.yandexcloud.net|bash
  • HF mirror:
curl -sL lux-wine-git.static.hf.space|sed 1d|bash
  • or with wget:
wget -qO - lwrap.github.io|bash
  • YC mirror:
wget -qO - lwrap.website.yandexcloud.net|bash
  • HF mirror:
wget -qO - lux-wine-git.static.hf.space|sed 1d|bash

Video of the installation process:

Installation video

Offline installation:

  1. Download latest lwrun release from the releases page (HF mirror)
  2. Make it executable before run
  3. For Nvidia users with a proprietary driver, it is also necessary to download or manually create an image of the driver of the corresponding version and put it next to the lwrun container
  4. Launch the lwrun container, the installation will be completely automatic

Terminal usage:

┌──[user@linux]─[~]
└──╼ $ lwrap {lwrap 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
      -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
      -shortcut                   Create shortcut
      -debug                      DEBUG
      -help                       Show this usage info
      -version                    Show version info
      -tray {noclose}             Tray
      -init                       Forced initialization
      -pfxbackup {xz}             Create prefix backup
      -pfxrestore                 Restore prefix from backup
      -backupmnt                  Mount prefix backup
      -backupunmnt                Unmount prefix backup
      -lsapp                      Show a list of applications
      -runapp {num|name}          Launch the application
      -rmapp {num|name|all}       Remove application shortcut
      -appcfg {num|name|resetall} Applications settings
      -update {all}               Runtime updater
      {dx|dxvk} {vkd|vkd3d} {d3d|d3d_extras|d3d-extras} {eac|eac_runtime}
      {nvml|wine_nvml} {dxnv|dxvk-nvapi|dxvk_nvapi} {wtrx|winetricks}
      {bat|battleye|battleye_runtime} {dg|dgvoodoo2}

Forced re/install Lux Wine:

lwrun --install

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
  • The ability to install completely offline
  • Own portable lwrun container with isolation from the host system
  • Automatic rolling update system
  • Quick initialization and launch
  • Ability to specify EXE arguments and save them in settings
  • Tray mode
  • Automatic creation/removal of shortcuts for installed programs and games
  • Automatic creation of shortcuts from game launchers
  • Ability to create separate configuration files for different EXEs
  • Automatic enable WineD3D (OpenGL) mode if Vulkan API is not available
  • DXVK with Wine DXGI mode
  • Supports running on virtual machines with GL acceleration
  • Debug mode
  • Terminal launch mode
  • Logging mode
  • SHELL mode or open file in SHELL (with access to all lux-wine functions)
  • CMD mode or open file in CMD
  • Built-in Wine-staging
  • Built-in Proton GE
  • Wine Manager (Lutris, Proton GE, Wine GE, Kron4ek)
  • Manage and install multiple wine/proton/dxvk/dxvk-nvapi/vkd3d/d3d_extras/dgvoodoo2 versions and on-the-fly change
  • DXR/RTX (Ray Tracing) (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
  • Gamescope
  • controllermap
  • 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
  • Automatic add/remove shortcuts for wine applications
  • Quick access to Wine stuff:
      * Wine explorer
      * Control panel
      * Wine settings
      * Task manager
      * Wine uninstaller
      * Registry editor
  • Built-in Winetricks
  • Quick open drive C:\
  • Killer stuff:
      * Kill Wine processes
      * Kill tray
      * Kill Lux 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
  • Wine virtual desktop
  • Disable no primary displays (only on x11)
  • Restore resolution (only on x11)
  • Wayland supports (experimental)
  • Wine prefix sandbox
  • Downloader selection (aria2c or wget, aria2c in priority)
  • Ability to use the built-in Proton D3D DLLs (DXVK, DXVK-NVAPI and VKD3D)
  • Custom Environment (globally and separately for EXE)
  • pre_launch and post_launch functions
  • Checking and usage anticheat libraries and Protons from 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
  • Mounting/unmounting backups of Wine prefixes
  • OBS-VkCapture supports
  • 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

lux-wine's People

Contributors

niizam avatar vhsgunzo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lux-wine's Issues

How to stop all the notifications

when I launch any exe I get .... Checking for updates... Game mode ON
can you tell me how to disable this notifications ?
or at least give me the name of this app to block from my notification manager
image

About of: Configuration files for different EXEs

Hi bro, i want ask about of the feature "Ability to create separate configuration files for different EXEs"

how can i configure it? when I press in lux apps settings this shows it:
image

What should i do?
do you have a manual or wiki for know this things?
Thank u very much for your project !!

Unsanbox Lan for play Online Coop over ZeroTier

Hi guys i am trying play a game using my ZeroTier, All in linux works very nice for ZeroTier, but in the games not work, the problem is in wine because the game in windows works very nice using ZeroTier.

ifconfig (my linux)

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.8.199  netmask 255.255.255.0  broadcast 192.168.8.255
        inet6 fe80::5f09:c5c5:cda0:ba05  prefixlen 64  scopeid 0x20<link>

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Bucle local)
        RX packets 83363  bytes 150114390 (150.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 83363  bytes 150114390 (150.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

zt2lr2mebj: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 2800
        inet 10.147.17.245  netmask 255.255.255.0  broadcast 10.147.17.255
        inet6 fe80::f8b1:33ff:fe75:3c83  prefixlen 64  scopeid 0x20<link>

Ipconfig in wine's":

Ethernet adaptador eno1

    Sufijo de DNS específico de la con: lan
    Dirección IPv6. . . . . . . . . . : fe80::5f09:c5c5:cda0:ba05%2
    Dirección IPv4. . . . . . . . . . : 192.168.8.199
    Puerta de enlace por defecto. . . : 192.168.8.1

Ethernet adaptador zt2lr2mebj

    Sufijo de DNS específico de la con: lan
    Dirección IPv6. . . . . . . . . . : fe80::f8b1:33ff:fe75:3c83%7
    Dirección IPv4. . . . . . . . . . : 10.147.17.245
    Puerta de enlace por defecto. . . :

What should i do for force the wine use the zt2lr2mebj adapter as main, and play my game in online lan
Please need help with it, i try many things, try install zerotier, try create a server for wireguard, but this programs dont work in wine. I want use it for play on online lan with my friends (of diferentes cities).

or force for use others VPN, i need that wine stay in tunnel VPN

Thank u very much

can't install after manual delete lux-wine folder

I used arch linux, install command get this error:

❯ curl -sL lwrap.github.io|bash
[ INFO ][2024.04.19 15:36:38]: Found RunImage internal config: Run.rcfg 
[ INFO ][2024.04.19 15:36:38]: Remounting RunImage with squashfuse... 
[ INFO ][2024.04.19 15:36:38]: Autorun mode: lwrap 
[ WARNING ][2024.04.19 15:36:38]: The HOSTEXEC option is enabled! 
[ INFO ][2024.04.19 15:36:38]: Installing Lux Wine... 
[ ERROR ][2024.04.19 15:36:40]: Failed to install Lux Wine! 

How to clean uninstall? and then install again?

Lots of desktop entries created

The tool is of great help, but it created a lot of desktop entries which I was unable to find in both /usr/share/applications and in ~/.local/share/applications. Is there a possible way to fix it? (I am using the latest version of Manjaro-Gnome if that helps)

How to setup Game in Lutris Launcher?

When I run lutris-wine -addtolu <Game Executable>, the script seems to add the game on Lutris, but it doesn't seem to use the appropriate wine version, which uses the default lutris-7.2.2 by default. How do I set it up properly on Lutris?

env: error while loading shared libraries: libspdlog.so.1

So after I installed according to the instructions everything went smoothly.. when I wanted to install genshin impact an error appeared like this

simplescreenrecorder-2023-01-02_16.02.57.mp4

I don't know if other games are like this but this is a bit strange, when I install it on other arch distros like Endeavour it runs smoothly.

OS: ArcoLinux
Kernel: Linux 6.1.1-273-tkg-pds
CPU: Intel i5-6300U (4) @ 3.000GHz
GPU Driver: i915

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.