https://bugs.winehq.org/show_bug.cgi?id=41670
Bug ID: 41670 Summary: Planetside 2: BattlEye service not starting Product: Wine Version: 1.9.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntoskrnl Assignee: wine-bugs@winehq.org Reporter: arsh79@gmail.com Distribution: ---
Created attachment 56062 --> https://bugs.winehq.org/attachment.cgi?id=56062 error in cosole for the 'failed to initialize battleye service' window
Trying to run the latest version of the game, Installer runs fine, but game doesn't start. On the first run the launcher tries to install battleye service, which it fails with the error in the attachment. On subsequent runs it just hangs forever trying to start the same service without outputting any error.
https://bugs.winehq.org/show_bug.cgi?id=41670
arsh79@gmail.com arsh79@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arsh79@gmail.com
--- Comment #1 from arsh79@gmail.com arsh79@gmail.com --- Created attachment 56063 --> https://bugs.winehq.org/attachment.cgi?id=56063 Planetside2_x64.exe backtrace
This is the backtrace for the game executable, launched directly.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #2 from arsh79@gmail.com arsh79@gmail.com --- Forgot to list winetricks installed: d3dx9_43, d3dcompiler_43, vcrun2010, xinput and corefonts. Clean 64bit WinXP bottle.
https://bugs.winehq.org/show_bug.cgi?id=41670
Ben Parsons 9parsonsb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |9parsonsb@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
darin.avery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |darin.avery@gmail.com
--- Comment #3 from darin.avery@gmail.com --- I have the same problem. I start the program, the launcher comes up, then i hit play, the battleye launcher window opens saying "Starting Battleye Service..." and hangs there. Shortly thereafter the launcher window closes and the battleye window hangs indefinitely.
Same outcome with 1.9.22, 1.9.22-staging, 1.7.55-staging (ie playonlinux default for this game).
I believe i've got the same winetricks installed as arsh. How do i confirm in PoL? I've hit configure / install components / hit i know d3dx9_43, xinput, and corefonts but don't see any confirmation that installation completed or a list of installed ones.
Is battleye new to this game? The appdb page says gold as of august.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #4 from darin.avery@gmail.com --- Created attachment 56122 --> https://bugs.winehq.org/attachment.cgi?id=56122 Playonlinux.log of game failing to start
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #5 from darin.avery@gmail.com --- I posted a log of playonlinux debug mode. There are a few errors of a network-y nature that suggest they may be related to battleye not connecting:
[1113/075626:ERROR:network_change_notifier_win.cc(159)] WSALookupServiceBegin failed with: 8
[1113/075626:WARNING:cert_verify_proc_win.cc(109)] Unknown error -2146762482 mapped to net::ERR_FAILED
https://bugs.winehq.org/show_bug.cgi?id=41670
Lele random-system@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |random-system@libero.it
--- Comment #6 from Lele random-system@libero.it --- Hello I have same problem and same error.
I think that problem is this
https://bugs.winehq.org/show_bug.cgi?id=27680
On forum PS2 say
" A 64-bits virtual disk is required. "
Bye Lele
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #7 from darin.avery@gmail.com --- I am using wine 64. But i think we're not alone. See the appdb page here: https://appdb.winehq.org/objectManager.php?sClass=version&iId=27109&...
https://bugs.winehq.org/show_bug.cgi?id=41670
wine-devel@hurrikhan.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-devel@hurrikhan.eu
--- Comment #8 from wine-devel@hurrikhan.eu --- I get the same error on wine 1.9.22 and 1.9.23-staging starting "Yesterday" I think it happens after the game has already crashed.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #9 from Ben Parsons 9parsonsb@gmail.com --- (In reply to wine-devel from comment #8)
I get the same error on wine 1.9.22 and 1.9.23-staging starting "Yesterday" I think it happens after the game has already crashed.
This has been happening since the PS2 devs added Battleye
(In reply to darin.avery from comment #7)
I am using wine 64. But i think we're not alone. See the appdb page here: https://appdb.winehq.org/objectManager. php?sClass=version&iId=27109&iTestingId=95772
This bug page is linked in the most recent test, hopefully we can get some visibility so that it will be fixed
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #10 from darin.avery@gmail.com --- (In reply to Ben Parsons from comment #9)
(In reply to wine-devel from comment #8)
I get the same error on wine 1.9.22 and 1.9.23-staging starting "Yesterday" I think it happens after the game has already crashed.
This has been happening since the PS2 devs added Battleye
Right, and if i'm reading the fora correctly (i'm new to ps2, never actually played it), then this happened back in March. So i don't understand the gold tests in November and august.
I do get what look to my untrained eye to be related errors on the commandline output, see the attachment in #4 and comment #5.
On #8's comment: i got a crash every time during the post install start. I suppose i should have closed the installer before trying to play the game the first time. But in any event the first time i run it i get a different error in the battleye launcher than subsequent attempts. I don't have time right now to get that error because it takes 10GB download to re-install. I'll see later whether i can find and clear an init file that it would have written to so i can get that error again.
https://bugs.winehq.org/show_bug.cgi?id=41670
acescopezz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |acescopezz@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #11 from Ben Parsons 9parsonsb@gmail.com --- (In reply to darin.avery from comment #10)
Right, and if i'm reading the fora correctly (i'm new to ps2, never actually played it), then this happened back in March. So i don't understand the gold tests in November and august.
I have done some more research, but as far as I can tell, this only started once BattlEye was fully implemented
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #12 from darin.avery@gmail.com --- How do i begin debugging this? I have classroom experience with C and quite a bit of on the job with other languages, but i'm not sure where to go after grabbing the source and looking at the fixmes in the commandline output. Specifically, i don't know how to isolate the failure point. Is there a commonly used debug tool that would, say, point me to an infinite loop or bad return that is causing battleye to hang?
https://bugs.winehq.org/show_bug.cgi?id=41670
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #13 from winetest@luukku.com --- (In reply to darin.avery from comment #12)
How do i begin debugging this? I have classroom experience with C and quite a bit of on the job with other languages, but i'm not sure where to go after grabbing the source and looking at the fixmes in the commandline output. Specifically, i don't know how to isolate the failure point. Is there a commonly used debug tool that would, say, point me to an infinite loop or bad return that is causing battleye to hang?
http://source.winehq.org/git/wine.git/
you search the fixme lines here.
and write into google "msdn function name/fixme" it gives you instructions how certain functions supposed to work if they are documented by microsoft.
In time you will notice what fixmes are important and what not. Cant help you with mode advanced debugging. There is wine FAQ for it. Also many times the last line in the output and crash locations gives a clue of the component and crash location.
https://bugs.winehq.org/show_bug.cgi?id=41670
lilyrivers48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lilyrivers48@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #14 from lilyrivers48@gmail.com --- Created attachment 56902 --> https://bugs.winehq.org/attachment.cgi?id=56902 Fixme for battleye loading
Here are the fixme bits for when the lib is loaded
https://bugs.winehq.org/show_bug.cgi?id=41670
lilyrivers48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #56902|Fixme for battleye loading |Fixme for battleye loading description| |on 2.0-rc5-staging
https://bugs.winehq.org/show_bug.cgi?id=41670
rob@khaonyx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rob@khaonyx.net
--- Comment #15 from rob@khaonyx.net --- The 3 fixme's I see in common with my output are:
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ntdll:EtwEventRegister fixme:ntdll:EtwEventSetInformation
(That hex flag is LOAD_LIBRARY_SEARCH_SYSTEM32)
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #16 from acescopezz@gmail.com --- (In reply to rob from comment #15)
The 3 fixme's I see in common with my output are:
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ntdll:EtwEventRegister fixme:ntdll:EtwEventSetInformation
(That hex flag is LOAD_LIBRARY_SEARCH_SYSTEM32)
I found this on MSDN referring to this flag:
If this value is used, %windows%\system32 is searched for the DLL and its dependencies. Directories in the standard search path are not searched. This value cannot be combined with LOAD_WITH_ALTERED_SEARCH_PATH. Windows 7, Windows Server 2008 R2, Windows Vista and Windows Server 2008: This value requires KB2533623 to be installed.
Windows Server 2003 and Windows XP: This value is not supported.
(most important thing is it is not supported on windows xp)
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #17 from acescopezz@gmail.com --- (In reply to acescopezz from comment #16)
(In reply to rob from comment #15)
The 3 fixme's I see in common with my output are:
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ntdll:EtwEventRegister fixme:ntdll:EtwEventSetInformation
(That hex flag is LOAD_LIBRARY_SEARCH_SYSTEM32)
I found this on MSDN referring to this flag:
If this value is used, %windows%\system32 is searched for the DLL and its dependencies. Directories in the standard search path are not searched. This value cannot be combined with LOAD_WITH_ALTERED_SEARCH_PATH. Windows 7, Windows Server 2008 R2, Windows Vista and Windows Server 2008: This value requires KB2533623 to be installed.
Windows Server 2003 and Windows XP: This value is not supported.
(most important thing is it is not supported on windows xp)
Scratch this, it's just not supported in Wine yet.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #18 from lilyrivers48@gmail.com --- I read some more into it this morning and I think it has something to do with VC++2015 (which isn't supported by wine apparently)
https://forum.winehq.org/viewtopic.php?f=2&t=26356
Using a windows 7 prefix if that helps, still doesn't work on latest staging
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #19 from winetest@luukku.com --- Quesswork doesn't help. Appdb has few notes how to get the game working, don't know if they are up to date anymore. Also you should be running from 64bit prefix, it was said that the 32bit version of the game has been discontinued.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #20 from lilyrivers48@gmail.com --- I've had the game working for well over a year, we're all certain it's battleye that doesn't work.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #21 from rob@khaonyx.net --- Is there a way to disable Battleye? I thought it was required.
https://bugs.winehq.org/show_bug.cgi?id=41670
joshvala014@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joshvala014@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
turakar23@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |turakar23@gmail.com
--- Comment #22 from turakar23@gmail.com --- Sae problem here with wine-2.4 (Staging).
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #23 from winetest@luukku.com --- I just tried this game for the 1st time, fresh wineprefix, wine-staging 2.7
19:22:18: Installing BattlEye Service... 19:22:18: Successfully installed BattlEye Service. 19:22:19: Failed to initialize BattlEye Service: Driver Init Error (2).
Does this game require a service that boots with pc?
Didn't try any tricks. At current state this game is garbage with wine and this bug is blocking to test few other PS2 bugs.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #24 from lilyrivers48@gmail.com --- yes, it requires battleye which it installs when you update the game
https://bugs.winehq.org/show_bug.cgi?id=41670
C0rn3j spleefer90@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spleefer90@gmail.com
--- Comment #25 from C0rn3j spleefer90@gmail.com --- this also affects PLAYERUNKNOWN'S BATTLEGROUNDS
16:41:10: Installing BattlEye Service... 16:41:10: Successfully installed BattlEye Service. 16:41:10: Failed to initialize BattlEye Service: Driver Init Error (2).
Wine staging 2.9
https://bugs.winehq.org/show_bug.cgi?id=41670
Simon Körner winehq@lubiland.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@lubiland.de
https://bugs.winehq.org/show_bug.cgi?id=41670
Hoek dawid.job@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dawid.job@gmail.com
--- Comment #26 from Hoek dawid.job@gmail.com --- (In reply to C0rn3j from comment #25)
this also affects PLAYERUNKNOWN'S BATTLEGROUNDS
16:41:10: Installing BattlEye Service... 16:41:10: Successfully installed BattlEye Service. 16:41:10: Failed to initialize BattlEye Service: Driver Init Error (2).
Wine staging 2.9
Same problem here with PLAYERUNKNOWN'S BATTLEGROUNDS 2.9-staging x64 d3dx11 vcrun2013 OverrideDLL dwrite off
Game stuck on launching with same error like above.
When searching on the net I found only two information that there is a problem with DRM and vcrun2015 and that BattleyEye sucks :(
Any ideas how to solve the problem?
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #27 from Hoek dawid.job@gmail.com --- Created attachment 58350 --> https://bugs.winehq.org/attachment.cgi?id=58350 PlayOnLinux - PLAYERUNKNOWN'S BATTLEGROUNDS
https://bugs.winehq.org/show_bug.cgi?id=41670
Captain Crutches captaincrutches@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |captaincrutches@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
daedmen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daedmen@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Justas Lavišius bucaneer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bucaneer@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=41670
Eric Culp eculperic@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eculperic@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #28 from lilyrivers48@gmail.com --- Created attachment 59320 --> https://bugs.winehq.org/attachment.cgi?id=59320 Trace for wine 2.17 in vista mode
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #29 from lilyrivers48@gmail.com --- The crash appears to be related to MmMapLockedPagesSpecifyCache being a stub. The lib tries to access memory that has not been mapped and then crashes. Errors about dll loading in the system directory have disappeared in 2.17/8 in windows 7 mode.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #30 from mirh mirh@protonmail.ch --- (In reply to lilyrivers48 from comment #29)
The crash appears to be related to MmMapLockedPagesSpecifyCache being a stub. The lib tries to access memory that has not been mapped and then crashes.
If that's the case, bug 37355, comment 2 may have a hack
https://bugs.winehq.org/show_bug.cgi?id=41670
tictacbum@gmail.com tictacbum@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tictacbum@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
zaplo00@mailfence.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zaplo00@mailfence.com
--- Comment #31 from zaplo00@mailfence.com --- (In reply to mirh from comment #30)
(In reply to lilyrivers48 from comment #29)
The crash appears to be related to MmMapLockedPagesSpecifyCache being a stub. The lib tries to access memory that has not been mapped and then crashes.
If that's the case, bug 37355, comment 2 may have a hack
wine-staging 2.19, PLAYERUNKNOWN'S BATTLEGROUND doesn't proceed from "Starting BattlEye Service..." message and default log level doesn't show anything. That patch don't help either.
https://bugs.winehq.org/show_bug.cgi?id=41670
Jason Ajmo jgajmo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jgajmo@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
hadim marelo64@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marelo64@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Andrey anvivanov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anvivanov@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Jack Coulter jscinoz@jscinoz.so changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jscinoz@jscinoz.so
https://bugs.winehq.org/show_bug.cgi?id=41670
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tadgeee@gmail.com
--- Comment #32 from Anastasius Focht focht@gmx.net --- *** Bug 42571 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=41670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://static.tibia.com/dow | |nload/Tibia_Setup.exe CC| |focht@gmx.net Status|UNCONFIRMED |NEW Summary|Planetside 2: BattlEye |BattlEye service |service not starting |'BEService' fails to start | |'BEDaisy' kernel service | |(Planetside2, H1Z1: King of | |the Kill, Tibia 11) Ever confirmed|0 |1 Component|ntoskrnl |programs
--- Comment #33 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect dupes.
This ticket has been recycled for various different(!) issues, partially due to broken installations/Wine versions etc.
The issue with non-functional/crashing 'BEDaisy.sys' kernel driver, mentioned in comment #29 is already covered by bug 37355 (it only targets the first crash). The message "Failed to initialize BattlEye Service: Driver Init Error (2)." is directly related to this. Technically this bug would be a duplicate of bug 37355
To make this ticket still useful, there is another bug with the Battleye helper service 'BEService' which starts the kernel driver service 'BEDaisy.sys'.
Due to a regression with service state/transition handling, the kernel driver service is not started by the helper service anymore (only once upon installation). When the window "Starting BattlEye Service..." shows up, you need to issue 'wine net stop BEService' command from another console and wait a bit. The app will detect this and restart the helper service which in turn will start the kernel service.
Fixing this problem should be the goal here. It doesn't help to make Battleye overall functional which is a rather ambitious goal. Also meta-bugs shall be avoided.
$ sha1sum Tibia_Setup.exe 50951008ccc402cc32407bfc56a88da873e3e9bd Tibia_Setup.exe
$ du -sh Tibia_Setup.exe 5.2M Tibia_Setup.exe
$ wine --version wine-3.1-193-g354fa7eb79
Regards
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #34 from Anastasius Focht focht@gmx.net --- Hello folks,
in addition to the 'BEService' helper service startup/transition problem it also suffers from bug 38836 ("SCM 'StartService' must wait for driver service entry point execution before").
I have a number of patches (hacks) to make the 'BEDaisy' kernel driver service somewhat functional that it survives the driver initialization (entry point) and ran into bug 38836
I will create additional tickets later to describe the different problem domains.
Regards
https://bugs.winehq.org/show_bug.cgi?id=41670
jonwsb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jonwsb@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
madcat777@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madcat777@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
https://bugs.winehq.org/show_bug.cgi?id=41670
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=41670
Tom Englund tomenglund26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomenglund26@gmail.com
--- Comment #35 from Tom Englund tomenglund26@gmail.com --- (In reply to Anastasius Focht from comment #34)
Hello folks,
in addition to the 'BEService' helper service startup/transition problem it also suffers from bug 38836 ("SCM 'StartService' must wait for driver service entry point execution before").
I have a number of patches (hacks) to make the 'BEDaisy' kernel driver service somewhat functional that it survives the driver initialization (entry point) and ran into bug 38836
I will create additional tickets later to describe the different problem domains.
Regards
any news on this? tried pubg recently with wine-staging 3.6 and battleye simply just gets stuck on "01:29:48: Starting BattlEye Service..." no valuable errors or fixme in the console.
https://bugs.winehq.org/show_bug.cgi?id=41670
--- Comment #36 from Hoek dawid.job@gmail.com --- (In reply to Tom Englund from comment #35)
(In reply to Anastasius Focht from comment #34)
Hello folks,
in addition to the 'BEService' helper service startup/transition problem it also suffers from bug 38836 ("SCM 'StartService' must wait for driver service entry point execution before").
I have a number of patches (hacks) to make the 'BEDaisy' kernel driver service somewhat functional that it survives the driver initialization (entry point) and ran into bug 38836
I will create additional tickets later to describe the different problem domains.
Regards
any news on this? tried pubg recently with wine-staging 3.6 and battleye simply just gets stuck on "01:29:48: Starting BattlEye Service..." no valuable errors or fixme in the console.
Same here. Players Unknown Battlegrounds still not working.
https://bugs.winehq.org/show_bug.cgi?id=41670
Greg R. Perry greg@gregrperry.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greg@gregrperry.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Pekka Helenius fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Dmitriy xomachiner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xomachiner@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=41670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |obfuscation Summary|BattlEye service |BattlEye launcher stuck at |'BEService' fails to start |'Starting BattlEye |'BEDaisy' kernel service |Service...' (PUBG, |(Planetside2, H1Z1: King of |Planetside2, H1Z1: King of |the Kill, Tibia 11) |the Kill, Tibia 11)
--- Comment #37 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Client side:
--- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/Tibia/packages/Tibia/bin
$ WINEDEBUG=+timestamp,+seh,+relay,+loaddll,+process,+ntoskrnl,+service wine ./client_launcher.exe >>log.txt 2>&1 ... 12503.443:000f:trace:service:load_service_config Image path = L""C:\Program Files\Common Files\BattlEye\BEService.exe"" 12503.443:000f:trace:service:load_service_config Group = (null) 12503.443:000f:trace:service:load_service_config Service account name = L"LocalSystem" 12503.443:000f:trace:service:load_service_config Display name = L"BattlEye Service" 12503.443:000f:trace:service:load_service_config Service dependencies : (none) 12503.443:000f:trace:service:load_service_config Group dependencies : (none) ... 12503.971:0009:Call KERNEL32.CreateFileW(0033efb8 L"C:\Program Files\Common Files\BattlEye\BEService_tibia.exe",80000000,00000003,0033e8bc,00000003,00000080,00000000) ret=00419292 12503.971:0009:Ret KERNEL32.CreateFileW() retval=00000048 ret=00419292 ... 12503.971:0009:Call advapi32.OpenSCManagerW(00000000,00000000,00000001) ret=00466bd7 12503.971:0009:trace:service:SERV_OpenSCManagerW ((null),(null),0x00000001) ... 12503.974:0009:trace:service:SERV_OpenSCManagerW returning 0x14ca58 12503.974:0009:Ret advapi32.OpenSCManagerW() retval=0014ca58 ret=00466bd7 ... 12503.974:0009:Call advapi32.OpenServiceW(0014ca58,004246bc L"BEService",00000034) ret=004479a5 12503.974:0009:trace:service:SERV_OpenServiceW 0x14ca58 L"BEService" 0x00000034 ... 12503.975:0009:Ret advapi32.OpenServiceW() retval=0014ca98 ret=004479a5 ... 12503.975:0009:Call KERNEL32.CreateFileW(0033f1c0 L"C:\Program Files\Common Files\BattlEye\BEService.exe",80000000,00000001,00000000,00000003,00000000,00000000) ret=0045753c 12503.975:0009:Ret KERNEL32.CreateFileW() retval=00000050 ret=0045753c ... 12504.024:0009:Call advapi32.StartServiceW(0014ca98,00000000,00000000) ret=0043bf4a 12504.024:0009:trace:service:StartServiceW 0x14ca98 0 (nil) ... 12504.031:0031:trace:process:__wine_kernel_init starting process name=L"C:\Program Files\Common Files\BattlEye\BEService.exe" argv[0]=L"C:\Program Files\Common Files\BattlEye\BEService.exe" 12504.034:0031:trace:loaddll:load_native_dll Loaded L"C:\Program Files\Common Files\BattlEye\BEService.exe" at 0x400000: native 12504.034:0014:trace:process:create_process_impl started process pid 0030 tid 0031 ... 12504.506:0009:Ret advapi32.StartServiceW() retval=00000001 ret=0043bf4a 12504.506:0009:Call advapi32.QueryServiceStatus(0014ca98,0033eb1c) ret=00478817 12504.506:0009:trace:service:QueryServiceStatus 0x14ca98 0x33eb1c 12504.506:0009:trace:service:QueryServiceStatusEx 0x14ca98 0 0x33e958 36 0x33e954 ... 12504.507:0009:Ret advapi32.QueryServiceStatus() retval=00000001 ret=00478817 12504.507:0009:Call KERNEL32.CreateFileW(0033eb38 L"\\.\pipe\BattlEye",c0000000,00000000,00000000,00000003,00000000,00000000) ret=0043bf11 12504.507:0009:Ret KERNEL32.CreateFileW() retval=00000068 ret=0043bf11 12504.507:0009:Call KERNEL32.SetNamedPipeHandleState(00000068,0033ea1c,00000000,00000000) ret=0042f5a5 12504.507:0009:Ret KERNEL32.SetNamedPipeHandleState() retval=00000001 ret=0042f5a5 12504.507:0009:Call KERNEL32.GetNativeSystemInfo(0033eab4) ret=004336f4 12504.507:0009:Ret KERNEL32.GetNativeSystemInfo() retval=00000000 ret=004336f4 12504.507:0009:Call KERNEL32.WriteFile(00000068,0033ebb8,000000e3,0033ea08,00000000) ret=004568db 12504.507:0009:Ret KERNEL32.WriteFile() retval=00000001 ret=004568db 12504.507:0009:Call KERNEL32.ReadFile(00000068,0033ebb8,00000400,0033ea08,00000000) ret=0043ac10 12554.742:0009:Ret KERNEL32.ReadFile() retval=00000000 ret=0043ac10 12554.742:0009:Call KERNEL32.CloseHandle(00000068) ret=004646b3 12554.742:0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=004646b3 12554.742:0009:Call KERNEL32.Sleep(00000064) ret=004396bf 12554.842:0009:Ret KERNEL32.Sleep() retval=00000000 ret=004396bf 12554.842:0009:Call advapi32.QueryServiceStatus(0014ca98,0033eb1c) ret=00478817 12554.842:0009:trace:service:QueryServiceStatus 0x14ca98 0x33eb1c 12554.842:0009:trace:service:QueryServiceStatusEx 0x14ca98 0 0x33e958 36 0x33e954 ... 12554.845:0009:Ret advapi32.QueryServiceStatus() retval=00000001 ret=00478817 12554.845:0009:Call KERNEL32.Sleep(00000064) ret=004396bf 12554.945:0009:Ret KERNEL32.Sleep() retval=00000000 ret=004396bf ... --- snip ---
BE Service side:
--- snip --- ... 12504.505:0034:Starting thread proc 0x7e5b526b (arg=0x14c900) 12504.505:0034:trace:service:service_thread 0x14c900 12504.505:0034:Call advapi32.RegisterServiceCtrlHandlerA(004365ba "",0041a500) ret=0044d448 12504.505:0034:trace:service:RegisterServiceCtrlHandlerExW L"" 0x7e5ba731 0x41a500 12504.505:0034:Ret advapi32.RegisterServiceCtrlHandlerA() retval=0014ca20 ret=0044d448 12504.505:0034:Call advapi32.SetServiceStatus(0014ca20,0043da60) ret=0056ea97 12504.505:0034:trace:service:SetServiceStatus 0x14ca20 10 4 1 0 0 0 0 ... 12504.506:0034:Ret advapi32.SetServiceStatus() retval=00000001 ret=0056ea97 12504.506:0034:Call KERNEL32.CreateNamedPipeA(00f1fe38 "\\.\pipe\BattlEye",40040003,00000006,00000002,00000400,00000400,00000000,00000000) ret=005ff52a 12504.506:0034:Ret KERNEL32.CreateNamedPipeA() retval=0000005c ret=005ff52a 12504.506:0034:Call KERNEL32.CreateNamedPipeA(00f1fe38 "\\.\pipe\BattlEye",40040003,00000006,00000002,00000400,00000400,00000000,00000000) ret=0063e40c 12504.506:0034:Ret KERNEL32.CreateNamedPipeA() retval=00000060 ret=0063e40c 12504.506:0034:Call advapi32.GetSecurityInfo(0000005c,00000006,00000004,00000000,00000000,00f16798,00000000,00f16768) ret=0069a031 12504.506:0034:Ret advapi32.GetSecurityInfo() retval=00000000 ret=0069a031 12504.506:0034:Call advapi32.AllocateAndInitializeSid(00f174ac,00000001,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00f1685c) ret=00445687 12504.506:0034:Ret advapi32.AllocateAndInitializeSid() retval=00000001 ret=00445687 12504.506:0034:Call advapi32.SetEntriesInAclA(00000001,00f16608,00000000,00f16858) ret=004f18c6 12504.506:0034:Ret advapi32.SetEntriesInAclA() retval=00000000 ret=004f18c6 12504.506:0034:Call advapi32.SetSecurityInfo(0000005c,00000006,00000004,00000000,00000000,0014eca8,00000000) ret=0066bc20 12504.506:0034:Ret advapi32.SetSecurityInfo() retval=00000000 ret=0066bc20 ... 12504.506:0034:Call advapi32.GetSecurityInfo(00000060,00000006,00000004,00000000,00000000,00f16798,00000000,00f16768) ret=0069a031 12504.506:0034:Ret advapi32.GetSecurityInfo() retval=00000000 ret=0069a031 12504.506:0034:Call advapi32.AllocateAndInitializeSid(00f174ac,00000001,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00f1685c) ret=00445687 12504.506:0034:Ret advapi32.AllocateAndInitializeSid() retval=00000001 ret=00445687 12504.506:0034:Call advapi32.SetEntriesInAclA(00000001,00f16608,0014ebac,00f16858) ret=004f18c6 12504.506:0034:Ret advapi32.SetEntriesInAclA() retval=00000000 ret=004f18c6 12504.506:0034:Call advapi32.SetSecurityInfo(00000060,00000006,00000004,00000000,00000000,0014ecd0,00000000) ret=0066bc20 12504.506:0034:Ret advapi32.SetSecurityInfo() retval=00000000 ret=0066bc20 ... 12504.507:0034:Call ws2_32.WSAStartup(00000202,00f16bac) ret=005e69f7 12504.507:0034:Ret ws2_32.WSAStartup() retval=00000000 ret=005e69f7 12504.507:0034:Call ws2_32.socket(00000002,00000002,00000011) ret=004b902d ... 12504.507:0034:Call ntdll.wine_server_handle_to_fd(00000064,00000000,00f15e3c,00000000) ret=7e5100e3 12504.507:0034:Ret ntdll.wine_server_handle_to_fd() retval=00000000 ret=7e5100e3 12504.507:0034:Call ntdll.wine_server_release_fd(00000064,00000011) ret=7e510117 12504.507:0034:Ret ntdll.wine_server_release_fd() retval=00000000 ret=7e510117 12504.507:0034:Ret ws2_32.socket() retval=00000064 ret=004b902d 12504.507:0034:Call ws2_32.ioctlsocket(00000064,8004667e,00f16764) ret=0068c6b4 12504.507:0034:Ret ws2_32.ioctlsocket() retval=00000000 ret=0068c6b4 12504.507:0034:Call advapi32.OpenProcessToken(ffffffff,00000020,00f1680c) ret=0045a077 12504.507:0034:Ret advapi32.OpenProcessToken() retval=00000001 ret=0045a077 12504.507:0034:Call advapi32.LookupPrivilegeValueA(00000000,004358d4,00f16650) ret=00575df2 12504.507:0034:Ret advapi32.LookupPrivilegeValueA() retval=00000001 ret=00575df2 12504.507:0034:Call advapi32.AdjustTokenPrivileges(00000068,00000000,00f1743c,00000000,00000000,00000000) ret=005d2292 12504.507:0034:Ret advapi32.AdjustTokenPrivileges() retval=00000001 ret=005d2292 12504.507:0034:Call KERNEL32.CloseHandle(00000068) ret=0064254a 12504.507:0034:Ret KERNEL32.CloseHandle() retval=00000001 ret=0064254a 12504.507:0034:Call KERNEL32.GetTickCount() ret=00665b17 12504.507:0034:Ret KERNEL32.GetTickCount() retval=00becdbb ret=00665b17 12504.507:0034:Call KERNEL32.GetLastError() ret=00421189 12504.507:0034:Ret KERNEL32.GetLastError() retval=00000000 ret=00421189 12504.507:0034:Call ntdll.RtlAllocateHeap(00110000,00000008,00000364) ret=0041ffbc 12504.507:0034:Ret ntdll.RtlAllocateHeap() retval=0014ec58 ret=0041ffbc 12504.510:0034:Call KERNEL32.ConnectNamedPipe(0000005c,0043ca30) ret=00579ed8 12504.510:0034:Ret KERNEL32.ConnectNamedPipe() retval=00000000 ret=00579ed8 12504.510:0034:Call KERNEL32.GetLastError() ret=0045526b 12504.510:0034:Ret KERNEL32.GetLastError() retval=000003e5 ret=0045526b 12504.510:0034:Call KERNEL32.CreateFileA(00f1fde4 "\\.\BlackBone",80000000,00000003,00000000,00000003,00000000,00000000) ret=00632229 12504.510:0034:Ret KERNEL32.CreateFileA() retval=ffffffff ret=00632229 12504.510:0034:Call KERNEL32.Sleep(00000064) ret=006b9498 12504.610:0034:Ret KERNEL32.Sleep() retval=00000000 ret=006b9498 12504.611:0034:Call KERNEL32.CreateFileA(00f1fde4 "\\.\BlackBone",80000000,00000003,00000000,00000003,00000000,00000000) ret=00632229 12504.611:0034:Ret KERNEL32.CreateFileA() retval=ffffffff ret=00632229 12504.611:0034:Call KERNEL32.Sleep(00000064) ret=006b9498 12504.711:0034:Ret KERNEL32.Sleep() retval=00000000 ret=006b9498 12504.712:0034:Call KERNEL32.CreateFileA(00f1fde4 "\\.\BlackBone",80000000,00000003,00000000,00000003,00000000,00000000) ret=00632229 12504.712:0034:Ret KERNEL32.CreateFileA() retval=ffffffff ret=00632229 12504.712:0034:Call KERNEL32.Sleep(00000064) ret=006b9498 12504.812:0034:Ret KERNEL32.Sleep() retval=00000000 ret=006b9498 12504.812:0034:Call KERNEL32.CreateFileA(00f1fde4 "\\.\BlackBone",80000000,00000003,00000000,00000003,00000000,00000000) ret=00632229 12504.812:0034:Ret KERNEL32.CreateFileA() retval=ffffffff ret=00632229 12504.813:0034:Call KERNEL32.Sleep(00000064) ret=006b9498 12504.913:0034:Ret KERNEL32.Sleep() retval=00000000 ret=006b9498 ... <repeats> --- snip ---
The service creates two named pipe instances '\\.\pipe\BattlEye' in message mode and sets the pipe security. After some other startup initialization tasks, the service thread calls 'ConnectNamedPipe()' to wait for clients to connect. The call returns 'ERROR_IO_PENDING' because the client already managed to open and write to the named pipe. Check the timestamps of the relevant API calls from both snippets. Instead of calling 'GetOverlappedResult()', the service thread just endlessly loops trying to open '\\.\BlackBone', with small delays in between. BlackBone is some hacking framework/lib (https://github.com/DarthTon/Blackbone), also used for cheating. The failure to open the driver symlink is expected.
The client just sits in a loop, querying the service status. If the service is terminated manually by issuing 'wine net stop BEService' from another terminal, the client starts another client instance with parameter '3' which does a full service reinstall.
--- snip --- ... 12565.049:0009:Call KERNEL32.CreateProcessW(00000000,0033d6dc L""C:\users\focht\Local Settings\Application Data\Tibia\packages\Tibia\bin\client_launcher.exe" 3",00000000,00000000,00000000,00000410,00000000,00000000,0033d1b0,0033d1a0) ret=7e3f2af4 ... 12565.049:0009:trace:process:create_process_impl starting L"C:\users\focht\Local Settings\Application Data\Tibia\packages\Tibia\bin\client_launcher.exe" as Win32 binary (400000-4bf000, arch 014c) ... 12565.057:003d:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Local Settings\Application Data\Tibia\packages\Tibia\bin\client_launcher.exe" at 0x400000: native 12565.058:0009:trace:process:create_process_impl started process pid 003c tid 003d ... 12565.149:003d:Starting process L"C:\users\focht\Local Settings\Application Data\Tibia\packages\Tibia\bin\client_launcher.exe" (entryproc=0x47d6dc) ... 12565.160:003d:Call advapi32.OpenServiceW(0014c620,004246bc L"BEService",00010020) ret=00441e58 ... 12565.164:003d:Call KERNEL32.DeleteFileW(0033f1c2 L"C:\Program Files\Common Files\BattlEye\BEService.exe") ret=00450c96 12565.165:003d:Ret KERNEL32.DeleteFileW() retval=00000001 ret=00450c96 12565.165:003d:Call KERNEL32.CopyFileW(0033efb8 L"C:\users\focht\Local Settings\Application Data\Tibia\packages\Tibia\bin\BattlEye\BEService.exe",0033f1c2 L"C:\Program Files\Common Files\BattlEye\BEService.exe",00000000) ret=004506bb ... 12565.170:003d:Call advapi32.CreateServiceW(0014c620,004246bc L"BEService",00424c3c L"BattlEye Service",00060010,00000010,00000003,00000001,0033f1c0 L""C:\Program Files\Common Files\BattlEye\BEService.exe"",00000000,00000000,00000000,00000000,00000000) ret=0044809e 12565.170:003d:trace:service:CreateServiceW 0x14c620 L"BEService" L"BattlEye Service" ... 12565.171:0038:trace:service:svcctl_CreateServiceW (L"BEService", L"BattlEye Service", 0x60010, L""C:\Program Files\Common Files\BattlEye\BEService.exe"") ... 12565.173:0039:Call KERNEL32.CreateProcessW(00000000,0011c760 L""C:\Program Files\Common Files\BattlEye\BEService.exe"",00000000,00000000,00000000,00000400,00450000,00000000,00eef8ec,00eef930) ret=7efe4bb0 12565.173:0039:trace:process:create_process_impl app (null) cmdline L""C:\Program Files\Common Files\BattlEye\BEService.exe"" ... 12565.186:0039:trace:process:create_process_impl started process pid 003f tid 0040 ... 12565.647:0040:trace:service:service_run_main_thread Starting 1 services running as process 63 ... 12565.661:003d:Call KERNEL32.ExitProcess(00000000) ret=0040fd66 ... 12565.662:0009:Ret KERNEL32.WaitForSingleObject() retval=00000000 ret=0046bc44 12565.662:0009:Call KERNEL32.GetExitCodeProcess(00000074,0033ea20) ret=004359ea 12565.662:0009:Ret KERNEL32.GetExitCodeProcess() retval=00000001 ret=004359ea 12565.662:0009:Call advapi32.OpenServiceW(00172870,004246bc L"BEService",00000024) ret=0044ea0d 12565.662:0009:trace:service:SERV_OpenServiceW 0x172870 L"BEService" 0x00000024 ... 12565.669:002f:Call KERNEL32.GetStringTypeW(00000001,0016b04c L"13:03:10: Installing BattlEye Service...\r\n13:03:11: Successfully installed BattlEye Service.\r\n",00000001,005bf46a) ret=7db550c1 12565.669:002f:Ret KERNEL32.GetStringTypeW() retval=00000001 ret=7db550c1 ... --- snip ---
The second time it succeeds. Same service startup sequence again:
--- snip --- 12565.650:0043:Ret advapi32.SetServiceStatus() retval=00000001 ret=0056ea97 12565.650:0043:Call KERNEL32.CreateNamedPipeA(00f1fe38 "\\.\pipe\BattlEye",40040003,00000006,00000002,00000400,00000400,00000000,00000000) ret=005ff52a 12565.650:0043:Ret KERNEL32.CreateNamedPipeA() retval=0000005c ret=005ff52a 12565.650:0043:Call KERNEL32.CreateNamedPipeA(00f1fe38 "\\.\pipe\BattlEye",40040003,00000006,00000002,00000400,00000400,00000000,00000000) ret=0063e40c 12565.650:0043:Ret KERNEL32.CreateNamedPipeA() retval=00000060 ret=0063e40c 12565.650:0043:Call advapi32.GetSecurityInfo(0000005c,00000006,00000004,00000000,00000000,00f16798,00000000,00f16768) ret=0069a031 12565.650:0043:Ret advapi32.GetSecurityInfo() retval=00000000 ret=0069a031 12565.650:0043:Call advapi32.AllocateAndInitializeSid(00f174ac,00000001,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00f1685c) ret=00445687 12565.650:0043:Ret advapi32.AllocateAndInitializeSid() retval=00000001 ret=00445687 12565.650:0043:Call advapi32.SetEntriesInAclA(00000001,00f16608,00000000,00f16858) ret=004f18c6 12565.650:0043:Ret advapi32.SetEntriesInAclA() retval=00000000 ret=004f18c6 12565.650:0043:Call advapi32.SetSecurityInfo(0000005c,00000006,00000004,00000000,00000000,0014eca8,00000000) ret=0066bc20 12565.651:0043:Ret advapi32.SetSecurityInfo() retval=00000000 ret=0066bc20 ... 12565.651:0043:Call advapi32.GetSecurityInfo(00000060,00000006,00000004,00000000,00000000,00f16798,00000000,00f16768) ret=0069a031 12565.651:0043:Ret advapi32.GetSecurityInfo() retval=00000000 ret=0069a031 12565.651:0043:Call advapi32.AllocateAndInitializeSid(00f174ac,00000001,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00f1685c) ret=00445687 12565.651:0043:Ret advapi32.AllocateAndInitializeSid() retval=00000001 ret=00445687 12565.651:0043:Call advapi32.SetEntriesInAclA(00000001,00f16608,0014ebac,00f16858) ret=004f18c6 12565.651:0043:Ret advapi32.SetEntriesInAclA() retval=00000000 ret=004f18c6 12565.651:0043:Call advapi32.SetSecurityInfo(00000060,00000006,00000004,00000000,00000000,0014ecd0,00000000) ret=0066bc20 12565.651:0043:Ret advapi32.SetSecurityInfo() retval=00000000 ret=0066bc20 ... 12565.651:0043:Call ws2_32.WSAStartup(00000202,00f16bac) ret=005e69f7 12565.651:0043:Ret ws2_32.WSAStartup() retval=00000000 ret=005e69f7 12565.651:0043:Call ws2_32.socket(00000002,00000002,00000011) ret=004b902d ... 12565.651:0043:Call ntdll.wine_server_handle_to_fd(00000064,00000000,00f15e3c,00000000) ret=7e5100e3 12565.651:0043:Ret ntdll.wine_server_handle_to_fd() retval=00000000 ret=7e5100e3 12565.651:0043:Call ntdll.wine_server_release_fd(00000064,00000011) ret=7e510117 12565.651:0043:Ret ntdll.wine_server_release_fd() retval=00000000 ret=7e510117 12565.651:0043:Ret ws2_32.socket() retval=00000064 ret=004b902d 12565.651:0043:Call ws2_32.ioctlsocket(00000064,8004667e,00f16764) ret=0068c6b4 12565.651:0043:Ret ws2_32.ioctlsocket() retval=00000000 ret=0068c6b4 12565.651:0043:Call advapi32.OpenProcessToken(ffffffff,00000020,00f1680c) ret=0045a077 12565.651:0043:Ret advapi32.OpenProcessToken() retval=00000001 ret=0045a077 12565.651:0043:Call advapi32.LookupPrivilegeValueA(00000000,004358d4,00f16650) ret=00575df2 12565.651:0043:Ret advapi32.LookupPrivilegeValueA() retval=00000001 ret=00575df2 12565.651:0043:Call advapi32.AdjustTokenPrivileges(00000068,00000000,00f1743c,00000000,00000000,00000000) ret=005d2292 12565.651:0043:Ret advapi32.AdjustTokenPrivileges() retval=00000001 ret=005d2292 12565.651:0043:Call KERNEL32.CloseHandle(00000068) ret=0064254a 12565.651:0043:Ret KERNEL32.CloseHandle() retval=00000001 ret=0064254a 12565.651:0043:Call KERNEL32.GetTickCount() ret=00665b17 12565.651:0043:Ret KERNEL32.GetTickCount() retval=00bfbc93 ret=00665b17 12565.651:0043:Call KERNEL32.GetLastError() ret=00421189 12565.651:0043:Ret KERNEL32.GetLastError() retval=00000000 ret=00421189 12565.651:0043:Call ntdll.RtlAllocateHeap(00110000,00000008,00000364) ret=0041ffbc 12565.651:0043:Ret ntdll.RtlAllocateHeap() retval=0014ec58 ret=0041ffbc 12565.655:0043:Call KERNEL32.ConnectNamedPipe(0000005c,0043ca30) ret=00579ed8 12565.655:0043:Ret KERNEL32.ConnectNamedPipe() retval=00000000 ret=00579ed8 12565.655:0043:Call KERNEL32.GetLastError() ret=0045526b 12565.655:0043:Ret KERNEL32.GetLastError() retval=000003e5 ret=0045526b 12565.655:0043:Call KERNEL32.CreateFileA(00f1fde4 "\\.\BlackBone",80000000,00000003,00000000,00000003,00000000,00000000) ret=00632229 12565.655:0043:Ret KERNEL32.CreateFileA() retval=ffffffff ret=00632229 12565.655:0043:Call KERNEL32.Sleep(00000064) ret=006b9498 12565.755:0043:Ret KERNEL32.Sleep() retval=00000000 ret=006b9498 12565.755:0043:Call KERNEL32.GetOverlappedResult(0000005c,0043ca30,00f16ba0,00000000) ret=00463d46 12565.755:0043:Ret KERNEL32.GetOverlappedResult() retval=00000001 ret=00463d46 12565.756:0043:Call KERNEL32.ReadFile(0000005c,0043d258,00000400,00f16ba0,0043ca30) ret=004a3dd5 12565.756:0043:Ret KERNEL32.ReadFile() retval=00000001 ret=004a3dd5 12565.756:0043:Call KERNEL32.GetModuleFileNameW(00000000,00f19e38,000001f5) ret=00583164 12565.756:0043:Ret KERNEL32.GetModuleFileNameW() retval=00000034 ret=00583164 ... 12565.761:0043:Call advapi32.CreateServiceW(0014f238,00f1fd98 L"BEDaisy",00f1fd98 L"BEDaisy",00010034,00000001,00000003,00000001,00f19a38 L"C:\Program Files\Common Files\BattlEye\BEDaisy.sys",00000000,00000000,00000000,00000000,00000000) ret=00489100 12565.761:0043:trace:service:CreateServiceW 0x14f238 L"BEDaisy" L"BEDaisy" ... --- snip ---
The same service binary is started again but the code path executed after 'ConnectNamedPipe()' fails with 'ERROR_IO_PENDING' is a bit different. Unfortunately the service binary is protected (obfuscated/virtualized) with VMProtect 2.x or 3.x. which makes it time consuming to figure out the problem domain:
* bug in Wine (API insufficiencies) * bug in VMP virtual machine code (incompatibility with Wine) * bug in app code, before virtualization (not a Wine bug, works by chance on Windows)
For now use the following workaround when 'BattlEye Launcher' dialog window shows 'Starting BattlEye Service...':
--- snip --- $ wine net stop BEService --- snip ---
$ sha1sum Tibia_Setup.exe 14eaffd5c5026d06427b417d643a65786edc5e73 Tibia_Setup.exe
$ du -sh Tibia_Setup.exe 5.4M Tibia_Setup.exe
$ wine --version wine-3.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=41670
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=41670
dereklesho52@Gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dereklesho52@Gmail.com
--- Comment #38 from dereklesho52@Gmail.com --- Hello, I have installed Tibia on ReactOS and I can confirm that this bug in particular does not affect it. The driver will not load but the service reliably starts the driver.
https://bugs.winehq.org/show_bug.cgi?id=41670
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #39 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Also affects APB Reloaded.
https://bugs.winehq.org/show_bug.cgi?id=41670
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41670
games@mail.timekill.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |games@mail.timekill.org
--- Comment #40 from games@mail.timekill.org --- (In reply to darin.avery from comment #10)
Right, and if i'm reading the fora correctly (i'm new to ps2, never actually played it), then this happened back in March. So i don't understand the gold tests in November and august.
I do get what look to my untrained eye to be related errors on the commandline output, see the attachment in #4 and comment #5.
On #8's comment: i got a crash every time during the post install start. I suppose i should have closed the installer before trying to play the game the first time. But in any event the first time i run it i get a different error in the battleye launcher than subsequent attempts. I don't have time right now to get that error because it takes 10GB download to re-install. I'll see later whether i can find and clear an init file that it would have written to so i can get that error again.
You are correct that PS2 didn't have BattlEye in the past. The game it self, IIRC, is DX9 based and worked well with Wine after some DirectX code changes were made for some UI and DX issues (the reason for the bad reviews in the very beginning). The addition of BattlEye to counter cheating issues within the game reduced the wine rating to "Garbage" status.
An alternative I posted somewhere else is that the developers of "ARK: Survival Evolved" paid BattlEye to create a Linux native version of at least one version. WineHQ might be able to implement an anti-cheat API that can pass those OS/kernel calls out to a native executable to avoid the inevitable security issues of trying to handle them from withing Wine (which should be fully in user space). I am not a developer but I suspect something similar is happening with calls to 3D graphic drivers (let the native Linux kernel driver handle the call made from the program's request within Wine, versus having Wine directly make a hardware interrupt / access from a windows device driver). I am assuming BattlEye developers would be favourable to this because it seems their business model is focused on payments from the developers and not from end users.
https://bugs.winehq.org/show_bug.cgi?id=41670
zirupud@4mail.top changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zirupud@4mail.top
--- Comment #41 from zirupud@4mail.top --- Are there currently any patches for Planetside 2, or patches in general?
https://bugs.winehq.org/show_bug.cgi?id=41670
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw.davies@physics.ox.ac.uk
--- Comment #42 from Huw Davies huw.davies@physics.ox.ac.uk --- The issue is that BEService.exe creates two instances of the BattlEye pipe and assumes the client will connect to the first one. Currently in Wine the client connects to the second one. I've sent a patch to fix this: https://source.winehq.org/patches/data/159281
Note this won't suddenly start making things work, as the BEDaisy.sys issues still persist.
https://bugs.winehq.org/show_bug.cgi?id=41670
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #43 from Huw Davies huw.davies@physics.ox.ac.uk --- This particular bug is now fixed. The BattlEye service now starts, but fails to load the BEDaisy.sys driver. Bugs for that should be (and already are) entered separately.
https://bugs.winehq.org/show_bug.cgi?id=41670
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e4ca5dbec056c977bffce31bd79 | |01aaec884f199
https://bugs.winehq.org/show_bug.cgi?id=41670
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #44 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.
https://bugs.winehq.org/show_bug.cgi?id=41670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://static.tibia.com/dow |https://web.archive.org/web |nload/Tibia_Setup.exe |/20210117182120/https://sta | |tic.tibia.com/download/Tibi | |a_Setup.exe
https://bugs.winehq.org/show_bug.cgi?id=41670
tictacbum@gmail.com tictacbum@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|tictacbum@gmail.com |