Genshin-Impact-on-linux icon indicating copy to clipboard operation
Genshin-Impact-on-linux copied to clipboard

Genshin Impact on Android VM under Linux working!

Open XaeroVincent opened this issue 4 years ago • 78 comments

I got the game to work under Bliss OS 11.12 with QEMU & Virgil virtual GPU.

I've set the VM to 4 CPU cores and 8GB of RAM.

Download the game from APKPure and download an XAPK Installer app to install it in XAPK form. The game will crash numerous times during the download. Just keep trying. Press the Windows key on the keyboard once the game starts downloading from the 3D menu then open System Monitor to look at the network download traffic. The game may crash but continue to download it's 9GB of data. Try redoing the steps again if the network traffic and CPU usage falls to near zero. Eventually the game will download and once the game is downloaded, it doesn't appear to crash anymore (so far).

Keyboard mapping isn't working (Octopus doesn't seem to launch the game), however the game thankfully responds to mouse input!!

You can move your character around by moving the mouse cursor towards the bottom left hand corner of the screen (but not all the way to the end) and hold the left mouse button. Your character will move when you move your mouse while holding the left button down. Other actions can be done by clicking their respective buttons.

The framerate isn't great (maybe 10 to 15 FPS) but MUCH better compared to the nested virtualization under a Windows VM + Bluestacks that I had working prior. I have the graphics settings set at "Low". This level of performance is with a Core i7 6700HQ, 32GB RAM, and a GTX 1070 Mobile. A better computer will obviously yield better performance results.

genshin

XaeroVincent avatar Feb 18 '21 16:02 XaeroVincent

Hello I am here now.

PseudoDistant avatar Feb 18 '21 16:02 PseudoDistant

Any ETA on the Bluestacks libraries? ;-;

PseudoDistant avatar Feb 18 '21 16:02 PseudoDistant

Any ETA on the Bluestacks libraries? ;-;

Bluestacks libraries aren't needed. The necessary Houdini libraries are already included with Bliss OS.

XaeroVincent avatar Feb 18 '21 16:02 XaeroVincent

Any ETA on the Bluestacks libraries? ;-;

i damaged my install by trying

Any ETA on the Bluestacks libraries? ;-;

Bluestacks libraries aren't needed. The necessary Houdini libraries are already included with Bliss OS.

we can definitly improve if we have the bluestack libs because it doesn't crash as much in the download phase

Marc-Pierre-Barbier avatar Feb 18 '21 17:02 Marc-Pierre-Barbier

keyboard mapping isn’t working

Should I make the translation layer or should [at]Marc-Pierre-Barbier make it?

ghost avatar Feb 18 '21 17:02 ghost

keyboard mapping isn’t working

Should I make the translation layer or should [at]Marc-Pierre-Barbier make it?

i will work on it if i achieve to make the game run, so feel free to start

Marc-Pierre-Barbier avatar Feb 18 '21 17:02 Marc-Pierre-Barbier

I don’t even have it running yet :( Also, it seems that Genshin Impact uses a timing attack to detect VM, so Windows version is officially hopeless. Only android is possible now... let’s hope it still works

ghost avatar Feb 18 '21 17:02 ghost

I can nearly hear my SSD’s happiness as 39GB of virtual SSD is deleted from the system

ghost avatar Feb 18 '21 17:02 ghost

im going to try the lastest blissos release to see if it change something

Marc-Pierre-Barbier avatar Feb 18 '21 17:02 Marc-Pierre-Barbier

1.7GB, this may take some time...

ghost avatar Feb 18 '21 17:02 ghost

I don’t even have it running yet :( Also, it seems that Genshin Impact uses a timing attack to detect VM, so Windows version is officially hopeless. Only android is possible now... let’s hope it still works

They make so much effort to block Windows VMs now, yet it's still easy to bypass the anti-cheat altogether, which is how others are playing it on Linux via Wine with throwaway accounts. Stupid decisions on the developers part.

XaeroVincent avatar Feb 18 '21 17:02 XaeroVincent

Any ETA on the Bluestacks libraries? ;-;

i damaged my install by trying

Any ETA on the Bluestacks libraries? ;-;

Bluestacks libraries aren't needed. The necessary Houdini libraries are already included with Bliss OS.

we can definitly improve if we have the bluestack libs because it doesn't crash as much in the download phase

Slightly less crashing but it still did crash a ton of times during the download phase. I wouldn't really consider it much of an improvement (if any). The improvement with Bluestacks is the super easy keyboard mapping.

What might be an improvement is distributing updated Bliss OS disk images with Genshin Impact fully pre-installed?

XaeroVincent avatar Feb 18 '21 17:02 XaeroVincent

What might be an improvement is distributing updated Bliss OS disk images with Genshin Impact fully pre-installed?

yea great idea

Marc-Pierre-Barbier avatar Feb 18 '21 17:02 Marc-Pierre-Barbier

Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

ghost avatar Feb 18 '21 18:02 ghost

Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

Marc-Pierre-Barbier avatar Feb 18 '21 18:02 Marc-Pierre-Barbier

Another thing that might be a problem for using Bluestacks houdini is that it's based on Android 7.1 but Bliss OS is Android 9.

There are different versions of Houdini for different Android versions, such as Houdini7_x/y/z.sfs vs 9_x/y/z.sfs

XaeroVincent avatar Feb 18 '21 18:02 XaeroVincent

Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

I'm guessing we're already violating the license by just playing the game in a VM in the first place.

XaeroVincent avatar Feb 18 '21 18:02 XaeroVincent

Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

I'm guessing we're already violating the license by just playing the game in a VM in the first place.

I mean, I never saw anything in the agreement about a VM :/ .

PseudoDistant avatar Feb 18 '21 18:02 PseudoDistant

It says that we cannot tamper with the anticheat, nothing about not running it in emulators or VMs, it also says that we cannot disable the anticheat, but this is not the primary goal of running it in a vm

Le 18 févr. 2021 à 13:12, FarLanderCraft [email protected] a écrit :

 Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

I'm guessing we're already violating the license by just playing the game in a VM in the first place.

I mean, I never saw anything in the agreement about a VM :/ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ghost avatar Feb 18 '21 18:02 ghost

The primary goal is actually to ensure compatibility while they can’t, so this should be legal AND ToS compliant

Le 18 févr. 2021 à 13:31, pika chu [email protected] a écrit :

 It says that we cannot tamper with the anticheat, nothing about not running it in emulators or VMs, it also says that we cannot disable the anticheat, but this is not the primary goal of running it in a vm

Le 18 févr. 2021 à 13:12, FarLanderCraft [email protected] a écrit :

 Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

I'm guessing we're already violating the license by just playing the game in a VM in the first place.

I mean, I never saw anything in the agreement about a VM :/ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ghost avatar Feb 18 '21 19:02 ghost

If this is a 15FPS on a 1070M, on an i5-5250U iGPU, this will be 1fps :( This means that playing Genshin on my PC will be impossible :( Of course, playing on a macbook isn’t exactly the best idea, but syscall user dispatch isnt out yet so no wine, so my only options are still limited

Le 18 févr. 2021 à 13:31, pika chu [email protected] a écrit :

 It says that we cannot tamper with the anticheat, nothing about not running it in emulators or VMs, it also says that we cannot disable the anticheat, but this is not the primary goal of running it in a vm

Le 18 févr. 2021 à 13:12, FarLanderCraft [email protected] a écrit :

 Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact

i don't want to read the genshin licence ...

I'm guessing we're already violating the license by just playing the game in a VM in the first place.

I mean, I never saw anything in the agreement about a VM :/ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ghost avatar Feb 18 '21 19:02 ghost

If this is a 15FPS on a 1070M, on an i5-5250U iGPU, this will be 1fps :( This means that playing Genshin on my PC will be impossible :( Of course, playing on a macbook isn’t exactly the best idea, but syscall user dispatch isnt out yet so no wine, so my only options are still limited Le 18 févr. 2021 à 13:31, pika chu @.> a écrit :  It says that we cannot tamper with the anticheat, nothing about not running it in emulators or VMs, it also says that we cannot disable the anticheat, but this is not the primary goal of running it in a vm >> Le 18 févr. 2021 à 13:12, FarLanderCraft @.> a écrit : >> >  > Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact > > i don't want to read the genshin licence ... > > I'm guessing we're already violating the license by just playing the game in a VM in the first place. > > I mean, I never saw anything in the agreement about a VM :/ . > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or unsubscribe.

That's with "low" settings. You could try with "lowest" and turn off AA, but yeah it won't be great and the experience is worse than when it ran in a Windows VM.

This game requires higher-end Android smart phones (Snapdragon 845 or better is recommended) since they don't really water it down compared to the PC version and I'm guessing the x64 to Aarch64 translation is eating up a lot of resources.

You could create a spare throwaway account and play the game with Wine and the game patcher. It would be a far better experience than what we're doing here, just riskier.

If you're using a Macbook with macOS, you can just install Bluestacks 4 64-bit for Mac. It might run better compared to Android x86? Just make sure it's the 64-bit version with 64-bit Android.

From what I've read the "syscall user dispatch" wont magically allow anti-cheat kernel drivers to work under Wine. IIRC, it's more for allowing anti-tamper and other forms of DRM like Denuvo to behave better under Wine and Linux.

XaeroVincent avatar Feb 18 '21 20:02 XaeroVincent

im used to 60fps on my ipad... may as well play on it i think the best idea might be to just play on a mobile device at this point

Le 18 févr. 2021 à 15:30, XaeroVincent [email protected] a écrit :

 If this is a 15FPS on a 1070M, on an i5-5250U iGPU, this will be 1fps :( This means that playing Genshin on my PC will be impossible :( Of course, playing on a macbook isn’t exactly the best idea, but syscall user dispatch isnt out yet so no wine, so my only options are still limited … Le 18 févr. 2021 à 13:31, pika chu @.> a écrit :  It says that we cannot tamper with the anticheat, nothing about not running it in emulators or VMs, it also says that we cannot disable the anticheat, but this is not the primary goal of running it in a vm >> Le 18 févr. 2021 à 13:12, FarLanderCraft @.> a écrit : >> >  > Though I am unsure of the legality of such a thing... aka unsure if we can distribute disk images containing Genshin Impact > > i don't want to read the genshin licence ... > > I'm guessing we're already violating the license by just playing the game in a VM in the first place. > > I mean, I never saw anything in the agreement about a VM :/ . > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or unsubscribe.

That's with "low" settings. You could try with "lowest" and turn off AA, but yeah it won't be great and the experience is worse than when it ran in a VM.

This game requires higher-end Android smart phones (Snapdragon 845 or better is recommended) since they don't really water it down compared to the PC version.

You could create a spare throwaway account and play the game with Wine and the game patcher. It would be a far better experience than what we're doing here, just riskier.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ghost avatar Feb 18 '21 20:02 ghost

Screen Shot 2021-02-18 at 3 51 00 PM yeah uhh is this normal

ghost avatar Feb 18 '21 20:02 ghost

Are you on macOS or is that just a Mac Linux theme?

XaeroVincent avatar Feb 18 '21 20:02 XaeroVincent

On macOS

ghost avatar Feb 18 '21 20:02 ghost

Now it says it's i686. WHAT IS WRONG WITH YOU QEMU sorry had to vent

ghost avatar Feb 18 '21 20:02 ghost

Have you tried Bluestacks for Mac?

https://www.bluestacks.com/download.html

Or does the Mac version only support 32-bit Android games?

XaeroVincent avatar Feb 18 '21 20:02 XaeroVincent

Exactly. Also, now it boots

ghost avatar Feb 18 '21 20:02 ghost

Screen Shot 2021-02-18 at 3 57 55 PM

Something went wrong I hate windows... wait this is not windows

ghost avatar Feb 18 '21 20:02 ghost