From a005fd419e26b247715ff12433e2f6c06f7698e7 Mon Sep 17 00:00:00 2001 From: siimav Date: Tue, 28 Mar 2023 14:55:03 +0300 Subject: [PATCH] Log EarthColor.dds size to get an estimate of what texture pack size the player has installed --- Source/InstallationChecker.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/InstallationChecker.cs b/Source/InstallationChecker.cs index b761882c..195e141e 100644 --- a/Source/InstallationChecker.cs +++ b/Source/InstallationChecker.cs @@ -49,6 +49,14 @@ public void Start () string.Empty ); } + else + { + var fi = new FileInfo(Path.Combine(szTextureFolderPath, "EarthColor.dds")); + if (fi.Exists) + { + Debug.Log($"[RealSolarSystem] EarthColor.dds size: {(fi.Length / 1024d / 1024d):F1}MB"); + } + } } catch (Exception exceptionStack) {