https://bugs.winehq.org/show_bug.cgi?id=45349
--- Comment #16 from i.Dark_Templar idarktemplar@mail.ru --- (In reply to Maciej Stanczew from comment #15)
(In reply to i.Dark_Templar from comment #13)
Not sure if it should be reported here or in bug 49582. I've built wine-staging 5.13 manually. It is possible that I did it somehow wrong, but it's unlikely. And wine-staging 5.13 still fails to launch Starcraft 2 for me, similar to wine-staging 5.12. I still have to fallback to wine-staging 5.11.
Did you build Wine with PE support? If yes, can you try to launch SC2 manually, with "wine SC2Switcher_x64.exe" from inside of "StarCraft II/Support64" directory? There may be a chance that you're seeing bug 49590.
No. I'm using Gentoo, and official wine packages from Gentoo currently don't support mingw compiler. I think it means wine is built without PE support. At least currently present versions up to 5.12 don't. I'm not sure if Gentoo maintainers have any plans to support compiling wine with mingw, but I guess if they'd have such plans, they'd implement it by now, since wine 5.0 with this feature was released quite some time ago.
Wine staging 5.11 worked fine while it was compiled without mingw, i.e. without PE feature.
I've tried starting Starcraft II as described anyway, and got error similar to one described in bug 49582. Here's log with default debug settings:
002c:fixme:winediag:__wine_start_process Wine Staging 5.13 is a testing version containing experimental patches. 002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org. 0034:err:module:__wine_process_init L"C:\windows\system32\winemenubuilder.exe" not found 002c:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (126). 00b0:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 000000014000107C, 0000000140024860, 0000000140024880) stub. 00b0:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000140020520, 43) stub 00b0:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"BlizzardEntertainment.StarCraftII.StarCraftII": stub 00b8:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 00000001400D017C, 000000014387BAB0, 000000014387BAD0) stub. 00b8:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000014332C2A0, 43) stub 00c0:fixme:ver:GetCurrentPackageId (000000000962FE40 0000000000000000): stub 00b8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00b8:err:virtual:virtual_setup_exception stack overflow 1824 bytes in thread 00b8 addr 0x7bc81ee6 stack 0x9ef08e0 (0x9ef0000-0x9ef1000-0xa6f0000)