Skip to content

Instantly share code, notes, and snippets.

@Zeitwaechter
Last active September 26, 2023 21:17
Show Gist options
  • Save Zeitwaechter/ef0464be39b1efde45f5acd16ff8f8ea to your computer and use it in GitHub Desktop.
Save Zeitwaechter/ef0464be39b1efde45f5acd16ff8f8ea to your computer and use it in GitHub Desktop.
Genshin Impact / Linux / Steam / Deck

Patching

Update 2023-09

This is deprecated.

Currently, the game launches without the need for any patch whatsoever.

Original Post

Special thanks to legluondunet for their work with the patch(es)

Their work is also referenced in this Lutris Install Script

First Time

  1. Visit legluondunet/MyLittleLutrisScripts's repository (or e.g. a fork, like zeroday0619/MyLittleLutrisScripts) and search for the Genshin Impact directory.
  2. Download the gi_patch_xyz.zip archive (xyz being the current number) and the gi_patch.sh file.
  3. Extract the archive where you have downloaded it to.
  4. Copy the resulting gi_patch directory to the /pfx/drive_c/ directory of your (Steam) WINE bottle.
  5. Copy the gi_patch.sh file to /pfx/ directory of your (Steam) WINE bottle.
  6. Login as root (sudo su).
  7. Make the gi_patch.sh file executable: chmod +x gi_patch.sh.
  8. 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).
  9. Finally, execute the patch.sh file (still being root).
  10. 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 :)

@TeaJeep
Copy link

TeaJeep commented May 5, 2022

It was a good learning experience for me! I'm pretty sure most linux users looking for a patch like this would typically be a bit more advanced than I am, and would've understood! I don't think there's any blame here. I really appreciate the help as I was completely lost before this.

@filipopo
Copy link

Thanks
Still works and works if you've manually installed the game too, just that pfx is ~/.wine and drive_c is ~/.wine/drive_c

@Zeitwaechter
Copy link
Author

Hey, thanks for reaching out!

Good to know :)

Future readers: Check if your paths are equal to @filip98's setup instead, besides the described manual approach for the setup via Steam / Deck.

On that note, I would really rather suggest to directly use the Lutris install script, that legluondunet provides though, instead of going directly via wine.

IMHO it's easier to maintain games via another layer above Wine than doing everything yourself, but pick your own poison 🥳

There is also still playonlinux, but the UI.. well. 😅

@filipopo
Copy link

I've never used Lutris, even wine is too much "not minimalist" for me haha
But sure, I'll try it the next time I'm setting up a personal Linux machine

@Zeitwaechter
Copy link
Author

That's the spirit! 🥳 👍

@Zeitwaechter
Copy link
Author

Zeitwaechter commented Oct 31, 2022

Can confirm it's still working with v3.1.

V3.2 is imminent though, if I have followed that correctly?

Geshin Impact - Version 3.1 - Revision


Edit:

Last Check - V4.0 - 2023-08-31:

Currently, the game launches without the need for any patch whatsoever.

Thanks to @misaka18931 (reference) for pointing that out.


Edit:

Last Check - V3.8 - 2023-08-13:

Genshin Impact - Preview Version 3.8 running / patched

Troubleshooting

In case of Launcher update issues:
Genshin Impact Launcher - Update Error
Fastest way is to simply update the Launcher via their website, select "Other Downloads" then click "Windows", if the first button does also not work for you:
Genshin Impact Website - HOYOVERSE/COGNOSPHERE
Use Protontricks to open+install the .exe:
Genshin Impace - Protontricks - Select and install Launcher Update

@TeaJeep
Copy link

TeaJeep commented May 6, 2023

Just wanted to update that the patch is no longer needed with proton experimental! Genshin runs out of the box now.

@Zeitwaechter
Copy link
Author

Ah, yeah, thank you! :)

Just saw that I currently also have it set to the older Proton 7.0-6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment