Skip to content

Commit 8dac496

Browse files
committed
Reports some basic data about the game now as it used to before.
1 parent 276e245 commit 8dac496

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ShortStartLoader/StartupOptimize.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ void LoadAllArcOfPrefix2(string prefix)
218218
//AddFolderOrArchive("product");
219219
//Product.Initialize(GameUty.m_FileSystem);
220220

221+
ShortStartLoader.PluginLogger.LogInfo(
222+
$"Product Type: {Product.type.ToString()}\n" +
223+
$"Game Version: {GameUty.GetGameVersionText()}\n" +
224+
$"Build Version: {GameUty.GetBuildVersionText()}\n" +
225+
$"Is CM Linked: {GameUty.IsEnabledCompatibilityMode.ToString()}" +
226+
(GameUty.IsEnabledCompatibilityMode ? $"\nCM Version: {GameUty.GetLegacyGameVersionText()}" : string.Empty)
227+
);
228+
221229
_backgroundLoadTask = Task.Factory.StartNew(delegate
222230
{
223231
var stopwatch1 = new Stopwatch();

0 commit comments

Comments
 (0)