This is deprecated.
Currently, the game launches without the need for any patch whatsoever.
Special thanks to legluondunet for their work with the patch(es)
Their work is also referenced in this Lutris Install Script
- Visit legluondunet/MyLittleLutrisScripts's repository (or e.g. a fork, like zeroday0619/MyLittleLutrisScripts) and search for the Genshin Impact directory.
- Download the
gi_patch_xyz.zip
archive (xyz
being the current number) and thegi_patch.sh
file. - Extract the archive where you have downloaded it to.
- Copy the resulting
gi_patch
directory to the/pfx/drive_c/
directory of your (Steam) WINE bottle. - Copy the
gi_patch.sh
file to/pfx/
directory of your (Steam) WINE bottle. - Login as root (
sudo su
). - Make the
gi_patch.sh
file executable:chmod +x gi_patch.sh
. cd
into your (Steam) WINE bottle's/pfx/
path.- If you do not do that legluondunet's scripts won't work and won't find e.g. the
UnityPlayer.dll
(at the time of writing).
- If you do not do that legluondunet's scripts won't work and won't find e.g. the
- Finally, execute the
patch.sh
file (still being root). - Hope(?).
Please also see the comments down below, if you have still issues - there might already be any useful hint for your situation.
Thanks in advance and cheers :)
This helps a lot actually, thank you! I had actually skipped the gi_patch.sh file and was calling the ex_apatch.sh file directory, which does work, but the issue was actually a really simple mistake, but I used gi_patch.sh this time, and I ran into some trouble running it, but thats thanks to that mistake I mentioned, which I didn't understand (yet) as a new(ish) linux user. but for anyone else new to this, you have to cd into the pfx directory before running gi_patch.sh, otherwise it runs from your user directory (or root if you switch to root user instead of using sudo), where of course c_drive/pfx does not exist. Picture of terminal posted for reference. I thought that it would look for c_drive/pfx from where the patch file was, not from where it was being called from. Lesson learned, just took a bit of poking through the files. Sorry for the trouble!