WineHQ

Genshin Impact

Released on 2020-09.

The game (v1.0.0) does not start because of the anti-cheat feature (mhyprot2.sys and WDFLDR.SYS).

Application Details:

Version: 1.0.x
License: Free to use
URL: https://genshin.mihoyo.com/
Votes: 1
Latest Rating: Bronze
Latest Wine Version Tested: 5.19-staging

Maintainers: About Maintainership

Test Results

Selected Test Results

What works

The installer works for both installing and updating game, though the game will not launch without workaround listed below.

What does not

The game will not run without the workarounds listed below.

Workarounds

game will only run if the wine version is wine 5.19-staging as no other versions seem to work at this time. the game also suffer the unity bug of freezing or no input if game is alt-tabbed or the game is not focused.

for the game to run you have to alter the unity player file.

first cd the location you installed the game, then go into the Genshin Impact game folder located inside of Genshin impact.

then in that folder run this script

#! /bin/bash

dd if=<(echo -ne "\xc3") of=UnityPlayer.dll bs=1 seek=$((0x0148BDD0)) conv=notrunc
dd if=<(echo -ne "\xc3\xf5") of=UnityPlayer.dll bs=1 seek=$((0x0148C420)) conv=notrunc
dd if=<(echo -ne "\x31\xed") of=UnityPlayer.dll bs=1 seek=$((0x01B30933)) conv=notrunc

the game should run as normal.

What was not tested

Did not test if you can purchase wishes.

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

I am not responsible for banned because of circumventing the anti-cheat.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 20.04 "Focal" (+ variants like Kubuntu)Nov 01 20205.19-stagingYes Yes YesBronzeethan kerrick 
ShowArch Linux x86_64Oct 11 20205.18Yes No NoGarbageJens 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Oct 02 20205.18-stagingYes No NoGarbageDadu042 
ShowManjaro 20.0.3Oct 11 20205.16Yes No NoGarbagePeter Jin 
ShowKDE neonOct 15 20205.0.2Yes No NoGarbageAkihito Mikazuki 

Known Bugs

Bug # Description Status Resolution Other apps affected
48121 Unity games do not fire OnApplicationFocus/OnApplicationPause events on focus regain UNCONFIRMED View
49193 Multiple kernel drivers need wdfldr.sys.WdfVersionBind function (Denuvo Anti-Cheat, Steel Series Engine, Genshin Impact) NEW View
49290 Denuvo Anti-Cheat 'denuvo-anti-cheat.sys' crashes on access to 'ComponentGlobals' out parameter, returned by 'wdfldr.sys.WdfVersionBind' NEW View

Show all bugs

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Gold Rating
by Catalyst4 on Monday November 9th 2020, 15:45
Why is the game rated as gold even though the test log says the workaround didn't work?
RE: Gold Rating
by Dadu042 on Saturday November 14th 2020, 6:41
You're right, fixed.
Kernel-level anticheat
by Akihito Mikazuki on Thursday October 15th 2020, 12:32
Hello, this game will not run currently because MiHoYo has implemented a kernel-level anticheat that cannot be emulated by Wine currently. There is possibly a workaround *that I have not tested*, wine-eac, although last I heard it can run games at a whopping 1 FPS.
Back