Replies: 1 comment 2 replies
-
Hello @lorn10. I'll probably look into adding running instructions for nice platforms such as Wine and RPi in the near future, since they've got their own slight intricacies. Removing semaphore usage might be a bit of a pain in the ass, so I'd recommend downloading the latest x64 VC++ 2022 redistributable (emphasis on x64) from here https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022 and seeing if it works. Make sure you're using the 64-bit Redux builds as well. Might want to bring this up to the Wine guys if it doesn't work. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Okay folks (@wheremyfoodat) 😃, here follows now the effective explanation while PCSX-Redux is again broken in later Wine versions.
This has to do with a new functionality in C++20 called Semaphores which requires the
msvcp140_atomic_wait.dll
file. At the moment this function is not present in the built-in Wine C++ implementation. So without it, you will get the following known error message:Interestingly it helped (for a while) to simply put the native
msvcp140_atomic_wait.dll
file manually into the PCSX-Redux program folder. But for whatever reason this stopped to be successful, maybe because mymsvcp140_atomic_wait.dll
became outdated.Long story short, thanks to CXBX-R developer @PatrickvL it looks to be possible to prevent this problem by avoiding semaphores. I quote:
I know, because PCSX-Redux is in contrast to CXBX-R available as a native Linux build, it doesn't make sense to change the programming style just to be Wine compliant on the Windows build. Nevertheless its nice to know that "semaphores relationship". 😉
Maybe I will bring this to the winetricks GitHub page as a "feature request". So an option to just install the
msvcp140_atomic_wait.dll
file. It is confirmed for Wine 7.0 that it can handle semaphores with thevcrun2019
parameter, so the installation of native MS Visual C++ 2019. However, this doesn't work anymore for later Wine releases. I can confirm this for Wine devel 7.6.Beta Was this translation helpful? Give feedback.
All reactions