HGL
national-gold
Mordhau not working on steam deck
Hi all I just got Mordhau on Epic and I installed it on my steam deck, however when I try to launch it I get a message asking me to install microsoft visual c++ runtime. Shouldn't Wine/Proton deal with this kind of things?
I'm new to playing on Linux so maybe I'm missing something, anyway I tried both Proton and Wine (the latest versions I installed from Heroic) but same result.
Has this happened to someone else too?
17 Replies
ratty-blush•3y ago
I have a few points of clarity to make:
1. You're using Wine-7.0-GE-8-LoL, you should be using Wine-GE-Proton7-43 because the -LoL version is specific to League of Legends. Delete your prefix before you use Wine-GE 7-43
2. regarding "Shouldn't Wine/Proton deal with this kind of things?" Yes, Proton does deal with these things if you are using Steam. Steam for Windows and Linux automatically installs dependencies for you based on what the dev has indicated as a dependency. On Windows, EGS comes with VC++ dependencies installed. Heroic does not do this for you. Not every game needs it, and it would needlessly eat up space if it was done automatically in each prefix
You can install
vcrun2022
or vcrun2019
with Winetricks
2a. There has been talk about improving automatic dependency installation to be closer to what Steam and Lutris provide, but I'm not up to date on thatnational-goldOP•3y ago
thank you very much for helping me!
I'm sorry I'm really ignorant about this stuff, what is a prefix?
Regarding vcrun, I don't know how to use winetricks, I just found a tutorial to install vcrun but it never mention winetricks so I guess it follows a different procedure
wise-white•3y ago
you probably don't need to install vcrun, I tried the game earlier today and it just prompts you to do that and you just click accept > next > next until it's done
to delete your prefix for the game just delete this folder
/home/deck/Games/Heroic/Prefixes/MORDHAU
make sure you delete the folder under Prefixes
, there might be a ../Heroic/MORDHAU
folder that you should NOT deletenational-goldOP•3y ago
ah ok thanks, so if I click accept it does not actually try to install vcrun
just to know, why do I have to delete the prefix before using a different version of Wine?
moreover how can I use winetricks to install vcrun (if needed, of course)? I don't undestand if it's another software I have to download or some feature inside heroic
wise-white•3y ago
different versions of wine may structure the prefix differently, you don't always HAVE to delete the folder, but sometimes it helps to avoid conflicts, and unless you have save files in the prefix it's safe to delete
to use winetricks:
- go to the game settings in heroic
- click the WINETRICKS button
- continue with the
select default prefix
option (or something like that)
- select the option to install an application or component (something like that) and continue
- look for vcrun in that list and check the box (I guess you can install vcrun2019 in your case) and continue
- the winetricks window will disappear and after a while it will show up again
- cancel cancel cancel until it closesnational-goldOP•3y ago
Thanks a lot! Do I have to install both vcrun x64 and x86?
wise-white•3y ago
I don't remember winetricks giving you both options
national-goldOP•3y ago
Sorry I thought I had to manually download vcrun and then install it through winetricks but now I see that it already provides me with the list of components I can choose to install, it's definitely easier than I expected
national-goldOP•3y ago
I tried launching the game and I got this

national-goldOP•3y ago
Right now I can't share my log cause it's over 25 mb...
wise-white•3y ago
maybe share part of the top and part of the bottom of the file
national-goldOP•3y ago
I split it in half
national-goldOP•3y ago
Now that I think about it, when I started the game there was a warning about the game requiring .net framework or something like that, and it asked me if I wanted Wine to download the required components or if I wanted to do it manually, I chose the first option (so automatic download) but maybe it caused some troubles I don't know
ratty-blush•3y ago
Steamdb has VC 2019 as a dependency. try installing
vcrun2019
with winetricks and see if that helps
https://steamdb.info/app/629760/depots/national-goldOP•3y ago
Actually I already did that (and the game doesn't ask me to install vcrun anymore), now when I launch Mordhau I make it to a loading screen but then it crashes, maybe there is still something missing or maybe I should try with vcrun 2022
or maybe it has to do with that .net framework, I see that with winetricks I can install stuff like dotnet48 so I could also try that
wise-white•3y ago
I didn't have to install anything extra on my desktop computer, I'll try the game on the deck later
I'm having the same error on the steam deck, but no issues on my desktop computer, I wonder if it's an issue with flatpak
seems to work fine with Proton-GE-Proton instead of Wine-GE-Proton on the deck
you can install that using the Wine Manager section in heroic, then set that for the game in its settings
it should prompt you to install vcrun with the installer
and then it opens fine
national-goldOP•3y ago
finally it works! so I guess that in this kind of situation I should just try switching between wine-proton and proton to see which one works, I also reinstalled vcrun with winetricks just to be sure
thank you very much for your help!