itsamewayu / OLFallenDoll

Overall repo for Operation Lovecraft: Fallen Doll by the Project Helius team.
60 stars 12 forks source link

[EAC] for proton/wine #47

Closed holyfight6 closed 10 months ago

holyfight6 commented 2 years ago

Describe the bug The game won't launch when running through proton.

To Reproduce Steps to reproduce the behavior: Just run the game through proton on linux. After clicking the play button, it changes to the playing state, but the game won't show up.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Additional context I can run the old standalone version of the game through proton without any problem. On discord Project Helius did say CBT version will support proton. Below is the EAC logs: [Info] Desktop screen settings detected. DPI: 96 DPI Multiplier: 1.000000 BPP: 32. [Info] Localization loaded for: 'en-US'. [Info] Settings file full path: 'Z:\games\steam-library\steamapps\common\Operation Lovecraft Fallen Doll Playtest\EasyAntiCheat\Settings.json'. [Info] Start. ExecutablePath: 'Z:\games\steam-library\steamapps\common\Operation Lovecraft Fallen Doll Playtest\FallenDoll.exe' LaunchParameters: '' WorkingDirectory: ''. [Info] Finished window initialization. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. [Info] [LauncherProgress] 0%. Maybe EAC isn't enabled for proton/wine?

ysy95109 commented 2 years ago

EAC is a way for multiplayer games to protect their online experience, but it currently does not work with Proton as the service either fails to load or crashes games in progress before long.

from Google search

holyfight6 commented 2 years ago

@ysy95109 Hi, EAC already has EAC Linux Wine / Proton Support, as long as the game enables it.

smirgol commented 2 years ago

I'm having the same issue, unfortunately. But for me the game starts, but then presents me with a black modal window and a blue button in the middle with the localized text "Verlassen" (Leave / Exit). I cannot get beyond this point. I'm using Proton 6.3 and Proton Experimental. I'm not sure if this is already EAC blocking me out, or if it is a rendering problem, but whatever it is, EAC will be the major hurdle I think.

Please consider enabling Linux support in EAC. I'd be such a shame to not be able to play the final product I've backed and waited for so long. :(

@holyfight6 where did you find that EAC log?

holyfight6 commented 2 years ago

I'm having the same issue, unfortunately. But for me the game starts, but then presents me with a black modal window and a blue button in the middle with the localized text "Verlassen" (Leave / Exit). I cannot get beyond this point.

That is the EAC error window.

where did you find that EAC log?

It's in "your_steam_library_dir/componentdata/1810920/pfx/driver_c/users/steamuser/Application Data/Easy Anti Cheat".

l12436 commented 2 years ago

For Developer: I found the main reason of EAC not working on proton. EAC actually working on Proton, but with a exception the url that provide to EAC cdn=https://modules-cdn.eac-prod.on.epicgames.com/builds/136/1992dddf-4269-4b28-b0a9-207a02c1a2a7/{{system}} The {{system}} in wine will pass wine64 which the full url is https://modules-cdn.eac-prod.on.epicgames.com/builds/136/1992dddf-4269-4b28-b0a9-207a02c1a2a7/wine64 but the EAC website is actually not accept wine64, It will return access denied. If I change {{system}} to wow64_win64 which is win10 EAC given to EAC, and it working. so....,EAC website is not actully complete support wine at all, it should pass windows version of {{system}} to EAC or the EAC should accept wine64

holyfight6 commented 2 years ago

@l12436 Can confirm it works for me too.

johnathandarkly commented 2 years ago

If I change {{system}} to wow64_win64 which is win10 EAC given to EAC, and it working.

i'm a ubuntu noob, using whatever steam installed (proton)... how do i change {{system}}?

holyfight6 commented 2 years ago

i'm a ubuntu noob, using whatever steam installed (proton)... how do i change {{system}}?

@johnathandarkly It's in the EAC config file shipped with the game, you can simply use the "Browse local files" option to open the path, the file is called "FallenDoll.exe.eac".

smirgol commented 2 years ago

Wow, that is interesting that it indeed does work if you replace the placeholder {{system}} with wow64_win64.

I had the impression that the developer usually needs to also provide a binary for wine64 (probably by enabling a flag in the engine when compiling the game) - that was how it worked for a different game in the past for me. There was one military shooter that also used EAC and was one of the very very few games, that actually had provided an EAC binary for wine64 and it worked flawlessly out of the box. That was months ago, even before they said that proton compatibility for EAC can be enabled now - maybe it's just easier now to do so.

So, I'd say that is a nice workaround, but not sure if this is the proper solution. It won't work out of the box that way for sure, but it's at least something. :)

johnathandarkly commented 2 years ago

with 0.4.5 game drops out before title screen on my ubuntu machine. it lasts a little longer with the wow64_win64 edit, but it still can't quite make it.

l12436 commented 2 years ago

yes, I can confirm, latest update break wine compatible.

johnathandarkly commented 2 years ago

still no luck with 0.4.7. could be related to my lockout from harem mode, but i can still no longer get to title screen with ubuntu/proton.

johnathandarkly commented 2 years ago

I thought there was a 0.4.7.1 patch that got Proton going again. This isn't obvious from 0.4.8... which still isnt working on my ubuntu build.

Desktop