Playing Genshin Impact on a dual Win + Linux system#
I searched for playing Genshin Impact on Linux, and found that many articles require downloading and installing the game. As we all know, Genshin Impact is a 3A game and it has a large file size. Since I already have Genshin Impact installed on my Windows system, I decided to directly use the game resources from my Windows installation to play the game on Linux.
Environment#
Redmi G2021 Ryzen Edition (R7 5800H + RTX3060)
The original system disk is running Windows 11, and I have inserted a 1TB SSD to install Arch Linux with a 300GB partition.
The remaining partition is shared between Windows and Linux, with the NTFS3 file system. Genshin Impact is installed on this partition.
Method#
0. Enable multilib (for Arch Linux only)#
For Arch Linux, 32-bit packages are required.
Edit /etc/pacman.conf
#[multilib]
#Include = /etc/pacman.d/mirrorlist
Remove the "#" to uncomment the lines.
Then synchronize and update
pacman -Syu
1. Install Steam and log in#
For Arch Linux, use the following command to install
pacman -S steam steam-native-runtime
For other distributions, please find the appropriate method to install.
2. Mount the partition where Genshin Impact is located#
Use the following command to view disk information
sudo fdisk -l
My Genshin Impact is installed on /dev/nvme1n1p2
partition.
Create the folder to mount to, in my case it is /mnt/shared-disk
sudo mkdir /mnt/shared-disk
Then use mount to mount the partition. Mount will automatically detect the file system.
sudo mount /dev/nvme1n1p2 /mnt/shared-disk/
Since my file system is NTFS, I specify the file system as NTFS3
sudo mount -t ntfs3 /dev/nvme1n1p2 /mnt/shared-disk/
For partitions with the type "Microsoft Basic Data", temporarily mount them using the system file manager to check their type. In my case, the temporarily mounted type is NTFS.
Use
df -T
to check the mounted file system type.
Reference for automatically mounting disks at startup: https://clarkqaq.gitee.io/posts/archstartdisk
3. Add Genshin Impact to Steam#
Go back to Steam, click on Steam in the top left corner, then go to Settings -> Interface -> Steam Client Language, and change the interface language to Chinese.
After restarting Steam, click on "Add a Game" in the bottom left corner, then select "Add a Non-Steam Game" and browse for the game.
Select the launch.exe file in the Genshin Impact directory. For example, mine is "/mnt/shared-disk/Genshin Impact/launcher.exe"
After adding the game, it will appear in the game library as "launcher".
Right-click on the game and click on Properties. Here, you can modify the icon and name.
For file paths with spaces in the "Target" and "Start in" fields, it is recommended to add double quotation marks.
4. Enable Proton compatibility layer#
Still in the game properties window, go to the Compatibility tab and check the "Force the use of a specific Steam Play compatibility tool" option.
As of now (October 26, 2023), the latest stable version of Proton provided by Steam is Proton 8.0-4. Select this version.
Launch Genshin Impact through Steam. The Genshin Impact launcher may prompt you to manually locate the game folder. In my case, it is located at Z:\mnt\shared-disk\Genshin Impact\Genshin Impact Game
Now you can start playing Genshin Impact!!
PS: As of now (October 26, 2023), there may be an error prompt with the code "10351-4001" after launching Genshin Impact.
The solution is to exit to the main menu and re-enter the game to play normally.
Follow this issue for the latest updates.