http://bugs.winehq.org/show_bug.cgi?id=25364
Summary: Sacred 2 Fallen Angel requires msvcp80.dll Product: Wine Version: 1.3.8 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com
mscodescan results :
msvcp80:??$?8_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA_NABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@0@Z msvcp80:??$?8_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA_NABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@PB_W@Z msvcp80:??$?HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@0@Z msvcp80:??$?HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@PBD@Z msvcp80:??$?HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBDABV10@@Z msvcp80:??$?H_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@ABV10@0@Z msvcp80:??$?H_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@ABV10@PB_W@Z msvcp80:??$?H_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@PB_WABV10@@Z msvcp80:??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@PB_W@Z msvcp80:??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@_W@Z msvcp80:??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@D@Z msvcp80:??Y?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@ABV01@@Z msvcp80:??Y?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@PB_W@Z msvcp80:?at@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEAB_WI@Z msvcp80:?begin@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE?AV?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@XZ msvcp80:?clear@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ msvcp80:?clear@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXXZ msvcp80:?find@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEIPB_WI@Z msvcp80:?find_first_of@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEI_WI@Z msvcp80:?find_last_of@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIPBDI@Z msvcp80:?push_back@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEX_W@Z msvcp80:?substr@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBE?AV12@II@Z msvcp80:?set_new_handler@std@@YAP6AXXZP6AXXZ@Z msvcp80:?find_first_of@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIPBDII@Z msvcp80:?find_last_of@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIPBDII@Z msvcp80:?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV12@II@
http://bugs.winehq.org/show_bug.cgi?id=25364
Patrick Trentin patrick.trentin@virgilio.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.trentin@virgilio.it
http://bugs.winehq.org/show_bug.cgi?id=25364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sacred 2 Fallen Angel |Sacred 2 Fallen Angel needs |requires msvcp80.dll |msvcp80.dll.??$?8_WU?$char_ | |traits@_W@std@@V?$allocator | |@_W@1@@std@@YA_NABV?$basic_ | |string@_WU?$char_traits@_W@ | |std@@V?$allocator@_W@2@@0@0 | |@Z
http://bugs.winehq.org/show_bug.cgi?id=25364
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #1 from Piotr Caban piotr.caban@gmail.com 2011-06-23 05:14:41 CDT --- Updated list of missing functions: ??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@PB_W@Z ??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@_W@Z ?begin@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE?AV?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@XZ ?find@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEIPB_WI@Z ?push_back@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEX_W@Z ?substr@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBE?AV12@II@Z ?set_new_handler@std@@YAP6AXXZP6AXXZ@Z ?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV12@II@
http://bugs.winehq.org/show_bug.cgi?id=25364
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sacred 2 Fallen Angel needs |Sacred 2 Fallen Angel needs |msvcp80.dll.??$?8_WU?$char_ |msvcp80.dll.??4?$basic_stri |traits@_W@std@@V?$allocator |ng@_WU?$char_traits@_W@std@ |@_W@1@@std@@YA_NABV?$basic_ |@V?$allocator@_W@2@@std@@QA |string@_WU?$char_traits@_W@ |EAAV01@PB_W@Z |std@@V?$allocator@_W@2@@0@0 | |@Z |
http://bugs.winehq.org/show_bug.cgi?id=25364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |n.andrew.walsh@gmail.com
--- Comment #2 from Austin English austinenglish@gmail.com 2011-09-07 14:29:07 CDT --- *** Bug 28252 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com 2011-09-07 14:29:24 CDT --- Also affect Sniper: Ghost Warrior.
http://bugs.winehq.org/show_bug.cgi?id=25364
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #4 from André H. nerv@dawncrow.de 2011-09-07 15:48:35 CDT --- *** Bug 27921 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25364
Cùran debian@carbon-project.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |debian@carbon-project.org
--- Comment #5 from Cùran debian@carbon-project.org 2011-09-08 03:15:39 CDT --- Mass Effect is affected too (ME needs: msvcp80.dll.?begin@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE?AV?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@XZ), maybe the title could be changed to something more generic?
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #6 from Cùran debian@carbon-project.org 2011-09-11 10:04:23 CDT --- (In reply to comment #5) Mass Effect works with 1.3.28 (packages available from [0]) again. Was the symbol given in comment #5 added? I didn't see something to that effect in the changelog. Or is the bug just hidden again for me?
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #7 from Piotr Caban piotr.caban@gmail.com 2011-09-11 11:00:44 CDT --- You need to remove native msvcp80 dll to test it. The function mentioned in this bug is still not implemented. I will send some patches to improve it tomorrow.
http://bugs.winehq.org/show_bug.cgi?id=25364
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #8 from Alexey Loukianov mooroon2@mail.ru 2011-09-11 17:20:45 CDT --- "unimplemented function msvcp80.dll.?set_new_handler@std@@YAP6AXXZP6AXXZ@Z" also affects Steam version of S.T.A.L.K.E.R: SoC. Using native msvcp80.dll workarounds the problem. Tested with Wine 1.3.28.
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #9 from Alexey Loukianov mooroon2@mail.ru 2011-09-11 19:20:24 CDT --- Created an attachment (id=36331) --> (http://bugs.winehq.org/attachment.cgi?id=36331) Add set_new_handler support to Wine emulated MSVC++ 8.0 runtime
This quick-n-dirty and probably wrong patch adds "support" for std::set_new_handler to Wine's implementation of msvcp80. With this patch applied S.T.A.L.K.E.R:SoC starts up successfully and I've been able to play this game for several hours without a problem. Quick look at the msvcrt/heap.c suggests that at the moment MSVCRT_set_new_handler is broken by itself passing "NULL" instead of "func" to the private proc MSVCRT__set_new_handler.
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #10 from Piotr Caban piotr.caban@gmail.com 2011-09-12 12:28:34 CDT --- Patch attached to comment 9 is incorrect.
Updated list of missing functions: ?begin@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE?AV?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@XZ ?set_new_handler@std@@YAP6AXXZP6AXXZ@Z
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #11 from Cùran debian@carbon-project.org 2011-09-12 14:24:24 CDT --- Created an attachment (id=36339) --> (http://bugs.winehq.org/attachment.cgi?id=36339) Combined patch to add many of the missing symbols
If you want to test Piotr's patches (the nine he sent to wine-patches today), you can either grab the Debian packages from [0] or you can use the attached patch, which just rolls the nine patches into one.
Either way, most of the missing symbols referenced by this bug should have been added. (Not the one Mass Effect is demanding, though.)
[0] http://dev.carbon-project.org/debian/wine-unstable/
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #12 from Cùran debian@carbon-project.org 2011-09-13 07:01:03 CDT --- @Piotr: ok, seems like your eighteen patches implemented all symbols referenced in this bug. The one I needed is there and seems* to work for Mass Effect. (For Debian packages including all patches, please go to the link from comment #11.)
* Mass Effect still crashes, when I force the built-in msvcp80, but the only lines I can find, different from a native msvcp80 run, are:
fixme:msvcp90:locale__Init stub fixme:msvcp90:locale__Getgloballocale stub
Do you want this as a different bug? (I'd guess so.) Which debugging channels would you need?
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #13 from Piotr Caban piotr.caban@gmail.com 2011-09-13 07:04:18 CDT --- (In reply to comment #12)
- Mass Effect still crashes, when I force the built-in msvcp80, but the only
lines I can find, different from a native msvcp80 run, are:
fixme:msvcp90:locale__Init stub fixme:msvcp90:locale__Getgloballocale stub
Do you want this as a different bug? (I'd guess so.) Which debugging channels would you need?
Yes, please create a new bug. Add an information in title that locale__Init needs to be implemented. In this case console output have enough infomations.
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #14 from Austin English austinenglish@gmail.com 2011-09-13 13:13:30 CDT --- (In reply to comment #12)
@Piotr: ok, seems like your eighteen patches implemented all symbols referenced in this bug.
Fixed then. Other problems -> new bugs.
http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #15 from Alexey Loukianov mooroon2@mail.ru 2011-09-13 21:28:11 CDT --- Confirming that commits 45dc6c0..96567b1 and eba2ca4..aa19d0c fixed S.T.A.L.K.E.R: SoC crash at startup. More precisely, it was 870d35c which added support for the required symbol and 96567b1 which propagated this support into msvcp80 and others.
http://bugs.winehq.org/show_bug.cgi?id=25364
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Piotr Caban piotr.caban@gmail.com 2011-09-14 04:09:18 CDT --- Marking bug as fixed.
http://bugs.winehq.org/show_bug.cgi?id=25364
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2011-09-23 12:59:16 CDT --- Closing bugs fixed in 1.3.29.
http://bugs.winehq.org/show_bug.cgi?id=25364
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |96567b18b04f2c3e87463352d91 | |259ecdf8c1bbb