http://bugs.winehq.org/show_bug.cgi?id=9685
--- Comment #119 from Anastasius Focht focht@gmx.net 2008-06-14 10:23:23 --- Hello,
--- quote --- I don't have the time and energy to test your patch and compile wine, but does your patch make PunkBuster, or some part of PunkBuster work in Wine? --- quote ---
Sure. I just reviewed my old patches and adjusted some stuff, they still work.
The additional patch for CRYPT_QueryEmbeddedMessageObject from my comment #114 is most likely a regression.
To get all services/drivers running, the following patches are currently needed:
http://bugs.winehq.org/attachment.cgi?id=13556 (CRYPT_QueryEmbeddedMessageObject fix, most likely regression) http://bugs.winehq.org/attachment.cgi?id=14001 (patch to prevent kernel driver entry point called in LoadLibrary) http://bugs.winehq.org/attachment.cgi?id=14002 (ntdll ZwQuerySystemInformation, SystemBasicInformation class fix) http://bugs.winehq.org/attachment.cgi?id=14004 (required Ntoskrnl enhancements)
With the patches applied, the Windows version of Punkbuster is technically working - from API perspective.
From the "countermeasure" perspective there are subtle differences.
Some PB "features" don't work as intended but *Ssssh* ;-)
You can verify the "basic" function of the services (startup/communication/shutdown) with this tool from EvenBalance:
http://www.evenbalance.com/downloads/pbsvc/pbsvc.exe
C:\WINDOWS\system32\PnkBstrA.exe C:\WINDOWS\system32\PnkBstrB.exe C:\WINDOWS\system32\drivers\PnkBstrK.sys
For further information see: http://www.evenbalance.com/index.php?page=pbsvcfaq.php
----
Out of curiosity .. I visited some BF1942 Punkbuster enabled servers to test the reviewed patches and it seems they didn't carry out API fingerprinting check, tested for some hours without single kick. Though that could be coincidence.
Regards