Steam cannot load due to missing dlls, EGS fires up just fine.

[2024.10.11-17.30.40:676][ 0]LogWindows: Missing import: uv.dll
[2024.10.11-17.30.40:676][ 0]LogWindows: Missing import: zlib1.dll
[2024.10.11-17.30.40:676][ 0]LogWindows: Missing import: uv.dll
[2024.10.11-17.30.40:676][ 0]LogWindows: Missing import: zlib1.dll
My EGS install does not have those files in the Binaries/Win64 location, but executes and plays just fine. However, Steam requires those files to be in the location. As a bandaid, I am manually adding those to the Binaries/Win64 location, but in the future, how would I ensure those two files are present?
16 Replies
Rex
Rex3mo ago
Did you alpakit for development or release?
DarthPorisius
DarthPorisiusOP3mo ago
Release
Rex
Rex3mo ago
Can you find those two DLLs in an EGS copy of the game?
DarthPorisius
DarthPorisiusOP3mo ago
In the same location as I do for my Steam copy, matter of fact, I was surprised to see a Source folder in my mod. I'm surprised EGS even worked, because even Dev Editor will not work without those two files in the Binaries folder
Rex
Rex3mo ago
Oh, wait, are they custom libraries used by your mod?
DarthPorisius
DarthPorisiusOP3mo ago
For uWebSockets, yes
Rex
Rex3mo ago
Hmmm, let me see
DarthPorisius
DarthPorisiusOP3mo ago
Missing this style of line in my build.cs for some reason... XD CopyToBinaries(ModuleDirectory + "/lib/YourLib.dll", Target);
Rex
Rex3mo ago
Odd, where should this be?
DarthPorisius
DarthPorisiusOP3mo ago
dll, Binaries/Win64 I think I forgot to check linux dedi, but one problem at a time.
Rex
Rex3mo ago
I mean the CopyToBinaries call
DarthPorisius
DarthPorisiusOP3mo ago
In the build.cs, sorry, trying to put out the fire I started...
private void CopyToBinaries(string Filepath, ReadOnlyTargetRules Target)
{
string binariesDir = Path.Combine(ModPath, "Binaries", Target.Platform.ToString());
string filename = Path.GetFileName(Filepath);

if (!Directory.Exists(binariesDir))
Directory.CreateDirectory(binariesDir);

if (!File.Exists(Path.Combine(binariesDir, filename)))
File.Copy(Filepath, Path.Combine(binariesDir, filename), true);
}
private void CopyToBinaries(string Filepath, ReadOnlyTargetRules Target)
{
string binariesDir = Path.Combine(ModPath, "Binaries", Target.Platform.ToString());
string filename = Path.GetFileName(Filepath);

if (!Directory.Exists(binariesDir))
Directory.CreateDirectory(binariesDir);

if (!File.Exists(Path.Combine(binariesDir, filename)))
File.Copy(Filepath, Path.Combine(binariesDir, filename), true);
}
Yeah, seems to be another piece to this puzzle. Both of them are Steam users. I'll have them try this: https://www.epicgames.com/help/en-US/c-Category_EpicGamesStore/c-EpicGamesStore_LauncherSupport/how-do-i-fix-the-vcruntime140-dll-is-missing-or-vcomp110-dll-was-not-found-error-a000084623#:~:text=If%20you%20received%20this%20error,try%20launching%20your%20game%20again.
[2024.10.11-19.48.03:761][ 0]LogWindows: Missing import: VCRUNTIME140D.dll
[2024.10.11-19.48.03:761][ 0]LogWindows: Missing import: ucrtbased.dll
[2024.10.11-19.48.03:761][ 0]LogWindows: Missing import: VCRUNTIME140D.dll
[2024.10.11-19.48.03:761][ 0]LogWindows: Missing import: ucrtbased.dll
or maybe this: https://steamcommunity.com/discussions/forum/11/5595176692467011093/?l=indonesian
Robb
Robb3mo ago
did that work out in the end?
DarthPorisius
DarthPorisiusOP3mo ago
Turns out I was using the debug libraries and not the release ones. I may need assistance later, as I'm going to Hell (Ohio) for the weekend, resolving linker errors by not using the DLLs. It's a pain to manually add them, but it's low on the list as I have a workaround for now.
Rex
Rex3mo ago
What is the workaround? Copy the DLLs manually?
DarthPorisius
DarthPorisiusOP3mo ago
Yeah, but it only is needed for Winblows. I'm getting back on the road now, just got into Virginia.
Want results from more Discord servers?
Add your server