Lunion is a Wine/DXVK/VKD3D-Proton wrapper which allows running Windows games on Linux.
The main goal is to offer an simple alternative to launch your favorite games without using Proton and outside Steam. You can use the Wine package of your Linux distribution (not perfect for gaming) or Lutris builds or Wine GE builds or else Wine TkG builds.
This is still early development. Be aware it is a work in progress and from complete yet
How to use
You can launch a program:
Example with a GOG game
- Download the offline backup game installer (
setup_xxx.exe) that you want on your account GOG.
- Install game in launching Lunion with a game id of your choice to
LUNION_PROGRAM_IDenv. variable and passing path game installer as argument :
LUNION_PROGRAM_ID=gameid lunion /path/to/setup_xxx.exe
- During installation configuration, change game destination to
Z:\home\<user>\path\to\directory. Otherwise, by default, the game will be installed in the Wine prefix, which is not at all ideal, especially if you want to delete the prefix without deleting game data.
- Create/Add this lines in ini file:
- Enjoy your game:
For obtaining the source, you can clone the repository https://framagit.org/IroAlexis/lunion:
git clone https://framagit.org/IroAlexis/lunion.git && cd lunion
$ meson setup build $ meson compile -C build
Lunion use config file which can be used to set runtime configuration options.
Config file content
[lunion] ; wine binaries directory wine_path = /path/to/wine/bin ; dxvk directory dxvk = /path/to/dxvk ; vkd3d-proton directory vkd3d_proton = /path/to/vkd3d-proton ; driver to use - options are: radv, nvidia or intel driver = nvidia [programid] ; use an another Wine for this program wine_path = /path/to/another/wine/bin ; windows executable to launch for this program id command = /path/to/program.exe ; add arguments for launching them with the program command_args = -dx11,-launcher-skip
Runtime Configuration Options
All of the below are runtime options. You can use normally the runtime options others programms (Wine, graphical driver, ...). Removing the option will revert to the previous behavior.
||Use an custom configuration file|
||Use an custom DXVK directory|
||Indicate an program id for Lunion when you install program with his installer|
||Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11, d3d10, and d3d9|
||Use Vulkan-based vkd3d for d3d12|
||Use an custom VKD3D-Proton directory|
||Use an custom Wine binaries directory|
- Hans-Kristian Arntzen
- Joshua Ashton
Available in LICENSE file
Copyright (C) 2023 Alexis Peypelut alias IroAlexis