Skip to content

Commit 0899e13

Browse files
Add additional DLLs to the lslib retriever
1 parent d29425c commit 0899e13

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

games/baldursgate3/lslib_retriever.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,19 @@ def _needed_lslib_files(self):
2525
"Divine.dll.config",
2626
"Divine.exe",
2727
"Divine.runtimeconfig.json",
28+
"K4os.Compression.LZ4.dll",
29+
"K4os.Compression.LZ4.Streams.dll",
2830
"LSLib.dll",
2931
"LSLibNative.dll",
3032
"LZ4.dll",
33+
"Newtonsoft.Json.dll",
3134
"System.IO.Hashing.dll",
3235
"ZstdSharp.dll",
3336
}
3437
}
3538

3639
def download_lslib_if_missing(self, force: bool = False) -> bool:
37-
if not force and all(x.exists() for x in self._needed_lslib_files):
40+
if not force and (self._utils.tools_dir / "Divine.exe").exists():
3841
return True
3942
try:
4043
self._utils.tools_dir.mkdir(exist_ok=True, parents=True)

0 commit comments

Comments
 (0)