http://bugs.winehq.org/show_bug.cgi?id=31794
Bug #: 31794 Summary: XCOM: Enemy Unknown demo fails to launch Product: Wine Version: 1.5.13 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: phoenix@mail.ru Classification: Unclassified
Created attachment 41818 --> http://bugs.winehq.org/attachment.cgi?id=41818 XCOM launch stdout log
Repro steps: 1) Install steam (i think you can do it safely without hurting actual result via winetricks) 2) Add XCOM: Enemy Unknown demo to your library 3) Download and install it 4) Attempt to launch
Result: Game fails to launch, following error is printed to stdout: wine: Call from 0x7bc4cdf0 to unimplemented function KERNEL32.dll.GetFileInformationByHandleEx, aborting
Note: I have attached the part of wine log which is generated after i try to launch the game
http://bugs.winehq.org/show_bug.cgi?id=31794
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2012-09-25 05:40:23 CDT ---
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
Fix your setup at first.
http://bugs.winehq.org/show_bug.cgi?id=31794
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41818|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=31794
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com Summary|XCOM: Enemy Unknown demo |XCOM: Enemy Unknown demo |fails to launch |needs | |KERNEL32.dll.GetFileInforma | |tionByHandleEx
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #2 from Anton Vorobyov phoenix@mail.ru 2012-09-25 10:31:58 CDT --- Created attachment 41823 --> http://bugs.winehq.org/attachment.cgi?id=41823 XCOM startup log
Tried both winbind & winbind4. Updated log attached.
Now steam shows visual error message, and advertisement window after it detects launch failure (it seems that most of new lines in log are generated by ads window).
http://bugs.winehq.org/show_bug.cgi?id=31794
Anton Vorobyov phoenix@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41818|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #3 from Anton Vorobyov phoenix@mail.ru 2012-09-25 10:42:19 CDT --- Created attachment 41824 --> http://bugs.winehq.org/attachment.cgi?id=41824 Error screenshot
http://bugs.winehq.org/show_bug.cgi?id=31794
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Component|-unknown |kernel32 Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2012-09-25 12:39:32 CDT --- Confirming, unimplemented.
http://bugs.winehq.org/show_bug.cgi?id=31794
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #5 from Christian Costa titan.costa@gmail.com 2012-09-26 10:33:42 CDT --- Download keyword should be removed if there is no link to a downloadable version.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2012-09-26 11:20:08 CDT --- (In reply to comment #5)
Download keyword should be removed if there is no link to a downloadable version.
It's a steam demo, since steam is free I guess it's ok to keep the download tag. http://store.steampowered.com/freestuff/demos/
http://bugs.winehq.org/show_bug.cgi?id=31794
Christoffer Hammarström kreiger@linuxgods.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kreiger@linuxgods.com
http://bugs.winehq.org/show_bug.cgi?id=31794
hash HASH.DuOrden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |HASH.DuOrden@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #7 from Christian Costa titan.costa@gmail.com 2012-10-04 04:45:35 CDT --- Created attachment 41966 --> http://bugs.winehq.org/attachment.cgi?id=41966 stub
Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #8 from Christian Costa titan.costa@gmail.com 2012-10-04 04:48:56 CDT --- Created attachment 41967 --> http://bugs.winehq.org/attachment.cgi?id=41967 stub v2
Use this one instead.
http://bugs.winehq.org/show_bug.cgi?id=31794
Anton Vorobyov phoenix@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41823|0 |1 is obsolete| |
--- Comment #9 from Anton Vorobyov phoenix@mail.ru 2012-10-04 10:39:03 CDT --- Created attachment 41973 --> http://bugs.winehq.org/attachment.cgi?id=41973 Log with stub v2 applied
Lines 1-53 are irrelevant to XCOM (steam startup process and so on). Starting from line 54, i try to launch XCOM. Its process appears and starts to consume ~100% of CPU. Then i wait for 2-3 minutes and kill it (after 60th line, thus lines 54-60 are the only related to XCOM). After process is killed, it shows me the same error as in attachment 41824. Lines 61+ are steam-related: ads window, shutdown and cleanup process.
http://bugs.winehq.org/show_bug.cgi?id=31794
rmlipman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rmlipman@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31794
giuseppegebbia@msn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |giuseppegebbia@msn.com
http://bugs.winehq.org/show_bug.cgi?id=31794
unsuspicious.fakename+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |unsuspicious.fakename+wine@ | |gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31794
Jamin Collins jcollins@asgardsrealm.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jcollins@asgardsrealm.net
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #10 from Anton Vorobyov phoenix@mail.ru 2012-10-11 18:53:44 CDT --- CIS official release is affected by this bug too.
http://bugs.winehq.org/show_bug.cgi?id=31794
Per Johansson per@morth.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |per@morth.org
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #11 from unsuspicious.fakename+wine@gmail.com 2012-10-13 02:59:34 CDT --- Didn't encounter the error with wine / stub v2 applied.
Have not yet been able to test without stub2 applied (/ in clean wine prefix) yet though, since my steam wouldn't work at all first and I recompiled / messed around a LOT prior to installing the game... also moved my steam folder around prefixes a little and installed "unofficial patches" for the game because steam kept crashing.
If debug output from a really "dirty" install like this is of any help, post what exactly you need (I don't really know what I'm doing and I guess I'll be busy trying to make sound work for a while, so I can't recompile / try vanilla wine ATM).
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #12 from Anton Vorobyov phoenix@mail.ru 2012-10-13 04:25:53 CDT --- Sorry, i can't understand from your comment - were you able to launch the game or not?
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #13 from unsuspicious.fakename+wine@gmail.com 2012-10-13 04:55:17 CDT --- Oh, sry.
Yes, it launches without any problems and seems to be running fine, just without sound.
( Can't tell why though: I never encountered this bug here. The first time I started the game, I already had that stub2 patch applied + various other random & desperate things that I tried while steam was taking a freaking 2 days to download the game. )
http://bugs.winehq.org/show_bug.cgi?id=31794
Vincas Miliūnas vincas.miliunas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vincas.miliunas@gmail.com
--- Comment #14 from Vincas Miliūnas vincas.miliunas@gmail.com 2012-10-13 05:17:30 CDT --- The part of GetFileInformationByHandleEx that is used by XCOM demo on launch was committed yesterday and is part of WINE 1.5.15. Can somebody retest with it?
Just before starting of the first mission the game also uses OpenFileById function, which was also committed yesterday. Unfortunately I cannot test it myself, because AMD video drivers hang in an infinite loop when the game reaches the main menu for most of the time (just once I was able to get past it only to find the game crash on a missing OpenFileById function).
Also it's best to use winetricks to install steam, they maintain a script to workaround bugs. And to get sound working, you might need to suspend or remove pulseaudio.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #15 from Anton Vorobyov phoenix@mail.ru 2012-10-13 05:21:32 CDT --- I just tried with latest wine from git, updated today, pulling commits for last 3-4 days (1.5.15 w/o any patches applied, i ran 'git reset --hard origin' prior to compiling) and game launched fine.
Magic.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #16 from Anton Vorobyov phoenix@mail.ru 2012-10-13 05:22:11 CDT --- Vincas Miliūnas, yes, i checked the commit tree and it seems that your commits helped. Thanks alot.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #17 from Anton Vorobyov phoenix@mail.ru 2012-10-13 05:24:56 CDT --- Unfortunately, I can't check demo (it disappeared from my steam library once I purchased full version), but i believe it should launch too now.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #18 from Anton Vorobyov phoenix@mail.ru 2012-10-13 05:29:06 CDT --- As for audio under pulse - it works here just fine. Clean prefix, steam via winetricks, just xcom within the prefix, NVIDIA gpu, gnome 3.4.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #19 from Christoffer Hammarström kreiger@linuxgods.com 2012-10-14 07:20:21 CDT --- The game still crashes for me with newly built Wine 1.5.15, with variations like
fixme:file:GetFileInformationByHandleEx 0x8f4, 2, 0x252e8c4, 2048
fixme:file:GetFileInformationByHandleEx 0x11a0, 2, 0x252ed98, 2048
fixme:file:GetFileInformationByHandleEx 0x1154, 2, 0x252ed98, 2048
each time.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #20 from Christian Costa titan.costa@gmail.com 2012-10-14 07:46:46 CDT --- Created attachment 42120 --> http://bugs.winehq.org/attachment.cgi?id=42120 FileNameInfo
Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #21 from Christoffer Hammarström kreiger@linuxgods.com 2012-10-14 10:15:28 CDT --- (In reply to comment #20)
Created attachment 42120 [details] FileNameInfo
Does the attached patch help?
Yes! Thank you so much! I was able to play through the tutorial for the first time!
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #22 from Jamin Collins jcollins@asgardsrealm.net 2012-10-14 21:28:15 CDT --- The game is still crashing for me, just as what appears to be the main screen comes up (looks like a car with an arm hanging out and options along the bottom). Then I get a Steam dialog:
Steam - Error This game is currently unavailable ( Application running ).
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #23 from Christoffer Hammarström kreiger@linuxgods.com 2012-10-15 06:34:11 CDT --- (In reply to comment #22)
The game is still crashing for me, just as what appears to be the main screen
Jamin: Is that with Wine 1.5.15 with the patch in attachment 42120 by Christian Costa?
Does it log anything about GetFileInformationByHandleEx?
The game still crashes a *lot* for me.
I can play for max 10 minutes at a time, so i save a lot, but it no longes logs anything about GetFileInformationByHandleEx when it does, so i'm assuming it's due to some other bug.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #24 from unsuspicious.fakename+wine@gmail.com 2012-10-15 06:50:26 CDT --- I'm starting to feel like most of this is something else or maybe mostly just coincidence...
I did the following: - Set wine virtual + ingame (windowed/borderless) resolution to native resolution (which I already tried in the very beginning - didn't help) - Recompiled wine 1.5.15 with the latest patch from this thread - Accidentally installed old wine 1.5.14 instead of the newly compiled 15+patch - Nothing else changed.
That just doesn't make any sense (to me)... Been playing several hours (yes, first with 1.5.14, then with vanilla 1.5.15) and it didn't crash a single time. Could this be a bug in xcom (the game's own caching or something), not wine? I had very frequent crashes a few days ago, then the next day it crashed only once every hour or so and now... never.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #25 from Jamin Collins jcollins@asgardsrealm.net 2012-10-15 10:20:35 CDT --- (In reply to comment #23)
(In reply to comment #22)
The game is still crashing for me, just as what appears to be the main screen
Jamin: Is that with Wine 1.5.15 with the patch in attachment 42120 [details] by Christian Costa?
Yes, I applied that patch to the current git tree and recompiled.
Does it log anything about GetFileInformationByHandleEx?
Doesn't appear to, I'll attach the output from a full run.
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #26 from Jamin Collins jcollins@asgardsrealm.net 2012-10-15 10:21:45 CDT --- Created attachment 42133 --> http://bugs.winehq.org/attachment.cgi?id=42133 Run with Costa's patch
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #27 from Christian Costa titan.costa@gmail.com 2012-10-15 14:48:45 CDT --- Patch committed (d13f7720eb77d6a5167a0887bfbdd212bd1dd53c). Could you file a new bug for the remaining problems so this bug can be close?
http://bugs.winehq.org/show_bug.cgi?id=31794
--- Comment #28 from Christoffer Hammarström kreiger@linuxgods.com 2012-10-15 19:30:28 CDT --- For what it's worth, i updated my Nvidia drivers, and now the game is crashing a lot less, two crashes over maybe three-four hours of playing instead of one crash at least every ten minutes.
I believe this bug is FIXED. I'm not sure the other crashes aren't actual bugs in the game.
http://bugs.winehq.org/show_bug.cgi?id=31794
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d13f7720eb77d6a5167a0887bfb | |dd212bd1dd53c Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #29 from Austin English austinenglish@gmail.com 2012-10-15 19:46:05 CDT --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=31794
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org 2012-10-26 13:30:33 CDT --- Closing bugs fixed in 1.5.16.