Hello,
I wanted to try out Cachy for gaming and the game i use for testing is Horizon Zero Dawn (Gog). I installed it with the heroic launcher like in every other distro and installed the cachyos-gaming-meta, following the wiki entry.
The problem is i can’t get it to work. The report says missing MSVCP140.dll, which is present in the prefix. I tried other wine versions of GE and Proton-GE, but the the failure persists.
I didn’t have the issue in any other distro where i installed wine and heroic. Maybe somebody encountered a similar problem?
I don’t have that game but the msvcp140.dll and vcruntime140.dll file is a part of the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.
I would try opening up the settings for that game in heroic, scroll down to the bottom and select winetricks, in the search box type vcrun and you’ll see a list of the available visual c runtimes. It can’t really hurt to install all three vcrun2015, vcrun2017, vcrun2019. that should give the program the dependencies it needs to run or start with the vcrun2019 and see if that solves it. It’s microsoft so no telling if the 2019 contains everything the earlier versions have or not but that .dll is present in all 3.
Thank you for your reply. I have checked in the prefix and .dll is present, but can’t be found by the launcher. I tried to add vcrun2017, which then says is in conflict by vcrun2019.
I started up my ssd with EndeavourOS, to check which version i used there also the vcrun2019 and Proton-GE-latest, which i then tried under Cachy, but it failed.
I removed the packages from the cachy-os repo and used it directly form arch and aur, but it did not work. So i don’t know.
Did you use an offline gog installer or did you install from your gog library online?
The only other thing I’d say is try using Proton - proton-cachyos instead of GE. To be honest I haven’t run into any game that doesn’t work great with the cachyos optimized version of proton. It should have been installed as part of the cachyos-gaming-meta package. I used to play everything using GE’s proton but since I switched to cachyos as my daily driver I haven’t used anything but proton-cachyos and haven’t had any issues.
Most of my games I play I do so with steam, but I have several games I’ve bought through gog and all of them have installed fine through heroic on CachyOS without any dependency issues. For that matter the free epic games I’ve collected from epic have all installed fine as well through heroic, but I’ve used the Proton - proton-cachyos wine version.
While from a pure gaming licensing/consumer rights standpoint I feel like I should support gog more it’s just that steam has done so much for linux gaming I always try to buy from them first to help support their continued work with proton so most of my gaming experience is mostly with steam these days.
I also tried that, but it didn’t work. I installed two other games to see if they work and they do. Horizon is always my game to test if everything works, and it seems to be the first time that it won’t work out of the box.
Maybe i installed something wrong i don’t know.
I try to buy from gog if possible, but some titles are just available on steam.
So the solution was to remove the vcrun2019 and install the vcrun2022. To remove the vcrun2019 just delete the winetricks.log file in the Prefix and install it under the winetricks button in the game settings in heroic, which works for wine wine-ge,
Or if you want to use the cachy-proton or proton-ge delete the same file in the the prefix/pfx folder and add vcrun2022
I don’t know why it works with 2019 on endeavouros but maybe cachyos does something different i don’t get yet.