https://bugs.winehq.org/show_bug.cgi?id=53697
--- Comment #46 from jhu543369@gmail.com --- (In reply to Mr_nUUb from comment #44)
- Restoring old Agent.exe: immediately updates and enters crash loop
- Restoring old Agent.exe + `chattr -i`: everything slow as hell, not able
to install/update, regular error message that something went wrong.
- Enabling StreamingEnabled: doesn't change anything
- Old wine version: allows anget to start, but not to install or update
- Agent v8012: crash loop again
All of the workarounds and "it's working again" reports are garbage and momentarily at best.
Before you write them off, try one last test: Rename the existing ProgramData/Battle.net folder to something else (make sure Agent.exe and Battle.net.exe processes are not running in the background). Select Wine 7.17 or Wine 7.17-staging as your runner. Confirm what version of Battle.net is installed by looking in the Program Files (x86) folder and noting the highest number Battle.net.xxxxx folder present. If xxxx is 13747, you have the latest version installed. If it is lower than this, disable esync and fsync in Lutris. Run the launcher while monitoring the processes running and the folders in the new ProgramData/Battle.net/Agent folder create. If this has been successful, you will have no games in the launcher, 2 folders under data/cache (b9 and cb), and Agent.8012 with an Agent.exe file of ~5.3mb in size. To see if you have any issues with this, in the launcher select to download World of Warcraft Wrath of the Lich King or Starcraft II (or any free to play game you see, these are the smallest I saw). If you have nothing else going on, these should happily start downloading. If this is the case, you can use locate games to add your existing games. Make sure you change the auto updates to disabled under Settings->Downloads in the launcher. Most games will not let you play, they will show update. Pick one game and press Update. Again, if there are no other issues with your system, this should progress for a while and then change to Play BEFORE entering into the update loop and throwing agent.exe errors. If these tests above were successful, you should be able see that the 8012 Agent sort of works and this is where we need some help from Wine experts to work out what is missing (some call to something is failing and not being recorded in the log file). At this point once you have exited the launcher and confirmed all other Agent.exe and Battle.net.exe processes are killed, you can then replace the Agent.exe file in Agent.8012 with the 7984 version. This is only a temp work around until the next Agent update or someone can figure out what DLL or dependency we need to add to our prefix to stop the 8012 version crashing.