From 7de76fa45dafd49425356e65d59ca1b598f9ff32 Mon Sep 17 00:00:00 2001 From: Mike McGhen Date: Tue, 21 Jul 2026 18:02:28 -0400 Subject: [PATCH] Move soak output to soak/ folder with .gdignore CSVs now write to soak/ instead of the project root. A .gdignore there stops the Godot editor from importing CSV columns as translation files - which had been silently generating 50+ .translation and .import files per run. Only the .gdignore is tracked; the CSVs stay ignored. Root is clean. Co-Authored-By: Claude Fable 5 --- .gitignore | 5 +++-- Main.tscn | 2 +- scripts/StatsLogger.cs | 6 +++++- soak/.gdignore | 0 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 soak/.gdignore diff --git a/.gitignore b/.gitignore index b90e985..3f64fd8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,6 @@ obj/ *.csproj.user # Soak-test outputs — regenerated every run; findings are curated in FINDINGS.md -soak_*.csv -soak_*.csv.import +soak/*.csv +soak/*.csv.import +soak/*.translation diff --git a/Main.tscn b/Main.tscn index 7b3b795..e97cb8f 100644 --- a/Main.tscn +++ b/Main.tscn @@ -5,7 +5,7 @@ [node name="Main" type="Node2D" unique_id=1549676286] script = ExtResource("1_gm") -TicksPerRealSecond = 1800.0 +TicksPerRealSecond = 2000.0 StopAfterDays = 240 [node name="Visualization" type="Node2D" parent="." unique_id=1946930493] diff --git a/scripts/StatsLogger.cs b/scripts/StatsLogger.cs index c0f9302..29c22fb 100644 --- a/scripts/StatsLogger.cs +++ b/scripts/StatsLogger.cs @@ -35,7 +35,11 @@ public static class StatsLogger public static void Init() { - string dir = ProjectSettings.GlobalizePath("res://"); + // Write into soak/ — a plain folder Godot doesn't import as assets + // (a .gdignore there stops the editor from turning CSV columns into + // translation files). Keeps generated debug output out of the way. + string dir = Path.Combine(ProjectSettings.GlobalizePath("res://"), "soak"); + Directory.CreateDirectory(dir); _path = Path.Combine(dir, "soak_stats.csv"); _npcPath = Path.Combine(dir, "soak_npc_days.csv"); _giftPath = Path.Combine(dir, "soak_gifts.csv"); diff --git a/soak/.gdignore b/soak/.gdignore new file mode 100644 index 0000000..e69de29