http://bugs.winehq.org/show_bug.cgi?id=30617
Bug #: 30617 Summary: [Savegame]Error "c0000034" CreateFileW Product: Wine Version: 1.5.3 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: berillions@gmail.com Classification: Unclassified
With Bruno Jesus, we create a hack to pass the ReadFileEx error for the Ubisoft Game Launcher (see bug #28119). I tried the hack with 3 games and they work correctly.
But for two games (Assassin's Creed 2 and Revelations), the savegame does not works correctly. The savegame folder is here : "c:/users/berillions/Local Settings/Application Data/Ubisoft Game Launcher/savegame_storage/XXX/40/"
These folders exist and the savegame files too but when you launch the game, the savegame is not found, you can only begin a new game.
This is a message that i found in my +file log : warn:file:CreateFileW Unable to create file L"C:\users\berillions\Local Settings\Application Data/Ubisoft Game Launcher/savegame_storage/YmVyaWxsaW9ucw==/40/2.save.extendedmeta" (status c0000034)
trace:file:CreateFileW returning 0xffffffff
I don't think that the error come from the hack, for "Assassin's Creed Brotherhood", the savegame works correctly because the savegame files are not in the same folder. For Brotherhood the savegame can be found here : "c:/users/berillions/Saved Games/Assassin's Creed Brotherhood/SAVES"
I found that the error c0000034 (STATUS_OBJECT_NAME_NOT_FOUND) means "file is not found".
I attached the complete +file log.
http://bugs.winehq.org/show_bug.cgi?id=30617
--- Comment #1 from Berillions berillions@gmail.com 2012-05-08 05:11:24 CDT --- Created attachment 40088 --> http://bugs.winehq.org/attachment.cgi?id=40088 +file log
http://bugs.winehq.org/show_bug.cgi?id=30617
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|[Savegame]Error "c0000034" |Assassin's Creed 2 and |CreateFileW |Revelations look in wrong | |place for saved games?
http://bugs.winehq.org/show_bug.cgi?id=30617
--- Comment #2 from Berillions berillions@gmail.com 2012-05-09 15:41:51 CDT --- Like i explained in the bug report #28119, to resolv the ReadFileEx error and to have the possibility to play at Ubisoft's Game without a crack, i add this in the ReadFileEx function (Kernel32/file.c) :
If (status == STATUS_PENDING) return TRUE;
With it, the game launch without problem. But, impossible to save my game. So, i put this same line in the WriteFileEx function and now, the game can write correctly the savegame.
I know that it's not the correct solution to pass the namedpipe problem but I'm not a developer.
http://bugs.winehq.org/show_bug.cgi?id=30617
Berillions berillions@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Berillions berillions@gmail.com 2012-10-04 14:29:24 CDT --- I fix this report bug because the problem is resolved since wine 1.5.8.
http://bugs.winehq.org/show_bug.cgi?id=30617
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:35:47 CDT --- Closing bugs fixed in 1.5.15.