Minimal requirements:
wine
>= 5.3 (sooner or later)Highly recommended:
corefonts
.Configuration
-> Runner options
(1.7.3 or newer is recommended)Run EXE inside wine prefix
menu action for this.Configuration
-> Game options
-> Executable
path, browse and select
launcher.bat
which you can find in the same directory as GenshinImpact.exe
Important note:
After setup you might have multiple Wine versions and multiple WINEPREFIX directories
on your system. Hence running the wine
command from your terminal will use another
environment than Lutris does.
To open a command prompt which uses the correct environment, do either:
Wine console
Executable
path to cmd.exe
explorer.exe
/path/to/your/gi/installation/
/desktop=anyname,1920x1080 cmd /c launcher.bat
Script-based approach to use any Wine version on any WINEPREFIX. If you do not understand what each step is supposed to do, use Lutris instead.
For the final game launch script after the prefix setup, use steps 1, 2 and 6.
# 1. Specify the path to wine(64)
# This can be either system-wide or a custom installation
WINE="wine64"
#WINE="$HOME/.local/share/Steam/steamapps/common/Proton 5.13/dist/bin/wine64"
# 2. Specify a WINEPREFIX
export WINEPREFIX="/absolute/path/to/.prefix/"
# 3. Create or update WINEPREFIX
"$WINE" wineboot -u
# 4. Install DXVK (v1.9.4, for Wine 5.14+)
# Use the newest Winetricks script from GitHub
export WINE
sh winetricks dxvk194
# 5. Install the game (if not already done)
"$WINE" "/path/to/installer.exe"
# 6. Game launch
cd "/path/to/Genshin Impact Game"
export WINEESYNC=1 # requires staging or Proton, see TWEAKS.md
"$WINE" explorer /desktop=anyname,1920x1080 cmd /c launcher.bat
# 7. Game update
# See `updater/README.md` or attempt to use the official launcher:
"$WINE" "/path/to/official/launcher.exe"
This section should not be documented in this repository. If you know of a better public place for documentation, please open an issue so that this information is available to more people.
Only follow these instructions if the newest Wine version does not already support your controller.
Source: lahvuun, Issue #216
regedit
in your WINEPREFIXHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus
0
, named Enable SDL
Caveats: No force feedback or haptics (vibrations)
Source: Alex72, Issue #228
General idea: specify the environment variable SDL_GAMECONTROLLERCONFIG=?????
.
Helpful resources to determine the value (?????
):
libsdl2-dev
gcc -o controllermap controllermap.c $(sdl2-config --libs --cflags)
controllermap.c
file which matches your installed versionSome specific controllers might lack read permission.
udevadm control --reload-rules
or reboot to apply the changesMaybe helpful: wine control.exe
shows a simple controller/gamepad testing application.