34736384 / genshin-fps-unlock

unlocks the 60 fps cap
MIT License
2.76k stars 216 forks source link

Unlocker doesn't launch on Linux through WINE/PROTON after 3.0 update (dotnet 8.0.0) #353

Closed Rodzioo closed 2 months ago

Rodzioo commented 9 months ago

I installed .NET 8.0 on my wine prefix but it just crashes. Pre 8.0 .NET versions of unlocker worked fine. Here's log below.

https://pastebin.com/cR7W7fJu

ronhombre commented 9 months ago

You might be using the wrong DLL if it's not finding something

Rodzioo commented 9 months ago

Which dlls should I replace with winetricks?

ronhombre commented 8 months ago

Which dlls should I replace with winetricks?

System.EntryPointNotFoundException: Unable to find an entry point named 'GetThreadDpiHostingBehavior' in DLL 'USER32.dll'.

It's in the log

aamaanaa commented 8 months ago

what command did u use to install dotnet 8.0 ?

Rodzioo commented 8 months ago

what command did u use to install dotnet 8.0 ?

I did just by using wine, since winetricks doesn't seem to support installing 8.0 as of now. Strangely most apps <= dotnet7 seemed to work out of the box and the problem is only on net8. I tried troubleshooting it by myself, that is setting some dlls to native, then built in and the other way around but without much success

CrazyStevenz commented 7 months ago

@Rodzioo This was fixed here, so if you use any Wine on or after version 9.0-rc1, this should work again (tested by me with GE-Proton9-1). This issue can be closed.