http://bugs.winehq.org/show_bug.cgi?id=28119
Summary: Games with UPlay won't start due to ReadFileEx failture Product: Wine Version: 1.3.26 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: NightNord@gmail.com
Created an attachment (id=36026) --> (http://bugs.winehq.org/attachment.cgi?id=36026) Ubisoft Launcher console output
Any game which is working via UPlay (From Dust, HoMM VI beta, probably any other recent Ubisoft title) won't start on wine.
Laucher says, that there is "some problems" with game start and it's internal logging system will output (among other things) this line: [ERROR ] NamedPipeReceiveLoop.cpp (74) : ReadFileEx failed, error = 997.
Full log of From Dust internal debug attached.
This is kernel-2.6.39, gentoo linux, but should be irrelevant.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #1 from Night Nord NightNord@gmail.com 2011-08-17 17:57:25 CDT --- Created an attachment (id=36027) --> (http://bugs.winehq.org/attachment.cgi?id=36027) WINEDEBUG=+file,+relay,+debugstr trimmed log
Trimmed around this ReadFileEx message output, if it makes any sense.
http://bugs.winehq.org/show_bug.cgi?id=28119
Kevin Turner kevinperson@topicbox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kevinperson@topicbox.com
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #2 from Kevin Turner kevinperson@topicbox.com 2011-09-07 22:44:04 CDT --- error 997 is ERROR_IO_PENDING. MSDN comments "The GetLastError code ERROR_IO_PENDING is not a failure; it designates the read operation is pending completion asynchronously. For more information, see Remarks."
which suggests to me that maybe this is a red herring, or maybe UPlay is terribly written. But that's just wild conjecture on my part since I don't really know these APIs.
http://bugs.winehq.org/show_bug.cgi?id=28119
jf@lalande.nom.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jf@lalande.nom.fr
http://bugs.winehq.org/show_bug.cgi?id=28119
Marco D moonbane@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |moonbane@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #3 from Marco D moonbane@gmx.net 2011-12-17 03:57:49 CST --- With wine 1.3.35 we have a real error now (error 109) which is not very surprising, since pipes are not fully implemented in wine.
fixme:ntdll:server_ioctl_file Unsupported ioctl 110004 (device=11 access=0 func=1 method=0) 2011-12-17 10:53:54 [ 42] [INFO ] OrbitGameFacade.cpp (265) : A game connected to the pipe. 2011-12-17 10:53:54 [ 90] [ERROR ] NamedPipeReceiveLoop.cpp (74) : ReadFileEx failed, error = 109. 2011-12-17 10:53:54 [ 42] [ERROR ] OrbitGameFacade.cpp (294) : Game connection closed due to corrupt message. fixme:win:FlashWindowEx 0x14dcf70
http://bugs.winehq.org/show_bug.cgi?id=28119
David davilando@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |davilando@gmail.com
--- Comment #4 from David davilando@gmail.com 2011-12-21 15:12:38 CST --- I can confirm the error of Marco D. when trying to start a Ubisoft game (Assassins Creed Revelations)
2011-12-21 22:04:31 [ 64] [INFO ] OrbitGameFacade.cpp (215) : Starting game with product id 40 in offline mode. fixme:ntdll:server_ioctl_file Unsupported ioctl 110004 (device=11 access=0 func=1 method=0) 2011-12-21 22:04:31 [ 97] [ERROR ] NamedPipeReceiveLoop.cpp (74) : ReadFileEx failed, error = 997. 2011-12-21 22:04:31 [ 58] [INFO ] OrbitGameFacade.cpp (265) : A game connected to the pipe. 2011-12-21 22:04:31 [ 58] [ERROR ] OrbitGameFacade.cpp (294) : Game connection closed due to corrupt message.
I got pretty much the same error a long time ago when trying to start Assassins Creed Brotherhood. In the end I had to use a no-dvd crack, altough I do own a legal copy of the game, and also registered my copy online. The same counts for Assassins Creed Revelations, altough I didn't use a crack for that yet, since I hope a well working implemantation of named pipes will soon be there :)
This because I've seen some development in the following post: http://bugs.winehq.org/show_bug.cgi?id=17195
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #5 from David davilando@gmail.com 2011-12-21 15:13:33 CST --- And another tiny note, I forgot to report the used wine version: wine-1.3.35
http://bugs.winehq.org/show_bug.cgi?id=28119
thanoulas thanoulas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thanoulas@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28119
dudewiththebling@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dudewiththebling@gmail.com
--- Comment #6 from dudewiththebling@gmail.com 2012-03-06 16:24:20 CST --- even if i try the wine debug=+file, +relay, +debugstr it still wont let me play
http://bugs.winehq.org/show_bug.cgi?id=28119
Cedric Heintz cedric@ced117.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cedric@ced117.net
http://bugs.winehq.org/show_bug.cgi?id=28119
Alessandro Pezzoni alessandro_pezzoni@lavabit.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alessandro_pezzoni@lavabit. | |com
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #7 from Alessandro Pezzoni alessandro_pezzoni@lavabit.com 2012-04-14 12:01:06 CDT --- I can confirm this bug is present for Assassin's Creed: Brotherhood, with wine 1.5.2.
http://bugs.winehq.org/show_bug.cgi?id=28119
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx@gmail.com Ever Confirmed|0 |1
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2012-04-14 12:37:02 CDT --- Multiple user confirmation.
http://bugs.winehq.org/show_bug.cgi?id=28119
Berillions berillions@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berillions@gmail.com
--- Comment #9 from Berillions berillions@gmail.com 2012-04-22 05:16:21 CDT --- Yes, this error message appear for all Ubisoft's games, excepted "Heroes VI" and "Rayman : Origins"
Adam Martinson create 4 patch to implement improvements for the NamedPipe in Wine but these patch don't resolve this bug.
He's taking a break with wine but it's possible to try to resolv the problem with her patch.
http://bugs.winehq.org/show_bug.cgi?id=28119
Ernst ernst@planetcoms.co.za changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ernst@planetcoms.co.za
--- Comment #10 from Ernst ernst@planetcoms.co.za 2012-04-26 01:02:10 CDT --- Have been testing it for a few months now and still this problem exists, I was hoping the new version 1.3 of HMM6 would resolve the problem, however it still exists.
I hope someone at wine will be able to fix this.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #11 from Berillions berillions@gmail.com 2012-04-26 11:52:44 CDT --- (In reply to comment #10)
I hope someone at wine will be able to fix this.
You made a dream :p Since the creation of this bug in the bugzilla, nobody tried to resolv this problem, excepted Adam who create a patch for the NamedPipe but these patch don't resolv our problem.
For me, i think that these will be never resolved, because it's maybe difficult to implement in Wine, i don't know.
For new Ubisoft's Games (like Assassin's Creed III), kept a Windows partition.
http://bugs.winehq.org/show_bug.cgi?id=28119
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |c_korn@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #12 from Berillions berillions@gmail.com 2012-05-05 16:53:01 CDT --- (In reply to comment #8)
Multiple user confirmation.
Hi Bruno,
It's nice to say "Multiple user confirmation" but we don't know if this bug will be resolved in the future.
Since this bug is open (August 2011), nobody Wine's dev came here to ask a WINEDEBUG's log create by us with our games to try, in the first time, to find where come from the problem exactly and in a second time, to try to resolv it.
And even if this bug is impossible to fix in wine, the Wine's dev can come here to say to us : "Sorry guys, this bug is impossible to resolve, have no false hopes."
Thanks, Max
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2012-05-05 17:16:13 CDT --- (In reply to comment #12)
Hi, Max. That was a standard triaging action. Is it possible to reproduce this problem with a demo of any of the affected games?
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #14 from Berillions berillions@gmail.com 2012-05-05 17:40:44 CDT --- (In reply to comment #13)
(In reply to comment #12)
Hi, Max. That was a standard triaging action. Is it possible to reproduce this problem with a demo of any of the affected games?
Hi,
Unfortunately, it's not possible to reproduce this bug with a demo because there aren't demo for Ubisoft's games. Excepted "Might and Magic Heroes VI", this game has a demo but don't use Ubisoft Game Launcher so there isn't bug... :s
There are 3 solutions, one bad and two good (i must to trust you or other wine dev) :
1- Download illegaly "Assassin's Creed : Revelations" and use Skidrow crack because there is the same bug when i launch the game.
2- Buy Assassin's Creed 2 in your country. The game released in 2009, he costs 10-15€/$ and it's the first game which use Ubisoft Game Launcher (Ubi DRM)
3- I have always Assassin's Creed II/Brotherhood/Revelations installed on my PC, you can ask me a WINEDEBUG log, i can make test for with your explanations
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com 2012-05-05 23:33:00 CDT --- Unfortunately I have an onboard intel graphics, possibly none of these games will ever run here.
As there are no demos available we need to find a simpler way to reproduce this issue. It can be a smaller application or a test case.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #16 from Berillions berillions@gmail.com 2012-05-07 16:11:45 CDT --- Created attachment 40085 --> http://bugs.winehq.org/attachment.cgi?id=40085 Hack for ubisoft games - will break other programs!
Hack for ubisoft games - will break other programs!
Thanks to this hack, the error 997 is resolved and you can launch your Ubisoft games in Online/Offline mode without crack.
For me, the hack works with the 3 Assassin's Creed games (AC2, Brotherhood and Révélations)
Please, try this hack and post your test.
For the persons who will try Assassin's Creed 2/Revelations or other games, there is probably a bug because of the hack. In fact, the savegame does not work in the Online/Offline mode. I would like to know if you are this problem too.
Assassin's Creed : Brotherhood is not affected by this problem.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #17 from Alessandro Pezzoni alessandro_pezzoni@lavabit.com 2012-05-08 07:20:58 CDT --- So far Berillions' hack seems to be working fine here with Assassin's Creed: Brotherhood. After a short playing I hadn't experienced any issues.
http://bugs.winehq.org/show_bug.cgi?id=28119
Berillions berillions@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40085|0 |1 is obsolete| |
--- Comment #18 from Berillions berillions@gmail.com 2012-05-09 16:03:52 CDT --- Created attachment 40106 --> http://bugs.winehq.org/attachment.cgi?id=40106 New hack for Ubisoft Game Launcher
This new version of patch resolv the save bug for 2 Ubisoft's games, Assassin's Creed 2 and Revelations.
Thanks to try this patch with others games.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #19 from Ernst ernst@planetcoms.co.za 2012-05-10 08:22:26 CDT --- (In reply to comment #18)
Created attachment 40106 [details] New hack for Ubisoft Game Launcher
This new version of patch resolv the save bug for 2 Ubisoft's games, Assassin's Creed 2 and Revelations.
Thanks to try this patch with others games.
Tested the Patch with Heroes of Might and Magic VI and game launches in online mode... However I get
OrbitSavegameSynchronizer.cpp (487) : Failed to download savegamelist
When trying to sync savegames.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #20 from Ernst ernst@planetcoms.co.za 2012-05-10 08:24:12 CDT --- (In reply to comment #19)
(In reply to comment #18)
Created attachment 40106 [details] New hack for Ubisoft Game Launcher
This new version of patch resolv the save bug for 2 Ubisoft's games, Assassin's Creed 2 and Revelations.
Thanks to try this patch with others games.
Tested the Patch with Heroes of Might and Magic VI and game launches in online mode... However I get
OrbitSavegameSynchronizer.cpp (487) : Failed to download savegamelist
When trying to sync savegames.
More Info after the second try I got.
fixme:win:FlashWindowEx 0x14dce60 fixme:secur32:schan_imp_create_session Using hardcoded "NORMAL" priority fixme:secur32:schan_imp_create_session Using hardcoded "NORMAL" priority 2012-05-10 15:22:54 [ 40] [ERROR ] XmlParser.cpp (49) : Failed to parse XML. Error string="no element found". Line 1. Column 0. Byte index 4294967295. 2012-05-10 15:22:54 [ 40] [ERROR ] OrbitSavegameSynchronizer.cpp (769) : failed to parse savegamelist: "" 2012-05-10 15:22:54 [ 40] [ERROR ] OrbitSavegameSynchronizer.cpp (487) : Failed to download savegamelist
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #21 from Berillions berillions@gmail.com 2012-05-10 10:07:16 CDT --- (In reply to comment #19)
Tested the Patch with Heroes of Might and Magic VI and game launches in online mode... However I get
OrbitSavegameSynchronizer.cpp (487) : Failed to download savegamelist
When trying to sync savegames.
I have the same error with Assassin's Creed games but even if you launch your game in Online or Offline mode, the savegame are in your HDD.
Can you see in ~/Your_Prefix/drive_c/users/Your_Users/Local Settings/Application Data/ if you have a folder named "Ubisoft Game Launcher" ?
The savegame for AC2 and Revelations are in this folder.
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #22 from Berillions berillions@gmail.com 2012-05-13 03:39:09 CDT --- *** Bug 28453 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=28119
gummismall@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gummismall@mail.ru
--- Comment #23 from gummismall@mail.ru 2012-05-26 01:42:32 CDT --- None of these patches work for me =(
But before them i had glitched text in Revelations launcher, now i can use play button, but i still get readFileEx error. Tried this patch with wine versions 1.5.0, 1.4-rc2, 1.3.34. By the way, with this patch all my other programs work well, although it says that it will "will break other programs".
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #24 from Berillions berillions@gmail.com 2012-05-26 04:25:40 CDT --- (In reply to comment #23)
None of these patches work for me =(
But before them i had glitched text in Revelations launcher, now i can use play button, but i still get readFileEx error. Tried this patch with wine versions 1.5.0, 1.4-rc2, 1.3.34. By the way, with this patch all my other programs work well, although it says that it will "will break other programs".
Try the hack with the latest wine version 1.5.5 please
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #25 from dudewiththebling@gmail.com 2012-05-26 15:37:37 CDT --- (In reply to comment #24)
(In reply to comment #23)
None of these patches work for me =(
But before them i had glitched text in Revelations launcher, now i can use play button, but i still get readFileEx error. Tried this patch with wine versions 1.5.0, 1.4-rc2, 1.3.34. By the way, with this patch all my other programs work well, although it says that it will "will break other programs".
Try the hack with the latest wine version 1.5.5 please
im never patched a wineskin engine on mac os 10.6.8 before. would you mind giving me instructions or sending me the patched engine please. if you can send it, send it to dudewiththebling@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #26 from gummismall@mail.ru 2012-05-28 01:44:22 CDT --- (In reply to comment #24)
(In reply to comment #23)
None of these patches work for me =(
But before them i had glitched text in Revelations launcher, now i can use play button, but i still get readFileEx error. Tried this patch with wine versions 1.5.0, 1.4-rc2, 1.3.34. By the way, with this patch all my other programs work well, although it says that it will "will break other programs".
Try the hack with the latest wine version 1.5.5 please
Yeah, already got it, saw Bronze status for Ravelations with wine 1.5.5. Every Ubisoft game works now, my other applications work as intended too even after the patch. Good job, thank you!
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #27 from Ernst ernst@planetcoms.co.za 2012-05-28 05:20:05 CDT --- Hi there.
Wine seems to work just fine with this patch.
Will this be incorporated into future Wine versions?
http://bugs.winehq.org/show_bug.cgi?id=28119
Kolignon omranefadhel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |omranefadhel@gmail.com
--- Comment #28 from Kolignon omranefadhel@gmail.com 2012-06-09 04:38:08 CDT --- (In reply to comment #18)
Created attachment 40106 [details] New hack for Ubisoft Game Launcher
This new version of patch resolv the save bug for 2 Ubisoft's games, Assassin's Creed 2 and Revelations.
Thanks to try this patch with others games.
Hi Gentlemen !
I would like to try your patch, but I have simply no experience in hacking softwares. Is there a tutorial or a simple explanation which you could provide me ?
COnfiguration: Mac OS 10.7.4, crossover 10.2
thank you in advance for your answer
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #29 from Bruno Jesus 00cpxxx@gmail.com 2012-06-18 15:15:12 CDT --- Patch commited: http://source.winehq.org/git/wine.git/commit/14404713de18cc04e2f9b91603c4c68...
Can you retry in git and check if it's fixed?
http://bugs.winehq.org/show_bug.cgi?id=28119
--- Comment #30 from Berillions berillions@gmail.com 2012-06-18 15:17:27 CDT --- (In reply to comment #29)
Patch commited: http://source.winehq.org/git/wine.git/commit/14404713de18cc04e2f9b91603c4c68...
Can you retry in git and check if it's fixed?
Works for with these games : Assassin's Creed II / Brotherhood / Revelations Prince of Persia : Forgotten Sand Driver : San Francisco
http://bugs.winehq.org/show_bug.cgi?id=28119
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |14404713de18cc04e2f9b91603c | |4c68397a16820 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #31 from Bruno Jesus 00cpxxx@gmail.com 2012-06-18 16:26:00 CDT --- (In reply to comment #30)
Works for with these games : Assassin's Creed II / Brotherhood / Revelations Prince of Persia : Forgotten Sand Driver : San Francisco
Thanks, resolving fixed then.
http://bugs.winehq.org/show_bug.cgi?id=28119
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:29:47 CDT --- Closing bugs fixed in 1.5.7.
https://bugs.winehq.org/show_bug.cgi?id=28119
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maximgb@yandex.ru
--- Comment #33 from Anastasius Focht focht@gmx.net --- *** Bug 28051 has been marked as a duplicate of this bug. ***