Spaces:
Configuration error
Configuration error
VHSgunzo commited on
Commit ·
eadca91
1
Parent(s): e9c828f
Update lwrap
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitignoreAdded+2
- LICENSEAdded+21
- LuxWine.menuAdded+20
- LuxWineService.desktopAdded+199
- README.md+198-1
- applications/LuxWine.desktopAdded+13
- applications/appcfg.desktopAdded+12
- applications/backupmnt.desktopAdded+13
- applications/backupunmnt.desktopAdded+13
- applications/clearpfx.desktopAdded+13
- applications/cmd.desktopAdded+13
- applications/config.desktopAdded+13
- applications/control.desktopAdded+13
- applications/debug.desktopAdded+13
- applications/exit.desktopAdded+13
- applications/explorer.desktopAdded+13
- applications/help.desktopAdded+12
- applications/init.desktopAdded+13
- applications/killexe.desktopAdded+13
- applications/killshell.desktopAdded+12
- applications/killtray.desktopAdded+12
- applications/killwine.desktopAdded+13
- applications/openpfx.desktopAdded+13
- applications/pfxbackup.desktopAdded+13
- applications/pfxrestore.desktopAdded+13
- applications/regedit.desktopAdded+13
- applications/rmapp.desktopAdded+13
- applications/shell.desktopAdded+12
- applications/shortcut.desktopAdded+13
- applications/taskmgr.desktopAdded+13
- applications/tray.desktopAdded+12
- applications/uninstaller.desktopAdded+13
- applications/update.desktopAdded+12
- applications/version.desktopAdded+13
- applications/winecfg.desktopAdded+13
- applications/winemgr.desktopAdded+12
- applications/winetricks.desktopAdded+12
- db/#LeagueClient.lwdbAdded+123
- db/#PrinceOfPersia.lwdbAdded+14
- db/Anno2205.lwdbAdded+1
- db/BioshockHD.lwdbAdded+3
- db/DOOMEternalx64vk.lwdbAdded+2
- db/DS.lwdbAdded+1
- db/Sam4.lwdbAdded+2
- db/Starfield.lwdbAdded+2
- db/UbisoftConnect.lwdbAdded+1
- db/Zona.lwdbAdded+6
- db/bms.lwdbAdded+2
- db/launcher.lwdbAdded+19
- db/nvapi64-tests.lwdbAdded+4
12*.swp*.pkg.*123456789101112131415161718192021MIT License
Copyright (c) 2023 VHSgunzo
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.1234567891011121314151617181920<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN""http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"><Menu> <Name>Applications</Name> <Menu> <Name>LuxWine</Name> <Directory>LuxWine.directory</Directory> <Include> <Category>Lux Wine</Category> </Include> </Menu> <Menu> <Name>LuxWineApps</Name> <Directory>LuxWineApps.directory</Directory> <Include> <Category>Lux Wine Apps</Category> </Include> </Menu></Menu>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199[Desktop Action explorer]Exec="/usr/bin/lux-wine" -explorer %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=ExplorerName[ru_RU]=Рабочий стол
[Desktop Action cmd]Exec="/usr/bin/lux-wine" -cmd %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Open in CMDName[ru_RU]=Открыть в CMD
[Desktop Action shell]Exec="/usr/bin/lux-wine" -shell %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Open in SHELLName[ru_RU]=Открыть в SHELL
[Desktop Action regedit]Exec="/usr/bin/lux-wine" -regedit %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Registry editorName[ru_RU]=Редактор реестра
[Desktop Action control]Exec="/usr/bin/lux-wine" -control %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Control panelName[ru_RU]=Панель управления
[Desktop Action winecfg]Exec="/usr/bin/lux-wine" -winecfg %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Wine settingsName[ru_RU]=Настройки Wine
[Desktop Action taskmgr]Exec="/usr/bin/lux-wine" -taskmgr %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Task managerName[ru_RU]=Диспетчер задач
[Desktop Action winemgr]Exec="/usr/bin/lux-wine" -winemgrIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Wine managerName[ru_RU]=Wine менеджер
[Desktop Action uninstaller]Exec="/usr/bin/lux-wine" -uninstaller %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Wine uninstallerName[ru_RU]=Устан/удал программ
[Desktop Action winetricks]Exec="/usr/bin/lux-wine" -winetricks %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=WinetricksName[ru_RU]=Winetricks
[Desktop Action openpfx]Exec="/usr/bin/lux-wine" -openpfx %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Open drive C:\\Name[ru_RU]=Открыть диск C:\\
[Desktop Action killwine]Exec="/usr/bin/lux-wine" -killwine %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill Wine processesName[ru_RU]=Убить процессы Wine
[Desktop Action killtray]Exec="/usr/bin/lux-wine" -killtrayIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill trayName[ru_RU]=Убить трей
[Desktop Action killexe]Exec="/usr/bin/lux-wine" -killexe %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill running EXEName[ru_RU]=Убить запущенные EXE
[Desktop Action killshell]Exec="/usr/bin/lux-wine" -killshellIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill SHELLName[ru_RU]=Убить SHELL
[Desktop Action clearpfx]Exec="/usr/bin/lux-wine" -clearpfx %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Clear prefixName[ru_RU]=Очистить префикс
[Desktop Action debug]Exec="/usr/bin/lux-wine" -debug %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=DEBUGName[ru_RU]=ДЕБАГ
[Desktop Action shortcut]Exec="/usr/bin/lux-wine" -shortcut %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Create shortcutName[ru_RU]=Cоздать ярлык
[Desktop Action rmapp]Exec="/usr/bin/lux-wine" -rmapp %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Remove menu appName[ru_RU]=Удалить приложение из меню
[Desktop Action tray]Exec="/usr/bin/lux-wine" -tray nocloseIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=TrayName[ru_RU]=Трей
[Desktop Action exit]Exec="/usr/bin/lux-wine" -exit %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Force exitName[ru_RU]=Закрыть всё
[Desktop Action update]Exec="/usr/bin/lux-wine" -update openupdtrIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Update runtimeName[ru_RU]=Обновление рантайм
[Desktop Action help]Exec="/usr/bin/lux-wine" -helpIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Usage infoName[ru_RU]=Использование
[Desktop Action version]Exec="/usr/bin/lux-wine" -version %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Version infoName[ru_RU]=Версия
[Desktop Action config]Exec="/usr/bin/lux-wine" -config %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=SettingsName[ru_RU]=Настройки
[Desktop Action appcfg]Exec="/usr/bin/lux-wine" -appcfgIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Apps settingsName[ru_RU]=Настройки приложений
[Desktop Action init]Exec="/usr/bin/lux-wine" -init %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Forced initializationName[ru_RU]=Принудительная инициализация
[Desktop Action pfxbackup]Exec="/usr/bin/lux-wine" -pfxbackup %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Create prefix backupName[ru_RU]=Создать бекап префикса
[Desktop Action pfxrestore]Exec="/usr/bin/lux-wine" -pfxrestore %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Restore prefix from backupName[ru_RU]=Восстановить префикс
[Desktop Action backupmnt]Exec="/usr/bin/lux-wine" -backupmnt %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Mount prefix backupName[ru_RU]=Монтировать бекап префикса
[Desktop Action backupunmnt]Exec="/usr/bin/lux-wine" -backupunmnt %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Unmount prefix backupName[ru_RU]=Отмонтировать бекап префикса
[Desktop Entry]Type=ServiceActions=explorer;cmd;shell;regedit;control;winecfg;taskmgr;winemgr;uninstaller;winetricks;openpfx;killwine;killtray;killexe;killshell;clearpfx;debug;shortcut;rmapp;tray;exit;update;version;help;config;appcfg;init;pfxbackup;pfxrestore;backupmnt;backupunmntEncoding=UTF-8Name=Lux WineName[ru_RU]=Lux WineIcon=/usr/share/lux-wine/icons/lw_default_icon.pngServiceTypes=all/allfiles;KonqPopupMenu/PluginMimeType=all/all;X-KDE-ServiceTypes=KonqPopupMenu/PluginX-KDE-Priority=TopLevelX-KDE-Submenu=Lux WineX-KDE-Icon=/usr/share/lux-wine/icons/lw_default_icon.png7 unmodified lines8910117 unmodified lineslicense: mit---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference7 unmodified lines891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072087 unmodified lineslicense: mit---# **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](https://github.com/VHSgunzo/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.* Some kind of desktop environment (but not necessarily, since if desired, you can install the desktop directly into the [RunImage](https://github.com/VHSgunzo/runimage) container)## **Installation**:```curl -sL lux-wine-git.hf.space|bash```* or with `wget`:```wget -qO - lux-wine-git.hf.space|bash```## **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-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:- [x] Easy installation without root rights and dependencies- [x] Quick initialization and launch- [x] Launch *.exe *.lnk *.bat *.msi *.reg files- [x] Ability to specify EXE arguments and save them in settings- [x] Tray mode- [x] Automatic download of necessary Wine libraries- [x] Checking for updates for libraries in a given period of time- [x] Ability to create separate configuration files for different EXEs- [x] Automatic enable WineD3D (OpenGL) mode if Vulkan API is not available- [x] Manual enabling WineD3D (OpenGL) mode (Disables [DXVK](https://github.com/doitsujin/dxvk/releases), [DXVK-NVAPI](https://github.com/jp7677/dxvk-nvapi/releases), [VKD3D](https://github.com/HansKristian-Work/vkd3d-proton), DXR)- [x] [DXVK](https://github.com/doitsujin/dxvk/releases) with Wine DXGI mode- [x] Supports running on virtual machines with GL acceleration (tested on KVM, see installation video)- [x] Debug mode- [x] Terminal mode (various terminals supported) (see Terminal usage)- [x] Terminal hold- [x] Logging mode- [x] SHELL mode or open file in SHELL (with access to all lux-wine functions)- [x] CMD mode or open file in CMD- [x] Wine Manager ([Lutris](https://github.com/lutris/wine/releases), [Proton GE](https://github.com/GloriousEggroll/proton-ge-custom/releases), [Wine GE](https://github.com/GloriousEggroll/wine-ge-custom/releases), [Kron4ek](https://github.com/Kron4ek/Wine-Builds/releases))- [x] System Wine supports (selected automatically if no other versions of Wine are installed)- [x] Manage and install multiple wine/proton/dxvk/dxvk-nvapi/vkd3d/d3d_extras/dgvoodoo2 versions and on-the-fly change- [x] Switching DXR/RTX Version (if the video adapter support and depends on [VKD3D](https://github.com/HansKristian-Work/vkd3d-proton))- [x] DLSS (if the video adapter and game support and depends on [DXVK-NVAPI](https://github.com/jp7677/dxvk-nvapi) + [WINE-NVML](https://github.com/Saancreed/wine-nvml))- [x] Custom [VKD3D](https://github.com/HansKristian-Work/vkd3d-proton) config- [x] [MangoHud](https://github.com/flightlessmango/MangoHud/releases) settings (with custom config support)- [x] [VkBasalt](https://github.com/DadSchoorse/vkBasalt/releases) settings- [x] [Reshade Shaders](https://github.com/crosire/reshade-shaders) settings (VkBasalt Effects, depends on VkBasalt)- [x] Vulkan ICD loader automatic and manual settings- [x] AMD FidelityFX Contrast Adaptive Sharpening settings (depends on [VkBasalt](https://github.com/DadSchoorse/vkBasalt/releases))- [x] [Gstreamer](https://github.com/GStreamer/gstreamer) (if Wine support)- [x] [GameMode](https://github.com/FeralInteractive/gamemode/releases)- [x] Esync- [x] Fsync (if linux kernel support)- [x] Vsync settings- [x] [AMD FidelityFX Super Resolution settings (if Wine support)](https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton7-24)- [x] BattleEye runtime (if Wine support)- [x] EasyAntiCheat runtime (if Wine support)- [x] NVIDIA Prime Render Offload- [x] US keyboard layout switcher- [x] Reset PulseAudio (+PulseEffects)- [x] Reduce PulseAudio latency- [x] Restore gamma- [x] CPU limitation mode- [x] Show Crash Dialog (WINEDBG)- [x] FPS limit settings (with [MangoHud](https://github.com/flightlessmango/MangoHud/releases) or [libstrangle](https://github.com/milaq/libstrangle))- [x] Custom Wine themes- [x] Runtime updater- [x] Add/remove applications in the menu- [x] Quick access to Wine stuff:```* Wine explorer* Control panel* Wine settings* Task manager* Wine uninstaller* Registry editor```- [x] GUI for custom apps configs- [x] Built-in Winetricks- [x] System Winetricks support- [x] Quick open drive C:\- [x] Killer stuff:```* Kill Wine processes* Kill tray* Kill Lux Wine running EXE* Kill SHELL* Force exit (kill all)```- [x] Ability to clear a prefix without completely recreating it- [x] Mouse context menu for Dolphin- [x] Window compositing management (KDE, MATE, XFCE, Deepin)- [x] Wine prefix management- [x] Wine architecture management- [x] Windows Version management- [x] Wine DLL overrides- [x] Wine MONO overrides- [x] Disabling MONO (.NET Core)- [x] Various optimizations for better gaming performance- [x] Custom EXE DB launch helper [scripts](https://github.com/VHSgunzo/lux-wine/blob/main/db)- [x] Custom loading bar animation- [x] Old OpenGL String- [x] Wine virtual desktop- [x] Disable no primary displays- [x] Restore resolution- [x] Wine prefix sandbox- [x] Wayland supports (experimental)- [x] Downloader selection (aria2c or wget, aria2c in priority)- [x] Ability to use the built-in Proton D3D DLLs ([DXVK](https://github.com/doitsujin/dxvk/releases), [DXVK-NVAPI](https://github.com/jp7677/dxvk-nvapi/releases) and [VKD3D](https://github.com/HansKristian-Work/vkd3d-proton))- [x] Selecting different D3D DLLs from different versions of Proton- [x] Custom Environment (globally and separately for EXE)- [x] pre_launch and post_launch functions- [x] Checking and usage anticheat libraries and Protons in native Steam (selected automatically if no other versions of Wine and anticheats are installed)- [x] [WINE-NVML](https://github.com/Saancreed/wine-nvml) (automatic download if it does not exist in [DXVK-NVAPI](https://github.com/jp7677/dxvk-nvapi/releases)- [x] [LatencyFleX](https://github.com/ishitatsuyuki/LatencyFleX) (depends on [DXVK-NVAPI](https://github.com/jp7677/dxvk-nvapi) >=0.5.3)- [x] Nvidia Resizable BAR (if your system support)- [x] Сreating/restoring backups of Wine prefixes- [x] Supports the creation of multiple backups with their own timestamps for the same prefix- [x] Сhoosing the compression method (xz and zstd) and compression level for backups (zstd and 1 lvl as default for backups)- [x] Mounting/unmounting backups of Wine prefixes- [x] Supports mounting multiple backups at the same time with a separate control gui- [x] 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```
12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program;text/win-bat;application/x-ms-shortcut;text/x-ms-regeditName=Lux WineName[ru_RU]=Lux WineNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -appcfgIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Apps settingsName[ru_RU]=Настройки приложенийNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -backupmnt %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/vnd.squashfsName=Mount prefix backupName[ru_RU]=Монтировать бекап префиксаNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -backupunmnt %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/vnd.squashfsName=Unmount prefix backupName[ru_RU]=Отмонтировать бекап префиксаNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -clearpfx %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Clear prefixName[ru_RU]=Очистить префиксNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -cmd %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=CMDName[ru_RU]=CMDNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -config %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=SettingsName[ru_RU]=НастройкиNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -control %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Control panelName[ru_RU]=Панель управленияNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -debug %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=DEBUGName[ru_RU]=ДЕБАГNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -exit %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Force exitName[ru_RU]=Закрыть всёNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -explorer %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Wine explorerName[ru_RU]=Рабочий столNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -helpIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Usage infoName[ru_RU]=ИспользованиеNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -init %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Forced initializationName[ru_RU]=Принудительная инициализацияNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -killexe %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Kill running EXEName[ru_RU]=Убить запущенные EXENoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -killshellIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill SHELLName[ru_RU]=Убить SHELLNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -killtrayIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Kill trayName[ru_RU]=Убить трейNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -killwine %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Kill all Wine processesName[ru_RU]=Убить все процессы WineNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -openpfx %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Open drive C:Name[ru_RU]=Открыть диск C:NoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -pfxbackup %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Create prefix backupName[ru_RU]=Создать бекап префиксаNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -pfxrestore %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/vnd.squashfs;application/x-ms-dos-executable;application/x-msdos-programName=Restore prefix from backupName[ru_RU]=Восстановить префиксNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -regedit %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Registry editorName[ru_RU]=Редактор реестраNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -rmapp %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Remove menu appName[ru_RU]=Удалить приложение из менюNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -shell %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=SHELLName[ru_RU]=SHELLNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -shortcut %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-program;application/x-ms-shortcut;application/x-mswinurlName=Create shortcutName[ru_RU]=Cоздать ярлыкNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -taskmgr %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Task managerName[ru_RU]=Диспетчер задачNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -tray nocloseIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=TrayName[ru_RU]=ТрейNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -uninstaller %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Wine uninstallerName[ru_RU]=Устан/удал программNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -updateIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Update runtimeName[ru_RU]=Обновление рантаймNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -version %fMimeType=application/x-ms-dos-executable;application/x-msdos-programIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Version infoName[ru_RU]=ВерсияNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false12345678910111213[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -winecfg %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=Wine settingsName[ru_RU]=Настройки WineNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -winemgrIcon=/usr/share/lux-wine/icons/lw_default_icon.pngName=Wine managerName[ru_RU]=Wine менеджерNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112[Desktop Entry]Categories=Lux WineExec="/usr/bin/lux-wine" -winetricks %fIcon=/usr/share/lux-wine/icons/lw_default_icon.pngMimeType=application/x-ms-dos-executable;application/x-msdos-programName=WinetricksNoDisplay=falseStartupNotify=trueTerminal=0TerminalOptions=--holdType=ApplicationX-KDE-SubstituteUID=false123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123check_win_version 10unset -f loadbar_cover
check_deps() { if [ -z "$(which openssl 2>/dev/null)" ] then dialog --warning --text="Install openssl in your system!" return 1 fi}
dialog() { zenity "$@" --window-icon="$LW_DEF_ICO" --width="400" --title="Lux Wine LOL compatibility check"}
final_check() { if [ "$(cat /proc/sys/abi/vsyscall32)" -ne 0 ]; then dialog --warning --text="As far as this script can detect, your system is not configured to work with League's anticheat. Please verify that you can get into the practice too before playing a multiplayer game." return 1 fi}
helper_pkexec() { if [ "$ENABLE_HOSTEXEC" == 1 ] then hostexec -su sh -c "$1"||return 1 else pkexec sh -c "$1"||return 1 fi}
syscall_check() { # If abi.vsyscall32=0 is already set, no need to do anything if [ "$(cat /proc/sys/abi/vsyscall32)" -eq 0 ] then return 0 fi if grep -E -x -q "abi.vsyscall32( )?=( )?0" /etc/sysctl.conf then if dialog --question --text="It looks like you already configured your system to work with League anticheat, and saved the setting to persist across reboots. However, for some reason the persistence part did not work.\n\nFor now, would you like to enable the setting again until the next reboot?" then helper_pkexec 'sysctl -w abi.vsyscall32=0'||return 1 return 0 else return 1 fi fi
once="Change setting until next reboot" persist="Change setting and persist after reboot" manual="Show me the commands; I'll handle it myself"
if dialog --question --text="League of Legends' anticheat requires using a modified version of wine (wine-lol) and changing a system setting. Otherwise, the game will crash after champion select.\nNote: The setting (abi.vsyscall32=0) may reduce the performance of some 32 bit applications.\n\nWould you like to change the setting now?" then # I tried to embed the command in the dialog and run the output, but # parsing variables with embedded quotes is an excercise in frustration. RESULT=$(dialog --list --radiolist --height="200" \ --column="" --column="Command" \ "TRUE" "$once" \ "FALSE" "$persist" \ "FALSE" "$manual")
case "$RESULT" in "$once") helper_pkexec 'sysctl -w abi.vsyscall32=0'||return 1 return 0 ;; "$persist") helper_pkexec "echo 'abi.vsyscall32 = 0' >> /etc/sysctl.conf && sysctl -p"||return 1 return 0 ;; "$manual") dialog --info --no-wrap --text="To change the setting (a kernel parameter) until next boot, run:\n\nsudo sh -c 'sysctl -w abi.vsyscall32=0'\n\nTo persist the setting between reboots, run:\n\nsudo sh -c 'echo \"abi.vsyscall32 = 0\" >> /etc/sysctl.conf && sysctl -p'" # Anyone who wants to do it manually doesn't need another warning final_check return 1 ;; *) print_error "League of Legends" "Dialog canceled or unknown option selected $RESULT" return 1 ;; esac fi final_check}
launch_helper() { GIF_FILE="/usr/share/lux-wine/gif/league-of-legends.gif" yad --picture --filename="$GIF_FILE" --no-buttons --undecorated --center --skip-taskbar --on-top \ --width="$(file "$GIF_FILE"|awk '{print $7 + 20}')" --height="$(file "$GIF_FILE"|awk '{print $9 + 20}')" $ENVKEY Lux Wine &>/dev/null & LOADBARPID="$(pgrep -fa yad|grep "$(basename "$GIF_FILE")"|grep "$ENVKEY"|awk '{print$1}')" process=LeagueClientUx.exe uxpid=$(timeout 4m sh -c "until pidof ${process}; do sleep 1; done") if [[ ! -n $uxpid ]]; then print_error yad "League of Legends" "Could not find process ${process}" exit 1 fi print_info notify "League of Legends" "LeagueClientUx pid: ${uxpid}" port=$(xargs -0 < /proc/${uxpid}/cmdline \ | sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p') if [[ ! -n $port ]]; then print_error yad "League of Legends" "Could not find port" exit 1 fi print_info notify "League of Legends" "Waiting for port ${port}"
kill -STOP ${uxpid} 2>/dev/null timeout 5m /bin/bash -c " until openssl s_client -ssl3 -connect :${port} <<< Q > /dev/null 2>&1; do sleep 1 done" kill -CONT ${uxpid} 2>/dev/null kill "$LOADBARPID" 2>/dev/null}
if check_deps then if syscall_check then launch_helper & else exit 1 fi else exit 1fi1234567891011121314POP_EXE="$(ls "$EXE_PATH"/pop*.exe|head -1)"POP_EXE_NAME="$(basename "$POP_EXE")"if [ -f "$POP_EXE" ] then (while ! pidof "$LU_EXE" &>/dev/null do sleep 0.5 done EXE_LWDB=0 LOADBAR=0 NO_TRAY=1 lu_run "$POP_EXE") & (while ! pidof "$POP_EXE_NAME" &>/dev/null do sleep 0.5 done sleep 10 kill $(pidof "$LU_EXE") 2>/dev/null) &fi1export PYTHONIOENCODING=utf-8123check_win_version 10check_esync 0check_fsync 012check_win_version 10check_exe_args '+com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +m_smoothing 0'1launcher.lwdb12check_win_version 10check_exe_args '+gfxapi D3D12 +sfxapi OpenAL'12check_win_version 10check_dxr Disabled1BioshockHD.lwdb123456check_win_version 10if [ -n "$(lspci|grep -o 'NVIDIA')" ] then export WINE_HIDE_NVIDIA_GPU=1 check_vulkan_icd Lvpfi12check_win_version 10check_exe_args "-oldgameui -w $(echo "$PRIMDISPL_RES"|cut -d'x' -f1) -h $(echo "$PRIMDISPL_RES"|cut -d'x' -f2)"12345678910111213141516171819set_dxvk_ver() { if [ "$DXVK" != '0' ] then export NEEDCHKDLL=1 CHK_UPDATE=0 CUR_DXVK_VERSION="$DXVK_VERSION" DXVK_GAME_VERSION="$1" [[ -n "$CUR_DXVK_VERSION" && "$CUR_DXVK_VERSION" != "$DXVK_GAME_VERSION" ]] && \ post_launch() { check_dxvk '1' "$CUR_DXVK_VERSION" sed -i "s/DXVK_VERSION.*/DXVK_VERSION='$CUR_DXVK_VERSION'/" "$LW_CFG" } check_dxvk '1' "$DXVK_GAME_VERSION" fi}
check_win_version 10case "$(basename "$EXE_PATH")" in Crossout|'Dark Sector') set_dxvk_ver '1.10.3' ;;esac1234export HOLD_TERMINAL=1export TERMINAL=1check_win_version 10check_terminal.gitignoreAdded+2
LICENSEAdded+21
LuxWine.menuAdded+20
LuxWineService.desktopAdded+199
README.md+198-1
applications/LuxWine.desktopAdded+13
applications/appcfg.desktopAdded+12
applications/backupmnt.desktopAdded+13
applications/backupunmnt.desktopAdded+13
applications/clearpfx.desktopAdded+13
applications/cmd.desktopAdded+13
applications/config.desktopAdded+13
applications/control.desktopAdded+13
applications/debug.desktopAdded+13
applications/exit.desktopAdded+13
applications/explorer.desktopAdded+13
applications/help.desktopAdded+12
applications/init.desktopAdded+13
applications/killexe.desktopAdded+13
applications/killshell.desktopAdded+12
applications/killtray.desktopAdded+12
applications/killwine.desktopAdded+13
applications/openpfx.desktopAdded+13
applications/pfxbackup.desktopAdded+13
applications/pfxrestore.desktopAdded+13
applications/regedit.desktopAdded+13
applications/rmapp.desktopAdded+13
applications/shell.desktopAdded+12
applications/shortcut.desktopAdded+13
applications/taskmgr.desktopAdded+13
applications/tray.desktopAdded+12
applications/uninstaller.desktopAdded+13
applications/update.desktopAdded+12
applications/version.desktopAdded+13
applications/winecfg.desktopAdded+13
applications/winemgr.desktopAdded+12
applications/winetricks.desktopAdded+12
db/#LeagueClient.lwdbAdded+123
db/#PrinceOfPersia.lwdbAdded+14
db/Anno2205.lwdbAdded+1
db/BioshockHD.lwdbAdded+3
db/DOOMEternalx64vk.lwdbAdded+2
db/DS.lwdbAdded+1
db/Sam4.lwdbAdded+2
db/Starfield.lwdbAdded+2
db/UbisoftConnect.lwdbAdded+1
db/Zona.lwdbAdded+6
db/bms.lwdbAdded+2
db/launcher.lwdbAdded+19
db/nvapi64-tests.lwdbAdded+4