This commit is contained in:
2026-05-02 05:35:16 +09:00
parent 57aeba4bb8
commit e40a2a568e
36 changed files with 3198 additions and 411 deletions

View File

@@ -431,6 +431,8 @@ internal sealed class CatalogEventHandler : KAEventHandler
internal sealed class CatalogOptions
{
private const string FixedT3CutPath = @"D:\Elect2026\T3_Cut";
public string Host { get; private set; }
public int Port { get; private set; }
public TimeSpan Timeout { get; private set; }
@@ -444,11 +446,7 @@ internal sealed class CatalogOptions
Host = "127.0.0.1";
Port = 30001;
Timeout = TimeSpan.FromSeconds(5);
RootPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
"Tornado3 Data",
"T3_Cut",
"T3_Cut");
RootPath = FixedT3CutPath;
OutputPath = Path.Combine(Environment.CurrentDirectory, "SCENE_OBJECT_CATALOG.md");
SceneFilter = string.Empty;
MaxScenes = 0;
@@ -474,7 +472,7 @@ internal sealed class CatalogOptions
index++;
break;
case "--root" when index + 1 < args.Length:
options.RootPath = Path.GetFullPath(args[++index]);
index++;
break;
case "--output" when index + 1 < args.Length:
options.OutputPath = Path.GetFullPath(args[++index]);