diff --git a/AppCore/FFNxConfigManager.cs b/AppCore/FFNxConfigManager.cs index d7d9f711..c16d4071 100644 --- a/AppCore/FFNxConfigManager.cs +++ b/AppCore/FFNxConfigManager.cs @@ -218,7 +218,7 @@ public void Save() File.WriteAllLines(_pathToFFNxToml, _write); } - public void OverrideInternalKeys() + public void OverrideInternalKeys(bool debug = false) { // first launch the Sys Path was not setup correctly yet so _toml is null if(_toml == null) @@ -250,6 +250,7 @@ public void OverrideInternalKeys() _toml["ffmpeg_video_ext"] = "avi"; _toml["mod_path"] = "mods/Textures"; _toml["direct_mode_path"] = "direct"; + _toml["trace_all"] = debug; } public void ResetTo7thHeavenDefaults() diff --git a/AppUI/Classes/GameLauncher.cs b/AppUI/Classes/GameLauncher.cs index f1cab3e1..58a9cafa 100644 --- a/AppUI/Classes/GameLauncher.cs +++ b/AppUI/Classes/GameLauncher.cs @@ -407,7 +407,7 @@ public static async Task LaunchGame(bool varDump, bool debug, bool launchW // Sys.FFNxConfig.Reload(); Sys.FFNxConfig.Backup(true); - Sys.FFNxConfig.OverrideInternalKeys(); + Sys.FFNxConfig.OverrideInternalKeys(debug && runtimeProfile != null); foreach (RuntimeMod mod in runtimeProfile.Mods) { foreach(FFNxFlag flag in mod.FFNxConfig)