~ User Patch ~ | Feedback:

Krock 8b857de10d Fix crash after door (1.4.0) %!s(int64=3) %!d(string=hai) anos
101 c50c174640 Patch 1.4.0 ready for testing %!s(int64=3) %!d(string=hai) anos
110 c50c174640 Patch 1.4.0 ready for testing %!s(int64=3) %!d(string=hai) anos
120 c50c174640 Patch 1.4.0 ready for testing %!s(int64=3) %!d(string=hai) anos
130 ff31b02639 Preparation for 1.4.0 %!s(int64=3) %!d(string=hai) anos
132 c50c174640 Patch 1.4.0 ready for testing %!s(int64=3) %!d(string=hai) anos
140 8b857de10d Fix crash after door (1.4.0) %!s(int64=3) %!d(string=hai) anos
asm_helper 2efebf091a Add byte code helper application %!s(int64=4) %!d(string=hai) anos
suspend_start edf88a3b4b Suspend/resume control app for Linux %!s(int64=4) %!d(string=hai) anos
.gitignore 63cd774f2b Add note about CN variant %!s(int64=3) %!d(string=hai) anos
CREDITS.md 2cf7954b2d Improve the troubleshooting page, error corrections %!s(int64=4) %!d(string=hai) anos
LICENSE.txt 22a68f847f Initial upload %!s(int64=4) %!d(string=hai) anos
LOGO-IF-E31-4302.jpg 4809667607 Add CE recipe and status indicator %!s(int64=4) %!d(string=hai) anos
LOGO-IF-WIP.jpg 4a1308017d Add second patch to instructions, add WIP image %!s(int64=3) %!d(string=hai) anos
LOGO-IF-WORKING.jpg 1e3a5dbd3d Add logo if it works. Just in case :D %!s(int64=4) %!d(string=hai) anos
README.md ff31b02639 Preparation for 1.4.0 %!s(int64=3) %!d(string=hai) anos
TOOLS.md 81db2dc321 Update with 21-4301, minor additions %!s(int64=4) %!d(string=hai) anos
TROUBLESHOOTING.md 738732e590 Add community-provided troubleshooting hints %!s(int64=3) %!d(string=hai) anos

README.md

Game Status v1.4.0

Scroll down for the setup instructions.

Work in progress

Wanted

If you would like to help us, check the tasks on the Issue tracker

  • Some information might be missing from the Markdown files. Be sure to check the comments!

Relevant: RE tools, mostly up-to-date journal

Explanation

mhyprot2.sys is a kernel service which is and will not be supported by Wine. Problem: it's used as cheat detection.

Possible solutions:

  • Wine + patched game (what this project does)
  • Dual-boot to Windows (VM broken since 1.3.0)
  • Wait for an official Linux build
  • Wait for kernel service support in Wine
  • Play another game. Format: link, caveats (Proton/Wine rating)

Project rules

  1. miHoYo reserves the right to distribute files. Please do not share any game data in public.
  2. For your own sake: Do not share this project in official channels.
    • Reduces the risk of this project to be taken down or used against our reverse-engineering efforts
    • Solution: Share the files required by the patch script (see GAMEVER/README.txt)
  3. Please do not abuse this project for cheating. We just want to play the game.

Beware that your log files may contain personal information, such as MAC addresses or login data.

Applying the workaround

Apply the patch(.sh) as follows. You will need Wine 5.3 or newer.

Follow the script as instructed. Backups (.bak) are made automatically where needed.

# Download the repository (or use the download button)
git clone https://notabug.org/Krock/GI-on-Linux --depth 1

cd "/path/to/Genshin Impact Game"
bash "/path/to/GI-on-Linux/GAMEVER/patch.sh"
# Fixes a crash when entering the door
bash "/path/to/GI-on-Linux/GAMEVER/patch_anti_logincrash.sh"

# Please run "launcher.bat" to start the game
wine cmd /c launcher.bat

Please do not report any game issues to an official channel. Your options are:

Undo: The patch can be reverted using patch_revert.sh in the same manner.

Chinese variant: Not supported due to missing information, see Issue#22

Troubleshooting

Credits

License: MIT