https://bugs.winehq.org/show_bug.cgi?id=41695
--- Comment #7 from sylviu44@gmail.com --- (In reply to yumekuineru from comment #6)
(In reply to sylviu44 from comment #5)
Created attachment 56170 [details] implement nearbyint and nearbyintf
Yeah, I had to add cdecls to both msvcrt.spec and ucrtbase.spec, and then some kind of reference to ucrtbase in api-ms-win-crt-math-l1-1-0.spec
Even though I'm not really familiar with how wine works, the League beta client's login screen works with this patch.
this alone does not really make alpha start for me.
wine 1.9.22 win64, xp staging with CSMT (I have tried without too, though not with patch). overrides for vcrun2013, vcrun2015, corefonts replaced api-math override with the same one with .dll removed
installed league from base install ran legacy client to patch upgraded to alpha client from legacy client clicked "run" on legacy client to start alpha, it crashed but created the LeagueClient.exe executable tried running LeagueClient.exe --no-sandbox, it crashed with the usual unhandled exception-errors.
I did find a leaguebase-install that works, from the playonlinux script though: https://www.playonlinux.com/en/app-1135-League_Of_Legends.html http://l3cdn.riotgames.com/Installer/SingleFileInstall/LeagueOfLegendsBaseNA. exe
i.e, it installs successfully and you can run the legacy client, but the alpha does not work at least for me.
there seems to be some workaround that was suggested in the #winehq channel where you launch the alpha client (LeagueClient.exe), wait for it to crash, then without closing the error - use xargs and /proc to relaunch one of the LeagueClientUx.exe processes, but yeah that one is on the weirder side.
The vcrun2015 overrides are the issue. In a clean 32bit prefix, run winetricks to install vcrun2013 and d3dx9. Then add a (native, builtin) override for msvcp140 from winecfg. Running LeagueClient.exe --no-sandbox using the patched wine should now work.
Sometimes it does show unhandled exceptions or err:ntdll:RtlpWaitForCriticalSection. To fix that, I just kill all the lol processes, remove the lockfile in lol's installation directory, and try again until it works. Usually runs fine after 2-3 attempts.