hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
488 stars 61 forks source link

[BUG] I can't find Genshin Impact #171

Closed TobyG74 closed 1 year ago

TobyG74 commented 1 year ago

I can't find Genshin Impact in this version, but for other version like windows and android found. Is it true that this version doesn't support this game??

Madeleaan commented 1 year ago

Nvidia for some reason restricted the game to only work in the windows app (I also heard people got around it by changing their user agent to a windows one). If you search it up, you can find many reddit posts about people having the same issue.

bergamin commented 1 year ago

I tried the user agent trick and somehow the website still detects I'm on Linux. It works for whatismybrowser.com for example, but it doesn't for Geforce Now (it stores the data in the local storage and even cleaning it up and changing the user agent, it still populates as Linux)

Sverik commented 1 year ago

Interestingly enough, my Linux native Chrome can get Genshin Impact running if switching user agent to this silly thing with the user agent switcher extension:

Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.80; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

For some reason, using Network conditions to spoof user agent in GFE Electron does not have the same effect.

bergamin commented 1 year ago

Interestingly enough, my Linux native Chrome can get Genshin Impact running if switching user agent to this silly thing with the user agent switcher extension:

Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.80; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

For some reason, using Network conditions to spoof user agent in GFE Electron does not have the same effect.

How do you set it up? It's still not loading it for me even when using the extension. This is what I get from whatismybrowser.com

Chromium:

image

Chrome (installed the Google's official Chrome just in case):

image

Sverik commented 1 year ago

useragent-switcher-preferences.json.txt Attached is export from my User Agent Switcher configuration. Note that there's a list of all the domains for which spoofing is active. Maybe not all are needed, but I wasn't able to figure out which was the most important domain. So I just added all that I saw in dev tools Network tab, that seemed to have some relation to nvidia and geforce now.

bergamin commented 1 year ago

I didn't try playing yet, but it seems to work. It took me some time to find the correct extension. I was trying to import into the wrong ones

This is the one: https://chrome.google.com/webstore/detail/user-agent-switcher-and-m/bhchdcejhohfmigjafbampogmaanbfkg

Thanks a million!

Sverik commented 1 year ago

Indeed, yes!

Kontakt Guilherme Taffarel Bergamin @.***>) kirjutas kuupäeval T, 10. jaanuar 2023 kell 04:52:

It seems to work, but it took me some time to find the correct extension. I was trying to import into the wrong ones

This is the one:

https://chrome.google.com/webstore/detail/user-agent-switcher-and-m/bhchdcejhohfmigjafbampogmaanbfkg

— Reply to this email directly, view it on GitHub https://github.com/hmlendea/gfn-electron/issues/171#issuecomment-1376654594, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBKACX4K4N6FXQXR4MX3ELWRTFG5ANCNFSM6AAAAAAQ32XZOA . You are receiving this because you commented.Message ID: @.***>

hmlendea commented 1 year ago

Closing, as this should have been fixed as part of #184. If it still persists, feel free to comment and/or reopen this issue.