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•2y ago
First, please post logs #:pushpin: Read Me First | Frequently Asked Questions
Second, did you try installing that runtime in winetricks?
fair-rose•2y ago
@Despionnage all ya need to do is install the runtime to heroic folder
correct-apricotOP•2y ago
correct-apricotOP•2y 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•2y ago
this is the heroic log, post the game log
correct-apricotOP•2y ago
correct-apricotOP•2y ago
My bad
genetic-orange•2y ago
all good
try running the verify and repair option, delete the prefix, then run the game
correct-apricotOP•2y ago
Same thing
genetic-orange•2y ago
post the log
correct-apricotOP•2y ago
fair-rose•2y ago
install the runtime(s) in the games prefix folder
genetic-orange•2y ago
i'm almost positive that the answer is to install vcrun2022 or vcrun2019 via wintricks
no need for this, winetricks does it
correct-apricotOP•2y ago
I've installed vcrun2022. I've attempted to install vcrun2019, but it fails each time
fair-rose•2y 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•2y ago
try deleting the prefix and installing vcrun2019 only, then run the game
correct-apricotOP•2y ago
Still the same thing
correct-apricotOP•2y ago
genetic-orange•2y 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-apricotOP•2y ago
I'm glad I'm not the only one that's confused
genetic-orange•2y ago
oh for sure lol
correct-apricotOP•2y 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-apricotOP•2y ago
This is what the terminal gives me when attempting to run it from the exe manually
extended-salmon•2y ago
don't run wine as root
correct-apricotOP•2y ago
Alright
correct-apricotOP•2y ago
In that case, this is what I get
correct-apricotOP•2y ago
I'm trying to throw everything at the wall and hoping something sticks 😂
national-gold•2y ago
Why is that log cropped and filled with wined3d errors?
You can't run that game without dxvk and vkd3d-proton
correct-apricotOP•2y ago
I can't run the game through heroic either 😂
national-gold•2y ago
Did you try with Proton or Wine when you used Heroic?
correct-apricotOP•2y ago
I did
national-gold•2y 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-apricotOP•2y ago
correct-apricotOP•2y ago
There you go
national-gold•2y ago
Not an Epic copy, are you sure that "copy" actually works? 🐸
correct-apricotOP•2y ago
I bought it on Epic and I have played it before, just not on linux
national-gold•2y 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-apricotOP•2y ago
I thought I was? I installed the only one that was there
national-gold•2y 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-apricotOP•2y ago
Still says it needs c++ runtime
national-gold•2y ago
Doesn't game directory has one to install?
Which one is it?
correct-apricotOP•2y ago
What do you mean?
national-gold•2y 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-apricotOP•2y ago
I've tried installing vc2019, as well as 2022
national-gold•2y ago
also dotnet 4.6 as well
national-gold•2y ago

correct-apricotOP•2y ago
Working on that
Installing those didn't work
national-gold•2y ago
Send the latest log then, this might now have a proper output
correct-apricotOP•2y ago
correct-apricotOP•2y ago
It appears to be the same log
genetic-orange•2y ago
Turn esync back on, turn of DXVK-api, run it again, send new log.
correct-apricotOP•2y ago
correct-apricotOP•2y ago
Well, that's new
national-gold•2y 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-apricotOP•2y ago
Oh, my bad. I honestly forgot I did that hahaha. Let me do it again
correct-apricotOP•2y ago
correct-apricotOP•2y ago
That's better
Never mind, I forgot to turn off the DXVK-api
correct-apricotOP•2y ago
correct-apricotOP•2y ago
There
national-gold•2y ago
"autoInstallDxvk": false,Not that But dxvk-NVAPI one
correct-apricotOP•2y ago
Oooooh, allright
national-gold•2y ago
It is a different one
Enable dxvk again
Btw other games works right?
Just this title has issues
correct-apricotOP•2y ago
correct-apricotOP•2y ago
I've tried 2 other games so far and they've worked
national-gold•2y ago
correct-apricotOP•2y 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•2y ago
Can you post the log of Trackmania btw?
To check something
correct-apricotOP•2y ago
national-gold•2y ago
Your Vulkan setup seems okay :CatYeah:
correct-apricotOP•2y ago
That's good at least
The information in that link didn't seem to help
correct-apricotOP•2y ago
correct-apricotOP•2y ago
Alright, I fixed it
correct-apricotOP•2y ago
national-gold•2y ago
So you just did swapping execs thing?
correct-apricotOP•2y 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•2y ago
Lmao
Btw remove that winedebug env var i've made you add earlier
correct-apricotOP•2y ago
Alright
national-gold•2y ago
Also enable dxvk nvapi again
Otherwise you can't use dlss
correct-apricotOP•2y ago
Will do. I'm very much confused about this whole line of events, but I'm glad I got it working
national-gold•2y 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-apricotOP•2y ago
I didn't know that, my bad
national-gold•2y ago
So exe swap is not necessary
No worries but it costed you some time , sad part is that
correct-apricotOP•2y ago
I wasn't sure what you meant by that message is all. I'll know next time haha
national-gold•2y ago
👍I will tag this as solved
correct-apricotOP•2y ago
Thank you for your help. I honestly learned a lot that will most likely help me in the future
national-gold•2y ago
Yw, hf :CatYeah: