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?
12 Replies
Rex
Rex7d ago
Did you alpakit for development or release?
DarthPorisius
DarthPorisius7d ago
Release
Rex
Rex7d ago
Can you find those two DLLs in an EGS copy of the game?
DarthPorisius
DarthPorisius7d 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
Rex7d ago
Oh, wait, are they custom libraries used by your mod?
DarthPorisius
DarthPorisius7d ago
For uWebSockets, yes
Rex
Rex7d ago
Hmmm, let me see
DarthPorisius
DarthPorisius7d ago
Missing this style of line in my build.cs for some reason... XD CopyToBinaries(ModuleDirectory + "/lib/YourLib.dll", Target);
Rex
Rex7d ago
Odd, where should this be?
DarthPorisius
DarthPorisius7d ago
dll, Binaries/Win64 I think I forgot to check linux dedi, but one problem at a time.
Rex
Rex7d ago
I mean the CopyToBinaries call
DarthPorisius
DarthPorisius7d 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
Want results from more Discord servers?
Add your server