ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.72k stars 1.03k forks source link

BattleEye Fails startup on Linux using latest Proton #30

Open DGxInfinitY opened 6 years ago

DGxInfinitY commented 6 years ago

BattleEye for PlayerUnknowns BattleGrounds won't start on Elementary OS(Ubuntu Based) As far as I know, this is a wine definitions problem that might require a little deep searching to fix.

smurfhunter commented 6 years ago

This should also affect Planetside 2, and I'd really love to see it working

ghost commented 6 years ago

BattlEye currently doesn't function at all on wine, however there is someone on reddit working on fixing that.

linkjay commented 6 years ago

I understand this isn't Proton's problem, but I think this is actually a crucial thing that should be fixed with Proton. This has been an issue with Wine for a long time and it seems like no one has really developed a fix for battleye. Considering how many games run the anticheat, I think it would be necessary for the project to have this fixed one way or another.

adds68 commented 6 years ago

Also seeing this issue!

jarrard commented 6 years ago

I believe this might also be a issue for ARMA3, it does have BattleEye for Linux with a test build of the game but they lack a few features such as launcher options and MP compat with Windows users.

ghost commented 6 years ago

It was stated in the steam announcement post that some anticheats would render impossible the compatibility. BattleEye is so aggressive that they even blocked reshade a few months back. Doubt we will ever see those titles work with wine.

mkljczk commented 6 years ago

Maybe some guys (pun unintended) from Valve or CodeWeavers could help Guy1524 in making BattlEye work on wine, maybe they would work together?

radude commented 6 years ago

Same for DayZ standalone.

oleksandrzelentsov commented 6 years ago

This is the same for the PUBG. I think Battleye should open up a little bit since it's a big problem for a lot of games, which makes it impossible to play them.

Guy1524 commented 5 years ago

Hello, I would like to mention a few things:

Right now I am focused on submitting my current Battleye work to wine before I proceed. Also, now that school is started progress will generally be slower, as I am only working on the weekends.

@oleksandrzelentsov People have tried contacting Battleye about this issue before, and their position is that they will only support native linux games.

@m4sk1n Plagman (valve dev) has expressed interest in working with anticheat developers to get it working under proton. This solution would probably be more sustainable in the long term.

Lyle-Tafoya commented 5 years ago

Given that Battleye has native support on Linux, maybe the wizards over at Valve can find a way to do some kind of Battleye passthrough for Steam Play games to connect it with the native version of Battleye. Running Battleye in Wine would be nice, but I am afraid that could also lead to people being banned without cheating.

linkjay commented 5 years ago

@Lyle-Tafoya Hmm, that's actually pretty interesting. I think it would also be worthy to reach out to the Battleye team and see if they will make room for Wine in their support so we can officially have support for the anticheat on their side.

This way, we can avoid false-positives, and have good support in Wine. Now, we just have to convince them to actually go through with that...

h8672 commented 5 years ago

Planetside 2 gets to the launcher now, battleye though... tries for an undetermined long time to launch it and the log file has various dlls showing there. I added some through winetricks and those dlls dont really show at the end of log file anymore. Can't find all dlls that show there in winecfg. env WINEPREFIX="/mnt/tera/Games/SteamLibrary/steamapps/compatdata/218230/pfx" WINEPATH="/mnt/tera/Games/SteamLibrary/steamapps/common/Proton 3.7/dist/bin" winetricks

dreamer commented 5 years ago

I understand the sentiment in this issue (I would love to play Planetside 2 again), but trying to work around anti-cheat system is pointless - they will be updated faster than workarounds for Linux will appear. The only way forward would be to start a conversation with Battleye devs about supporting Proton officially. They already can detect, that game is running inside Wine.

HonkingGoose commented 5 years ago

Implementation of some kind of whitelist/integration of anti-cheat systems into Proton is tracked here: #1468

Guy1524 commented 5 years ago

I'd like to provide an update on the state of my battleye work. A month ago, I got the battleye driver's anticheat loop running. Once the game client attempts to connect with the driver and submits an interupt, there is an internal error, and the game I am testing refuses to proceed. I am currently taking a break, but if anyone else experienced wants to pick up where I left off, my work is here: https://github.com/Guy1524/wine/tree/battleye-work

ghost commented 5 years ago

No news on it ? would like to see player unknow battelground but battleye is a pain in the ass

Guy1524 commented 5 years ago

@edneyhelene FWIW even when battleye starts to work, PUBG has another preventing it from launching.

elevenpassin commented 5 years ago

I am really missing out playing Planetside 2. The battleeye anticheat starts but keeps on loading and the game never launches :(

JanGalek commented 5 years ago

Now cant play ATLAS on official servers.

Tested on Proton 3.7-8, 3.7-8 Beta, 3.16-4, 3.16-6 Beta, 4.2-9, 4.11-2.

kisak-valve commented 5 years ago

Merge with battleye patches that are being worked on in a separate repo

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2278. @redpiller posted on 2019-01-28T17:36:04:

Feature Request

https://github.com/Guy1524/wine/commits/battleye-work-stable this repo contains wine patches that enables the use of battleye anticheat in games like Arma2, Arma3, Fortnite, Planetside 2 ... and so on... take a look, maybe you could establish a cross repo patching pipeline

I confirm:

Description

Battleye support

Justification [optional]

Battleye is broken in proton

Risks [optional]

Not every game will be supported at first

References [optional]

https://github.com/Guy1524/wine/commits/battleye-work-stable

mkljczk commented 5 years ago

@redpiller, these patches don’t make BattlEye work, they just make it fail in further steps…

philipjohnbarlow commented 5 years ago

Person here claims to have gotten PUBG to work by running it via the windows version of steam.

https://www.youtube.com/watch?v=Aa_TwN-daEA

Rosalie241 commented 5 years ago

@philipjohnbarlow I'm sorry to uh, reply

but,

that video shows 0 proof that it's actually running on linux and if it was real, it'd be pretty big news already.

so I'm sure it's fake and you shouldn't trust a video like that which doesn't show ANY evidence that it's actually what it claims to be.

philipjohnbarlow commented 5 years ago

Yup my thoughts as well, theres no pre-start up footage. Thought I'd share anyway just in case there was even remotely any validity in the claim.

physios commented 5 years ago

Doesn't battleeye work with ark?

Lyle-Tafoya commented 5 years ago

Doesn't battleeye work with ark?

Ark has a native Linux build and uses the native Linux version of BattlEye. This thread is regarding compatibility with the Windows version of BattlEye via Proton.

olealgoritme commented 5 years ago

@kisak-valve Any updates on the BattlEye progression in Proton, or is Valve still ignoring it?

kisak-valve commented 5 years ago

Hello @olealgoritme, friendly reminder that I'm a moderator for Valve's issue trackers and not a Valve dev myself. I'm just as interested as everyone else to hear if/when there is progress with this, but we'll need to wait to hear from a Proton dev.

olealgoritme commented 5 years ago

Alright, let's wait some more.

jsebean commented 5 years ago

@philipjohnbarlow Check out looking glass here: https://github.com/gnif/LookingGlass This is likely how the guy in the video achieved "linux support" of pubg (tl;dr: It's not supported, it's a VM with direct passthrough access to the GPU so it will run, looking glass allows you to see what the passthrough GPU renders on the host OS)

ghost commented 5 years ago

Just commenting to say i'd love to see PlanetSide 2 support.

Preisschild commented 5 years ago

Since we got Arma 3 running well enough over Proton, BE is the only thing missing.

+1 for BE Proton support

Pls BE devs, make it happen.

jarrard commented 5 years ago

Yes ARMA3 seems to work quite nicely, but the BE driver doesn't initialize thus servers using it just kick you :(

I'm going to try wine4.6 with my custom proton compat profile once a lutris build comes out (I just copy over the wine files to my proton profile I made).

sTiKyt commented 5 years ago

BattleEye also will be useful to run "Heroes & Generals" using proton

Faalagorn commented 5 years ago

Survarium seems to work now (at least under proton-tkg), so it's just BattleEye that's preventing it running I guess.

iklevente-zz commented 5 years ago

There is some hope: https://www.reddit.com/r/linux_gaming/comments/bn2t8v/battleye_is_working_with_valve_to_add_support_for

https://imgur.com/a/g8CJQL5

SpookySkeletons commented 5 years ago

So Hey, I have a question if any wine developer or Valve employee happens by...

I know wine used to work with battleye once some SMART and kernel access stuff was patched in until they adapted and started recognizing wine's presence, it allowed the anticheat to wrap the executable successfully as far as I could see and see you were on some real hardware. With the modifications to the wine backend that build more DLLs as a Windows PE is this a full solution to masking wine's truck sized signature? Is this all that needs to be done to "pretend" you're windows or is there still a mountain ahead?

Preisschild commented 5 years ago

big update: With proton 4.11-1 battleye works in arma.

Thanks valve & be

jarrard commented 5 years ago

really? nice. I dunno if it works in empyrion yet, gotta do some major testing this week as got a while new CPU/RAM cooling kit.

as it turns out, Empyrion uses EAC

Preisschild commented 5 years ago

Almost everyone seems to experience crashes exactly 15 minutes after joining a BattlEye enabled arma server.

jarrard commented 5 years ago

Maybe there is something that can be logged? battleye log?

yelhouti commented 5 years ago

@Preisschild a PUBG enabled server? or are you talking abour arma? after installing pubg using steam I don't even get a loading screen. (Proton 4.11-2)

jarrard commented 5 years ago

Yeah I got that 15min crash with BE ARMA3 server.

yelhouti commented 5 years ago

XD, I was so excited thinking that I can no play PUBG on Linux..., any idea on when they will do the same to PUBG?

JohnnyThunder2 commented 5 years ago

In regards to Arma 3, some people are able to stay in the server beyond the 15 minute mark. I've tried a bunch of different things to see if I can get it to work. Changing Kernals to match theirs, graphics settings, forwarding ports from my router and disabling firewalls. Steam beta on and off. I've also tried reinstalling battleye probably 5 times already. I installed some obscure "Fix" from a youtube channel for windows users having trouble. Nothing has worked for me so far, I'm gonna keep reinstalling battleye as sometimes windows users seem to have the problem of getting kicked every 15 minutes, and their fix is just to reinstall battleye until it works again.

haterino commented 5 years ago

Interessing enough i'm trying to work on a solution for battleye while playing escape from tarkov under lutris using proton 4.11. As far as it go, just locks at "Starting Battleye Service..." while it initializes, when the process BEservice.exe is killed, it goes that installed successfully and presents a new error "Failed to initialize BattlEye Service: Driver Load Error (31)."

Vinjul1704 commented 5 years ago

@haterino nice to see some more escapers trying to get it running. Me and a few others got a discord server where we share some ideas and try to get it running (didn't do too much since the BE update has been released, but got quite far with getting rid of the startup lag and crashes before). I will send the link as soon as the owner says he is fine with that.

Vinjul1704 commented 5 years ago

Here it is: https://discordapp.com/invite/uASUreY

JanGalek commented 4 years ago

Any news ? :)