https://bugs.winehq.org/show_bug.cgi?id=43051
Bug ID: 43051 Summary: Rise of the Tomb Raider needs unimplemented function msvcr110.dll.__crtCapturePreviousContext Product: Wine Version: 2.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: fincer89@hotmail.com Distribution: ---
Created attachment 58214 --> https://bugs.winehq.org/attachment.cgi?id=58214 ROTTR, unimplemented function msvcr110.dll.__crtCapturePreviousContext
As stated in the title, Rise of the Tomb Raider (64-bit Steam game) requires unimplemented function msvcr110.dll.__crtCapturePreviousContext
Basically, Wine complains about:
wine: Call from 0x7b4567ea to unimplemented function msvcr110.dll.__crtCapturePreviousContext, aborting
Lack of the function makes playing the game impossible (you can still access the main menu but go no further).
Short log (relevant part) as an attachment.
Full log file here:
https://www.dropbox.com/s/s2ft59wg8jv81hn/rottr-unimplemented-msvcr110-funct...
Full log includes the following steps:
1) Launching 64-bit Steam client 2) Launching the game 3) Accessing the main menu 4) Trying to start a new game 5) ROTTR doesn't show the intro movie which is presented before the actual gameplay. Only black screen appears. 6) Killing ROTTR.exe & quitting Steam client
https://bugs.winehq.org/show_bug.cgi?id=43051
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=43051
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43050
https://bugs.winehq.org/show_bug.cgi?id=43051
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=43051
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=43051
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40450
https://bugs.winehq.org/show_bug.cgi?id=43051
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byi5000@gmail.com
--- Comment #1 from BieHDC byi5000@gmail.com --- I can confirm this issue
fixme:seh:call_stack_handlers nested exception wine: Call from 0x7b450d1a to unimplemented function msvcr110.dll.__crtCapturePreviousContext, aborting err:seh:setup_exception stack overflow 2608 bytes in thread 01ad eip 000000007bc9ff3c esp 0000000000140be0 stack 0x140000-0x141000-0x240000
https://bugs.winehq.org/show_bug.cgi?id=43051
scix asheldon55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asheldon55@gmail.com
--- Comment #2 from scix asheldon55@gmail.com --- Workaround: Set msvcr110.dll to native, built-in (or just native) in winecfg
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #3 from Fincer fincer89@hotmail.com --- @scix
Thanks for the workaround!
The game ships its own versions of msvcr110.dll & msvcp110.dll files. Setting native override in winecfg without actually installing vcrun2012 via winetricks seems to do the trick here.
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #4 from Fincer fincer89@hotmail.com --- *** Bug 40450 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43051
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=43051
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43051
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Ever confirmed|0 |1
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming on behalf of OP.
Regards
https://bugs.winehq.org/show_bug.cgi?id=43051
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #6 from Piotr Caban piotr.caban@gmail.com --- Created attachment 60902 --> https://bugs.winehq.org/attachment.cgi?id=60902 __crtCapturePreviousContext implementation
Could you please give attached patch a try (it's generated on top of current git version)?
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #7 from Pekka Helenius fincer89@hotmail.com --- @Piotr Caban
Thanks for submitting the patch.
Unfortunately, the game launcher (ROTTR.exe // Steam) doesn't start on vanilla Wine (Staging works). The issue is preventing me to test the patch you submitted.
I have opened a new bug issue for the hang-up here: https://bugs.winehq.org/show_bug.cgi?id=44849
After that, I will gladly test the patch on vanilla Wine.
https://bugs.winehq.org/show_bug.cgi?id=43051
Pekka Helenius fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |44849
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- You can try applying the patch to wine-staging. It should be pretty easy.
https://bugs.winehq.org/show_bug.cgi?id=43051
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/msvcr110-__crtCa | |pturePreviousContext Status|NEW |STAGED CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=43051 Bug 43051 depends on bug 44849, which changed state.
Bug 44849 Summary: Rise of The Tomb Raider (Steam, Game launcher) fails to start, needs realtime updates to KSYSTEM_TIME members in KUSER_SHARED_DATA https://bugs.winehq.org/show_bug.cgi?id=44849
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |DUPLICATE
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #9 from Piotr Caban piotr.caban@gmail.com --- The patch is in wine-staging 3.5. Is it working for you?
https://bugs.winehq.org/show_bug.cgi?id=43051
--- Comment #10 from Pekka Helenius fincer89@hotmail.com --- Hey,
sorry for not replying earlier. As I saw this issue already marked as "STAGED" I thought not to reply as I didn't expect anyone to wait for a reply from me. Sorry for this confusion, not meant to be ignorant or anything alike.
I tested the patch quite soon as I was able to in the last weekend. And yes, it seems to work. Thank you a lot!
https://bugs.winehq.org/show_bug.cgi?id=43051
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |19bb93ec100785c6466f211165d | |2353e96f58d20 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=19bb93ec100785c6466f21116...
https://bugs.winehq.org/show_bug.cgi?id=43051
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.6.