that’s the sequel to FC 5. tried a couple of times to get it to work with various wine versions, had no luck. apparently, it has some unbreakable protection. not sure if that’s correct, I can run both Far Cry 5 and 6 without issues, why would they just protect the interim version?
It looks like the problem is a Wine bug. It’s trying to call a function that Wine doesn’t have implemented, although it doesn’t actually matter whether the function does anything. This function call is only occurring because of CODEX’s Denuvo bypass, so legit copies work fine. In the comments of the WineHQ bug someone has posted a .patch file to stub the function out and allow it to run, but you’ll have to apply it to the Wine source code and then build the Wine binaries again (I don’t know how complicated the Wine build environment is but this should work if you can get it built).
All in all, a very rare issue that I haven’t seen before. It’s too bad none of the major Wine versions have picked up this stub .patch into their builds in the meantime.
More information on this issue can be found at the following site (in Russian, you’ll need to translate): https://www.linux.org.ru/forum/games/16632052
thanks for the excellent writeup. not sure I’ll ever attempt the build route, but who knows… maybe some day.
Damn thanks for the info! Makes it easier to debug and fix