Skip to content

Commit a005fd4

Browse files
committed
Log EarthColor.dds size to get an estimate of what texture pack size the player has installed
1 parent 5e17dd3 commit a005fd4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Source/InstallationChecker.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ public void Start ()
4949
string.Empty
5050
);
5151
}
52+
else
53+
{
54+
var fi = new FileInfo(Path.Combine(szTextureFolderPath, "EarthColor.dds"));
55+
if (fi.Exists)
56+
{
57+
Debug.Log($"[RealSolarSystem] EarthColor.dds size: {(fi.Length / 1024d / 1024d):F1}MB");
58+
}
59+
}
5260
}
5361
catch (Exception exceptionStack)
5462
{

0 commit comments

Comments
 (0)