Minimal requirements:
ttf-mscorefonts-installer
update-notifier-common
is not wanted, the
Debian package can be used.ttf-ms-fonts
corefonts
verb (after wineprefix setup)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
This section is based on the Steam instructions above.
/etc/hosts
which is not writable by default.
sudo steamos-readonly disable
before running the main patch
script and make the file system readonly again after completion: sudo steamos-readonly enable
compat/steamos_CJ_locale_enabler.sh
to generate the necessary localeLC_ALL
as described in TROUBLESHOOTING.mdScript-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 the most recent DXVK version
# Use the newest Winetricks script from GitHub
export WINE
sh winetricks dxvk
# 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 wine-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"
It's highly recommended to use CrossOver using a recent DXVK-macOS version.
MoltenVK does yet not support VK_EXT_transform_feedback
(see issue #374), which can be
worked around by the following patch. Check the script contents for details.
bash "/path/to/dawn/compat/macos_cpu_skinning.sh"
To fix further rendering issues on low-end Macs, open or create the file dxvk.conf
in the game
directory and add the following line: (requires a working DXVK installation)
dxgi.customDeviceDesc = "AMD Radeon Pro 5300M"
Confirm whether the changes are in effect:
*_dxgi.log
file in the game directoryDXVK:
must mention a recent version (e.g. 1.10.3)Effective configuration:
must mention the GPU specified in dxvk.conf
.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.