Guides and workarounds

Krock d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
470 7f28f2c95e Scripts for 5.0.0 (no patch) 2 月之前
480 4eeb4a370d Scripts for 5.1.0 (no patch) 1 月之前
500 d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
510 d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
520 d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
compat f642d347c8 4.8 wish history url 3 月之前
dev_tools d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
static 7f28f2c95e Scripts for 5.0.0 (no patch) 2 月之前
updater f409df46ad Improve documentation; confirm before file cleanup 1 月之前
.gitignore 3abdc35823 Adjust the packaging script, improve patch templates 1 年之前
CREDITS.md 8b7a106839 Add instructions for macOS users 1 年之前
FAQ.md 245bc13551 Update FAQ.md 8 月之前
INSTALLATION.md 77e0e487c9 Improve the error 31-4302 troubleshooting steps 11 月之前
LICENSE.txt 22a68f847f Initial upload 4 年之前
README.md d5842712fb Scripts for 5.2.0 (no patch) 4 天之前
TROUBLESHOOTING.md 506b77f0a4 Add CNrel data error workaround 1 月之前
TWEAKS.md 05bba0c186 Documentation maintenance 1 年之前

README.md

Game Status v5.2.0

Scroll down for the setup instructions.

Game is playable!

Supported versions: International, China (channel 1 and 14)

Note: as reported in Issue#401, the CN game servers are likely to prevent players on Linux and macOS from logging in for unknown reasons.

Situation

Before game version 3.8.0, a patch was needed to work around the game's cheat prevention kernel service which is and will not be supported by Wine. Since version 3.8.0 no additional patches are needed and the game is playable (almost) out of the box (🎉). To get the best gaming experience please check the setup instructions below.

Similar games. Format: link, caveats (Proton/Wine rating)

This list is incomplete. https://areweanticheatyet.com/ might provide information about specific titles.

Related compatibility projects

Project rules

  1. miHoYo reserves the right to distribute files. Please do not share any game data in public.
  2. For your own sake: Please do not share this project in public.
    • Reduces the risk of this project to be taken down or used against our reverse-engineering efforts
    • Solution: Use indirect/redirect links and private messages
  3. Please do not abuse this project for cheating. We just want to play the game.

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

Game installation instructions

Please check the Game installation instructions for the minimal requirements and a guided installation of the game using Lutris, Steam, macOS or custom scripts.

Afterwards, it is recommended to execute patch.sh so that launcher.bat is generated within the game directory because all instructions assume its presence. Note: the main patch script no longer modifies any game files and is considered harmless.

Follow the script as instructed. GAMEVER stands for the game version, i.e. 3.2.0 becomes 320.

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

# Tip: Drag&drop the desired directory or file into the terminal to copy its path

cd "/path/to/Genshin Impact Game"
bash "/path/to/dawn/GAMEVER/patch.sh"

# Start the game after checking the domains
wine cmd /c launcher.bat

To stay up-to-date with the blocked domains, it is recommended to re-run the "patch" script after each game update.

Undo

Old patch residues can be removed by executing patch_revert.sh in the same manner as patch.sh above. To remove the blocked logging servers, edit /etc/hosts with superuser permissions.

Troubleshooting

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

Frequently Asked Questions

Game updater & patch

Performance & visual tweaks

Credits

License: MIT