[Bug 30901] 32-bit PunkBuster services fail to run in 64-bit WINEPREFIX

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 28 08:50:20 CDT 2012


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://www.evenbalance.com/
                   |                            |downloads/pbsvc/pbsvc.exe
                 CC|                            |focht at gmx.net
            Summary|[PunkBuster && 64Bits       |32-bit PunkBuster services
                   |Prefix]Assassin's Creed     |fail to run in 64-bit
                   |Brotherhood/Revelations     |WINEPREFIX
                   |Multiplayer does not works  |
     Ever Confirmed|0                           |1

--- Comment #4 from Anastasius Focht <focht at gmx.net> 2012-06-28 08:50:20 CDT ---
Hello,

the PB client software (installer, services) is 32-bit but the "receiving"
endpoint which handles the service install is a 64-bit process (services.exe).

PnkBstrA/B/K.exe in syswow64 is by design due to wow64 filesystem redirection
(this is where the 32-bit parts end up).
The PunkBuster logfiles in "c:\windows\system\LogFiles\PunkBuster\*" are
special.
Folders like "LogFiles" are excluded from wow64 filesystem redirection (by
design).

When the service is created using CreateService() API, the request is handled
by 64-bit services.exe which works on the 64-bit registry branch.
Hence all registry entries related to PB services end in 64-bit registry while
the 32-bit service executables live in redirected 32-bit folder (syswow64).

--- quote ---
I found a solution for the problems in the 64Bits prefix. I just copied the 2
files PnkBstrA.exe/PnkBstrB.exe to windows/system32.
--- quote ---

Well you made the 32-bit executables "visible" for the 64-bit Service Control
Manager by putting them in 64-bit system32 (64-bit WINEPREFIX).
The services are of course started as 32-bit processes.

--- quote ---
On Windows, when PB is installed in 64Bits version, these 2 files are installed
in syswow64 folder but the services are launched by "system32/PnkBstrA.exe" (i
see that when i check in windows process list). It's strange because these
files don't exist really in system32 folder...
--- quote ---

"system32" folder has a different meaning depending on 32 or 64-bit process and
redirection settings.

You can replicate the problem by using "pbsvc" tool.

See appdb entry for details:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=5813

Adjusted the summary as this is not limited to a specific game/PB client
flavour.

$ wine --version
wine-1.5.7-158-g4a367c5

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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