BG3 no such file...tools/vkd3d/vkd3d-proton-2.11.1/x86
Hi, I'm using HGL on Fedora 39 with copr. I installed Baldur's Gate 3 (GOG) using Wine (staging) from Fedora. It works well. I forced an update today and now HGL cannot find VKD3D anymore.
As one can see, it seems the issue is the folder does not have minor version (vkd3d-proton-v2.11 instead of vkd3d-proton-2.11.1).
How can I fix this, not changing the folder's name ?
Regards
84 Replies
flat-fuchsiaOP•2y ago
ln -s /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-v2.11 /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1
This fix the issue.
But why HGL cannot find the proper path by itself?correct-apricot•2y ago
You should remove the symlink and restart heroic
That should download the new version
stormy-gold•2y ago
same issue
for me
tysmmmmmmmmmmmmmmmm
correct-apricot•2y ago
You definitely shouldn't do that
Try again it should work
Delete that vkd3d folder maybe?
I just retested it and it works great
stormy-gold•2y ago
it works
correct-apricot•2y ago
It downloaded 2.11.1?
stormy-gold•2y ago
it took 2 trys
but it work
im playing genshin
correct-apricot•2y ago
Ok
stormy-gold•2y ago
not the thing ur talking aby
abt*
correct-apricot•2y ago
You did the symlink method?
stormy-gold•2y ago
yea
correct-apricot•2y ago
Could you remove the symlink
And delete the vkd3d folder
And restart heroic
stormy-gold•2y ago
?
i did this
correct-apricot•2y ago
Yeah I'm asking you to do something else
To test
stormy-gold•2y ago
do what
correct-apricot•2y ago
This
stormy-gold•2y ago
comeon why test me
fine
ill try it
correct-apricot•2y ago
Cuz nobody else who has problems is online :sunglase:
stormy-gold•2y ago

stormy-gold•2y ago
this one right?
correct-apricot•2y ago
Yep
stormy-gold•2y ago
i deleted it
now what
correct-apricot•2y ago
Restart heroic
stormy-gold•2y ago
done
correct-apricot•2y ago
Like exit from the tray icon
stormy-gold•2y ago
yeah
i did
correct-apricot•2y ago
Ok good
Is there a 2.11.1 folder now?
stormy-gold•2y ago
wait
nope
theres the vkd folder again
stormy-gold•2y ago

correct-apricot•2y ago
Check inside the vkd3d folder
stormy-gold•2y ago

correct-apricot•2y ago
Yay
It worked
Well so the secret is just to restart heroic
stormy-gold•2y ago
;D
flat-fuchsiaOP•2y ago
This doesn't work.
It download stuff, but at the end, the folder is the same.
flat-fuchsiaOP•2y ago
Download stuff:

flat-fuchsiaOP•2y ago
1 second later:

flat-fuchsiaOP•2y ago
heroic terminal output:
stormy-gold•2y ago
dude have some patience
if you run it twice]
it will work
flat-fuchsiaOP•2y ago
I tried multiple times. Still broken.
stormy-gold•2y ago
did you update and restart the launcher?
flat-fuchsiaOP•2y ago
Each time HGL tries to "Updating vkd3d to: vkd3d-proton-2.11.1"
stormy-gold•2y ago
can you show me?
show me the log
in msg tho
dont send file]
flat-fuchsiaOP•2y ago
flat-fuchsiaOP•2y ago

stormy-gold•2y ago
idk
probably wait for the person to come online
flat-fuchsiaOP•2y ago
I will, ty
correct-apricot•2y ago
you restarted heroic right?
something is happening during the download, maybe the file it is getting is corrupted
I guess
flat-fuchsiaOP•2y ago
Yes, several times.
liable-blush•2y ago
Hay I am also having this issue, fedora copr install, missing, vkd3d-proton-2.11.1,
This problem doesnt seem to be resolved (i tried deleting the folder but heroic does not regenerate it. And I am not too keen on OPs symlink hack.
Can you help me find the proper fix. Thanks
I haven't read through the full thread here, but you might want to try deleting the whole
vkd3d
folder in the tools
directory
At minimum you'll have to delete the latest_vkd3d
file in there, otherwise the installer will just not download the new versionliable-blush•2y ago
That does not work for some reason the download is failing.
Is there a way to get hold of this updated file (perhaps from steam or github) or just make heroic just use the old version.
Heroic will always use the latest version available
You can manually download the file from here, extract it to the
vkd3d-proton-2.11.1
subfolder of the vkd3d
folder, and create the latest_vkd3d
file with just the text vkd3d-proton-2.11.1
as its contents
Buuut this is exactly what the installer does, so I don't know why it would be failing anywhere thereliable-blush•2y ago
I did that and now my games are working. Thank you for your help
flat-fuchsiaOP•2y ago
This is not solved.
Same issue here: https://discord.com/channels/812703221789097985/1191783177346355280
Well, I can't reproduce this issue, so you'd have to send us a log file (of Heroic, not your game)
flat-fuchsiaOP•2y ago
https://discord.com/channels/812703221789097985/1190966494910234724/1190966494910234724
The issue is still here. It's the same. HGL doesn't find VKD3D and fail to download the latest version.
Here is the terminal output of HGL:
https://discord.com/channels/812703221789097985/1190966494910234724/1191065727709499554
Tell me if you need more.
deep-jade•2y ago
at least according to the log it got downloaded/updated:
flat-fuchsiaOP•2y ago
This is wrong:
https://discord.com/channels/812703221789097985/1190966494910234724/1191063581685461052
It download the file, but it get erased somehow.
If you're reading through the pinned messages for a solution to this issue: Run the commands at the end of this message.
If you're using the Flatpak version of Heroic, adjust the path in the
cd
command to be ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/vkd3d
instead
Original message:
I'm really not sure what's going wrong here, the archive file is structured the same way any other release is, nothing looks out of place in the log, the update going wrong in the past shouldn't influence it in any way... it should just work
You could try manually running the commands Heroic essentially runs, but as I mentioned a few messages above, I don't see how this could change anything. It's just gonna work, just like Heroic should just work
flat-fuchsiaOP•2y ago
I could indeed do the stuff myself, but it wont fix the HGL bad behavior. I'm not the only one facing this.
I use this workaround which allow me to play my games :
https://discord.com/channels/812703221789097985/1190966494910234724/1190986366956351488
Well, I was moreso hoping that manually running the commands would expose the issue happening here
flat-fuchsiaOP•2y ago
Ok, let's give it a try...
Right... Don't do that, it'll make it look like 2.11.1 is installed, even though you really only have 2.11 (no .1)
It's fine as a workaround, but the commands above won't work with that symlink in place
flat-fuchsiaOP•2y ago
I've duplicate the whole folder and removed the sym link...
This fix the issue.
flat-fuchsiaOP•2y ago

flat-fuchsiaOP•2y ago
Thus I suspect the logic HGL is using is not the same as the one you provided me.
Interesting. As I said above, this is basically what Heroic does (downloading is done using a library, but the
tar
command is literally the same command copy-pasted from the code)
Could you try renaming the whole vkd3d
folder and then starting up Heroic? I'd like to see if you can still reproduce the issueflat-fuchsiaOP•2y ago
Just starting HGL:

flat-fuchsiaOP•2y ago
Game log :
Still broken.
I assume Heroic's log file still contains the same "downloaded vkd3d" and "vkd3d updated!" messages?
correct-apricot•2y ago
I am genuinely confused on what's up with the vkd3d-proton 2.11.1
it works on my machine
could it be a permission problem?
maybe needs to be 777 permisions for whatever reason
flat-fuchsiaOP•2y ago
Yes it does :
What was the issue with the original archive you uploaded?
My only suspicion is that the downloader module we're using is caching the file somehow. But assuming the original lacked the subfolder, we should still see something happening here
flat-fuchsiaOP•2y ago
Is there a way to get a more verbose output ? including tar maybe ?
Heroic prints out
Extracting Error: <outputOfTar>
if it exits with a code other than 0, so we should already have it if that would be the issue
This is a shot in the dark, but could you try this version of Heroic? (click the "linux-AppImage" in the "Artifacts" section; a GitHub account is required)
I don't think this'll change anything, but then I know that I can base a potential debug build (logging all kinds of info about the install/update process) off main
instead of the (now somewhat old) release codeflat-fuchsiaOP•2y ago

flat-fuchsiaOP•2y ago
This works
This is somewhat different from https://discord.com/channels/812703221789097985/1190966494910234724/1191900978048417792
Oh, I think I have an idea
I still don't know why it wouldn't work, but that's a lead at least
For now, you can rest easy knowing the code you just tested will be in the next release, so it should just keep working once that's out. I don't think there will be any new vkd3d updates until then
flat-fuchsiaOP•2y ago
It's almost 2AM here, i'll go to bed now. Thank you.
I think I have an ideaNope, that was nothing either. The
tar
command you ran earlier is the same one Heroic runs when updating.
We updated our extraction function after that release to support some other use cases (that was the lead I was looking into), but in this case the same command gets ran. Really unsure what's wrong here (and also why it's just... working for most of us)
I'll pin the messages about doing the process manually, in case anyone else needs themcorrect-apricot•2y ago
nothing apparently?
it was the same archive
I can run sha256 to verify
flat-fuchsiaOP•2y ago
I monitored what's happening in the folder:
flat-fuchsiaOP•2y ago
Right, the downloader module first downloads the file in parts, then joins them all together and closes the file (that's everything up to line 734), then tar opens the file (L735) and just... does nothing for some reason
Ohhhh
You're on Heroic 2.10, I was looking at the code for 2.11 the whole time