HGL
correct-apricot

Hogwarts Legacy won't start

Every time I try to launch Hogwarts Legacy, it tells me that Microsoft visual c++ runtime is required. I'm running Nobara Linux if that helps at all.
86 Replies
genetic-orange
genetic-orange2y ago
First, please post logs #:pushpin: Read Me First | Frequently Asked Questions Second, did you try installing that runtime in winetricks?
fair-rose
fair-rose2y ago
@Despionnage all ya need to do is install the runtime to heroic folder
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
The Hogwarts Legacy folder shows it containing a vcruntime140.dll. I've tried installing the runtime over and over again to no avail
genetic-orange
genetic-orange2y ago
this is the heroic log, post the game log
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
My bad
genetic-orange
genetic-orange2y ago
all good try running the verify and repair option, delete the prefix, then run the game
correct-apricot
correct-apricotOP2y ago
Same thing
genetic-orange
genetic-orange2y ago
post the log
correct-apricot
correct-apricotOP2y ago
fair-rose
fair-rose2y ago
install the runtime(s) in the games prefix folder
genetic-orange
genetic-orange2y ago
i'm almost positive that the answer is to install vcrun2022 or vcrun2019 via wintricks no need for this, winetricks does it
correct-apricot
correct-apricotOP2y ago
I've installed vcrun2022. I've attempted to install vcrun2019, but it fails each time
fair-rose
fair-rose2y ago
yeah wel what i usualy just do is run the runtime .exe into the games prefix and it should work just klike i do in bottles 1 setup i install or runtimes 1st then i never need to install again
genetic-orange
genetic-orange2y ago
try deleting the prefix and installing vcrun2019 only, then run the game
correct-apricot
correct-apricotOP2y ago
Still the same thing
correct-apricot
correct-apricotOP2y ago
genetic-orange
genetic-orange2y ago
wow, it really is the same thing i think you're going to have to wait for someone else to weigh in here
correct-apricot
correct-apricotOP2y ago
I'm glad I'm not the only one that's confused
genetic-orange
genetic-orange2y ago
oh for sure lol
correct-apricot
correct-apricotOP2y ago
So, I did the "legendary activate -U" terminal command and it failed. I'm not sure if that has anything to do with it or not Something else, winetricks keeps installing the x86 version of the runtime, but my machine is running x64. Would that make a difference?
correct-apricot
correct-apricotOP2y ago
This is what the terminal gives me when attempting to run it from the exe manually
extended-salmon
extended-salmon2y ago
don't run wine as root
correct-apricot
correct-apricotOP2y ago
Alright
correct-apricot
correct-apricotOP2y ago
In that case, this is what I get
correct-apricot
correct-apricotOP2y ago
I'm trying to throw everything at the wall and hoping something sticks 😂
national-gold
national-gold2y ago
Why is that log cropped and filled with wined3d errors? You can't run that game without dxvk and vkd3d-proton
correct-apricot
correct-apricotOP2y ago
I can't run the game through heroic either 😂
national-gold
national-gold2y ago
Did you try with Proton or Wine when you used Heroic?
correct-apricot
correct-apricotOP2y ago
I did
national-gold
national-gold2y ago
Ok, i see that log now which seems it just prematurely exited ( didn't even start ) but is that log retrieved from "show log in folder" option or just copy pasted from Heroic UI? If latter, then it is most likely truncated And won't show useful stuff that might be in there
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
There you go
national-gold
national-gold2y ago
Not an Epic copy, are you sure that "copy" actually works? 🐸
correct-apricot
correct-apricotOP2y ago
I bought it on Epic and I have played it before, just not on linux
national-gold
national-gold2y ago
What is that means? Your Epic purchase is still accessible in Heroic, why don't you just install the legit build within Heroic then?
correct-apricot
correct-apricotOP2y ago
I thought I was? I installed the only one that was there
national-gold
national-gold2y ago
Hmm, then it is weird it doesn't have a codename in the log but anyways Try these flatpak update Then deleting prefix and launching it again with this added in env vars WINEDEBUG=+loaddll
correct-apricot
correct-apricotOP2y ago
Still says it needs c++ runtime
national-gold
national-gold2y ago
Doesn't game directory has one to install? Which one is it?
correct-apricot
correct-apricotOP2y ago
What do you mean?
national-gold
national-gold2y ago
I assume they would be shipping vcredist exec with the game https://steamdb.info/app/990080/depots/ Anyways, it seems they need vc2019 on Steam copy so it would be same there
correct-apricot
correct-apricotOP2y ago
I've tried installing vc2019, as well as 2022
national-gold
national-gold2y ago
also dotnet 4.6 as well
national-gold
national-gold2y ago
No description
correct-apricot
correct-apricotOP2y ago
Working on that Installing those didn't work
national-gold
national-gold2y ago
Send the latest log then, this might now have a proper output
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
It appears to be the same log
genetic-orange
genetic-orange2y ago
Turn esync back on, turn of DXVK-api, run it again, send new log.
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
Well, that's new
national-gold
national-gold2y ago
Why did you switch to Proton, if a log has been asked with new stuff you should keep it at same wine version Besides Proton 7 is too old to run it i think
correct-apricot
correct-apricotOP2y ago
Oh, my bad. I honestly forgot I did that hahaha. Let me do it again
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
That's better Never mind, I forgot to turn off the DXVK-api
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
There
national-gold
national-gold2y ago
"autoInstallDxvk": false,
Not that But dxvk-NVAPI one
correct-apricot
correct-apricotOP2y ago
Oooooh, allright
national-gold
national-gold2y ago
It is a different one Enable dxvk again Btw other games works right? Just this title has issues
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
I've tried 2 other games so far and they've worked
correct-apricot
correct-apricotOP2y ago
The games I've tried were Morrowwind and Trackmania 2020 if that helps. I'm installing a newer game now to see if it works. And yeah, I'll look at that
national-gold
national-gold2y ago
Can you post the log of Trackmania btw? To check something
correct-apricot
correct-apricotOP2y ago
national-gold
national-gold2y ago
Your Vulkan setup seems okay :CatYeah:
correct-apricot
correct-apricotOP2y ago
That's good at least The information in that link didn't seem to help
correct-apricot
correct-apricotOP2y ago
correct-apricot
correct-apricotOP2y ago
Alright, I fixed it
national-gold
national-gold2y ago
So you just did swapping execs thing?
correct-apricot
correct-apricotOP2y ago
All I did was take the c++ runtime installer that I downloaded, renamed it to HogwartsLegacy.exe. Put the true HogwartsLegacy.exe somewhere safe and put the newly created one in its place. Ran the game which started the installer and I installed the C++ runtime. I then put the original HogwartsLegacy.exe back, launched the game, and it launched
national-gold
national-gold2y ago
Lmao Btw remove that winedebug env var i've made you add earlier
correct-apricot
correct-apricotOP2y ago
Alright
national-gold
national-gold2y ago
Also enable dxvk nvapi again Otherwise you can't use dlss
correct-apricot
correct-apricotOP2y ago
Will do. I'm very much confused about this whole line of events, but I'm glad I got it working
national-gold
national-gold2y ago
Fwiw i actually asked for you to do that 🐸 https://discord.com/channels/812703221789097985/1160731945672658986/1161112745186447380 Which Heroic has an option for running an exe on wine prefix
correct-apricot
correct-apricotOP2y ago
I didn't know that, my bad
national-gold
national-gold2y ago
So exe swap is not necessary No worries but it costed you some time , sad part is that
correct-apricot
correct-apricotOP2y ago
I wasn't sure what you meant by that message is all. I'll know next time haha
national-gold
national-gold2y ago
👍I will tag this as solved
correct-apricot
correct-apricotOP2y ago
Thank you for your help. I honestly learned a lot that will most likely help me in the future
national-gold
national-gold2y ago
Yw, hf :CatYeah:

Did you find this page helpful?