Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions source/CleoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,21 @@ namespace CLEO
CleoInstance.saveSlot = saveSlot;
TRACE("Starting new game session, save slot: %d", saveSlot);

// log important config settings
TRACE("Config summary:");
TRACE(" MainScmLegacyMode = %d", CConfigManager::ReadInt("General", "MainScmLegacyMode", 0));
TRACE(" StrictValidation = %d", CConfigManager::ReadInt("Plugins", "StrictValidation", 0));
auto scriptLogEnabled = CConfigManager::ReadInt("Plugins", "DebugUtils.ScriptLog.Enabled", 0);
if (scriptLogEnabled != 0)
{
const auto path = (GetLogDirectory() + "\\cleo_script.log").c_str();
TRACE(" DebugUtils.ScriptLog.Enabled = %d, path: %s", scriptLogEnabled, path);
}
else
{
TRACE(" DebugUtils.ScriptLog.Enabled = 0");
}

// execute registered callbacks
CleoInstance.CallCallbacks(eCallbackId::GameBegin, saveSlot);
}
Expand Down
Loading