Minimal requirements:
wine
>= 5.3 (sooner or later)ttf-mscorefonts-installer
ttf-ms-fonts
corefonts
verb (after wineprefix setup)Highly recommended:
Configuration
-> Runner options
(1.7.3 or newer is recommended)Configuration -> Runner options
-> DLL overrides
(table) and add the
entry avcodec-58.dll
with value d
. This avoids crashes (see Issue #339)Run EXE inside wine prefix
menu action for this.Configuration
-> Game options
launcher.bat
GenshinImpact.exe
residesImportant 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
GenshinImpact.exe
resides%command% /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="/path/to/custom/wine/build/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
# Using a virtual desktop with a size of 1920x1080 pixels
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"
Chinese
(feel free to translate / 随意翻译)
English
Wine Gecko 2.47.2 (and older) cannot render the in-game Bilibili login page. Whereas the game comes with the Chromium Embedded Framework (CEF), the Bilibili SDK does not make use of it. Instead it relies on the Internet Explorer libraries.
Known workaround: Check the "Links" section below.
Note: That project is not directly supported by the patch. Please report issues and questions to its dedicated page.
Links / 网页链接
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.