Playing Genshin Impact with Dual Boot Win + Linux#
I searched for playing Genshin Impact on Linux, and a significant portion of the articles required downloading and installing it. As we all know, Genshin Impact is a 3A game with 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 system to play.
Environment#
Redmi G2021 Ryzen Edition (R7 5800H + RTX 3060)
The original system disk is loaded with Windows 11, and an additional 1TB SSD is inserted for installing Arch Linux, with 300GB allocated for it.
The remaining partitions are shared between Windows and Linux, with the file system being NTFS3. Genshin Impact is installed on this partition.
Method#
0. Enable multilib (only for Arch Linux)#
For Arch Linux, 32-bit packages are required.
Modify /etc/pacman.conf
#[multilib]
#Include = /etc/pacman.d/mirrorlist
Remove the '#' to uncomment.
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 your own installation method.
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, so I created /mnt/shared-disk
sudo mkdir /mnt/shared-disk
Then use mount to mount, mount will automatically recognize the file system,
sudo mount /dev/nvme1n1p2 /mnt/shared-disk/
Since my file system is NTFS, I specify the mount file system as NTFS3
sudo mount -t ntfs3 /dev/nvme1n1p2 /mnt/shared-disk/
For partitions with the type
Microsoft Basic Data
, use the system file manager to temporarily mount it, then check its type. The type of the partition I temporarily mounted 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 -> Settings -> Interface -> Steam Client Language, and change the interface to Chinese.
After restarting Steam, click on Add a Game in the bottom left corner -> Add a Non-Steam Game -> Browse.
Select the launch.exe in the Genshin Impact directory, for example, mine is: "/mnt/shared-disk/Genshin Impact/launcher.exe"
After adding, the game library will show a game named "launcher".
Right-click on this game, click on Properties, and here you can modify the icon 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 interface, check the "Force the use of a specific Steam Play compatibility tool" option in the compatibility section.
As of now (2023-10-26), the latest stable version of Proton provided by Steam is Proton 8.0-4. Select this version.
When starting Genshin Impact through Steam, the Genshin Impact launcher may prompt for manual folder location. Mine is located at Z:\mnt\shared-disk\Genshin Impact\Genshin Impact Game
Now you can start playing Genshin Impact!!
PS: As of now (2023-10-26), there may be an error prompt "error code: 10351-4001" after starting 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.