https://bugs.winehq.org/show_bug.cgi?id=31910
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello Jan,
thanks for the effort of reproducing.
I've spent a few hours trying to see if I can get the old BattlEye client to run to that interesting point without game/server just with the few files you posted links to - but no avail.
I wrote a hosting process that emulates certain parts of the game process environment, also using some partially reverse-engineered/documented structures/callbacks from a game-hacker forum. My client process also takes care of automatic BEService installation/startup etc.
I'm at least able to initialize the client, and starts talking to the BE service via named pipe but it seems I need the real thing to trigger more code/event callbacks.
--- snip --- $ wine ./beclient.exe.so ... BattlEye client dll loaded at 0x10000000 BattlEye client version: 239 Created service 'BEService' in SCM. Started service 'BEService' via SCM. chat_print: Initialized (v1.239) BattlEye client init result: 1 be_gamedata = { 0x11111111, 0x222, 0x7effc7a0 } be_callback = { 0x10017210, 0x10017560, 0x10017790, 0x10017890 } sleeping for 10s... arma2oa_be: sleeping for 10s... sleeping for 10s... arma2oa_be: sleeping for 10s... ... --- snip ---
The client dll you posted link to is at v1.239
It still has some code that looks like it makes use of ntdll.dll KiUserExceptionDispatcher / NtContinue but I'm not able to trigger it without full game/proper server setup.
--- quote --- I tried to update it manually from [2], [3] and [4] but after that client says (after joining the game) that the BattlEye is not initialized and restarts themself --- quote ---
Could you try to provide full relay logs from that use-case, that is both, server and client at 1.2xx ?
Make sure it also includes the service traces (no prefix "warmup", let the game bootstrap the whole prefix). Compress if too large.
Regards