You can easily run any Windows game on Linux nowadays without too much work. Let’s look at an example - gacha games - you won’t find those on Steam. How would you go about installing it on Linux, on your Steam Deck, or other gaming hardware? You don’t even need Lutris, but that is certainly an option if you use it. We’re gonna look at using Steam’s own functionality alone.
HoYoPlay and Zenless Zone Zero
One of the most recent gacha releases is Zenless Zone Zero game from HoYoVerse. This is the same folks behind Genshin Impact and you can indeed install that or many other games this way. This process takes advantage of Steam and Proton to install windows applications. We will run the .exe installer through Steam to get it installed, then modify said install to be able to launch the installed product through Steam.
Installing HoYoPlay
HoYoPlay is their launcher through which you can install these games. Let’s get to it:
- If you’re on SteamDeck (or other Steam gamemode session) make sure to switch to Desktop first :)
- Download the launcher: https://hoyoplay.hoyoverse.com
- Add to Steam as a non-steam app (Menu -> Games -> Add a non-steam game to my Library)
- Right click the added installer and go to its Properties -> Force the latest Proton version (at the time of writing 9.x)
- Play -> it should now run the installer for HoYoPlay, follow the steps to install it. If the launcher automatically starts it at the end, close it.
We’ve now installed the launcher but we can’t exactly execute it directly just yet. Let’s sort that out:
- Add to steam as non-steam app:
/home/deck/.steam/steam/steamapps/compatdata/<ID>/pfx/drive_c/Program Files/HoYoPlay/launcher.exe
- Where you can sort it by date to see the most recently modified folder, that’s probably it.
- Note this
<ID>
, we will need it later. - If you’re not on Steam Deck the
/home/deck
is gonna be different - that’s your home folder and it will be your username.
- Right click the added launcher and go to its Properties -> Force the latest proton version again (at the time of writing 9.x)
- Run it once and close it.
- Now we have two
<ID>
folders at the path described above, one with above identified<ID>
for the installer, and the newer one for the actual launcher.- You want to move entire
<ID>/pfx/drive_c/
from the installer<ID>
we noted earlier to the launcher one. Verify you’re moving the correct files - it should have the launcher.exe in it. We want it in the new “launcher” app folder. Once you are certain which one is which, I recommend you to delete thedrive_c
in the destination before cut&paste of the correct files.
- You want to move entire
- Go to the Properties on the newer app yet again -> Fix the name, change the Target to the correct folder/launcher.exe as well as the Start In location.
You’re done. Verify that it’s functional! You can now run it, use it, install your gacha games, etc.
Cleanup and optional improvements:
- Remove the installer app from your steam and you can delete it from your
~/Downloads
as well. And don’t forget to sort your Dolphin by name again ;) - Optionally add launch param
--game=nap_global
which may or may not actually start the game. (At the time of writing this arg didn’t actually work to directly update and start the game but that seems to be a bug.) You should not be running the game .exe directly, do not add it as a new non-steam app, this would not work. Use the HoYoPlay launcher. - Use the SteamGridDB Decky Plugin to change the artwork on Steam ;)
Enjoy!
Find me in the Fedora Linux Discord if you have any issues or questions.