https://bugs.winehq.org/show_bug.cgi?id=41695
Bug ID: 41695 Summary: LeagueClient.exe Call to unimplemented function api-ms-win-crt-math-l1-1-0.dll.nearbyint Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: api-ms-win-* Assignee: wine-bugs@winehq.org Reporter: yumekuineru@hotmail.com Distribution: ---
Created attachment 56095 --> https://bugs.winehq.org/attachment.cgi?id=56095 WINEPREFIX=~/wineprefixes/League3 wine LeagueClient.exe --no-sandbox #call to unimplemented function on line 229
The LeagueClient.exe alpha client (not the game client) is no longer working, and has started giving various errors when launched, among them a call to an unimplemented function.
Getting it installed is a bit elaborate, as it depends on an existing install of League of Legends:
* Install the normal League of Legends client + game. I have not tried installing from scratch in a while, and I hear it is tricky. I have a set of extracted/downloaded files (like 1-3 GB) from earlier, that I install an older base-version from, and then patch it up to the most recent version by running the (legacy/normal) client after the first install.
* vcrun2013 via winetricks (not sure if vcrun2015 is required)
At this point the normal/legacy client works, and it can be used to start games with the game client with very few or no complications at all.
* Installing the alpha LeagueClient.exe (not the game-client) [alpha-client download as of 2016-11-11: http://euw.leagueoflegends.com/en/client-update/download ] It is possible that it might be replaced with a download of the beta-version soon, as the alpha is about to end.
It should create a new launcher in the root directory of the League install (usually 'drive_c/Riot Games/League of Legends' called LeagueClient.exe. This needs to be launched with the --no-sandbox parameter, as it uses (I believe it was) the chrome webkit/its cef-sandbox, which seems to not work with wine too well.
* Running the LeagueClient.exe client/launcher. For me, the first launch after installing opens a progress-window showing a download/install of about 1GB. After it reaches abouts halfway, the message wine: Call from 0x7b43d49c to unimplemented function api-ms-win-crt-math-l1-1-0.dll.nearbyint, aborting is produced in the log, and it crashes shortly after (and then tries relaunching several time, leading to several crashes):
wine: Unhandled page fault on write access to 0x17b74049 at address 0x7bc540e2 (thread 005d), starting debugger...
wine: Unhandled exception 0x80000003 in thread ce at address 0x11ec7223 (thread 00ce), starting debugger...
etc
But either way, previously launching LeagueClient.exe with wine (and the --no-sandbox parameter) lead to the alpha client starting, patching the game files if necessary, and being usable for starting games.
Recently (around early november/patch 6.22 ? ), I have not been able to launch it beyond the startup process. The 1280x720 client window sometimes appears with a loading symbol, but just briefly before crashing.
The first crash/error on the first launch happens pretty early (line 229 in the attached log), the rest of the log is mainly the client trying to relaunch and crashing (or timing out with existing wine instance ?).