[Bug 17273] Many apps and games need SetNamedPipeHandleState implementation (support for named pipe message mode)(FireFox+Flash, Win8/NET 4.x SDK/vcrun2012, WiX installers)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 3 17:40:31 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=17273

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|SetNamedPipeHandleState is  |Many apps and games need
                   |a stub (FireFox+Flash,      |SetNamedPipeHandleState
                   |Win8/NET 4.x SDK/vcrun2012  |implementation (support for
                   |installer)                  |named pipe message
                   |                            |mode)(FireFox+Flash,
                   |                            |Win8/NET 4.x SDK/vcrun2012,
                   |                            |WiX installers)

--- Comment #47 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

I found another victim:

'Gears of War' (Games for Windows Live game)

See bug 36258 for some prerequisites (other bugs).

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Gears of War/Binaries

$ WINEDEBUG=+tid,+seh,+relay wine ./Startup.exe >>log.txt 2>&1
...
0029:Call KERNEL32.CreateNamedPipeW(0033f5c4
L"\\\\.\\pipe\\00000028",40080003,00000006,00000001,00000400,00000400,00001388,0033f598)
ret=0043b57a
0029:Ret  KERNEL32.CreateNamedPipeW() retval=0000008c ret=0043b57a 
...
0029:Call KERNEL32.CreateProcessW(00000000,0033e288 L"C:\\Program Files\\Gears
of War\\Binaries\\wargame-g4wlive.exe  -seekfreeloading -final_release
-installed 
-langid=0409",00000000,00000000,00000000,00000410,00000000,00000000,0033d940,0033d930)
ret=7e7f807a 
...
002b:Call KERNEL32.ConnectNamedPipe(0000008c,0049177c) ret=0043acd0
002b:Ret  KERNEL32.ConnectNamedPipe() retval=00000000 ret=0043acd0
...
002d:Call KERNEL32.__wine_kernel_init() ret=7bc5a402
0029:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=7e7f807a 
...
002d:Call KERNEL32.CreateFileW(024ad8c0
L"\\\\.\\pipe\\00000028",c0000000,00000000,00000000,00000003,40000000,00000000)
ret=013eb8af 
...
002d:Ret  KERNEL32.CreateFileW() retval=00001ca8 ret=013eb8af 
...
002d:Call KERNEL32.SetNamedPipeHandleState(00001ca8,024ad8b8,00000000,00000000)
ret=013eb8d4 
...
002d:Ret  KERNEL32.SetNamedPipeHandleState() retval=00000000 ret=013eb8d4 
...
002d:Call user32.MessageBoxW(00000000,024a5928 L"To play Gears of War, please
double-click Startup.exe.",01915d30 L"Message",00001000) ret=00f78081 
--- snip ---

I tested with rebased patchset and it allows the game to reach the main menu.
Gameplay also seems to work (single player without G4WL account).

$ wine --version
wine-1.7.18-10-ge5d69df

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list