# spsquonk/serverstarter architecture

> Architecture diagram of the GitHub repository spsquonk/serverstarter, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/spsquonk/serverstarter
- Repository: https://github.com/spsquonk/serverstarter

## Overview

ServerStarter is a Windows/Tkinter development launcher for FlyFF. Users select server components and Neuz actions in the GUI; the launcher checks executable freshness, updates from Output when needed, and starts or stops processes. The README describes one-second compile tracking, visibility controls, Neuz INI editing, and opening the project folder. Source excerpts show the UI-to-model bindings and process-management structure; finer internal calls and external terminal wiring are not fully evidenced.

Main entry points: [`Launcher.py`](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py) (Server launcher), [`LauncherWindow.py`](https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow.py) (Launcher window), [`LauncherWindow_support.py`](https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow_support.py) (UI state variables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["User interface"]
  node_window["Launcher window<br/>[LauncherWindow.py]"]
  node_tkvars["UI state variables"]
end

subgraph group_runtime["Process management"]
  node_bindings["GUI bindings<br/>[Launcher.py]"]
  node_launcher["Server launcher<br/>[Launcher.py]"]
  node_serverprocesses["Server processes<br/>[Launcher.py]"]
end

subgraph group_artifacts["Executable artifacts"]
  node_freshness["Freshness tracking<br/>[Launcher.py]"]
  node_output[("Build output")]
  node_program[("Program executables")]
end

subgraph group_client["Neuz client"]
  node_neuz["Neuz management<br/>[Launcher.py]"]
  node_resource[("Neuz executable and INI")]
end

node_developer(("Developer"))
node_projectfolder[("Project folder")]
node_terminal["Git terminal"]

node_developer -->|"uses"| node_window
node_window -->|"uses variables"| node_tkvars
node_window -->|"triggers actions"| node_bindings
node_bindings -->|"binds controls"| node_launcher
node_launcher -->|"starts and stops"| node_serverprocesses
node_launcher -->|"checks freshness"| node_freshness
node_freshness -->|"checks builds"| node_output
node_launcher -->|"copies updates"| node_output
node_launcher -->|"runs executables"| node_program
node_bindings -->|"binds client actions"| node_neuz
node_neuz -->|"updates executable"| node_output
node_neuz -->|"runs and edits INI"| node_resource
node_bindings -->|"opens parent folder"| node_projectfolder
node_developer -.->|"opens optionally"| node_terminal

click node_window "https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow.py"
click node_tkvars "https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow_support.py"
click node_bindings "https://github.com/spsquonk/serverstarter/blob/master/Launcher.py"
click node_launcher "https://github.com/spsquonk/serverstarter/blob/master/Launcher.py"
click node_serverprocesses "https://github.com/spsquonk/serverstarter/blob/master/Launcher.py"
click node_freshness "https://github.com/spsquonk/serverstarter/blob/master/Launcher.py"
click node_neuz "https://github.com/spsquonk/serverstarter/blob/master/Launcher.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_window,node_tkvars toneBlue
class node_bindings,node_launcher,node_serverprocesses,node_projectfolder toneAmber
class node_freshness,node_output,node_program toneMint
class node_neuz,node_resource toneRose
class node_developer,node_terminal toneIndigo
```

## Components

### User interface

- [Launcher window](https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow.py): `LauncherWindow.py`
- [UI state variables](https://github.com/spsquonk/serverstarter/blob/master/LauncherWindow_support.py): `LauncherWindow_support.py`

### Process management

- [GUI bindings](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py): `Launcher.py`
- [Server launcher](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py): `Launcher.py`
- [Server processes](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py): `Launcher.py`

### Executable artifacts

- [Freshness tracking](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py): `Launcher.py`
- **Build output**
- **Program executables**

### Neuz client

- [Neuz management](https://github.com/spsquonk/serverstarter/blob/master/Launcher.py): `Launcher.py`
- **Neuz executable and INI**

### Other components

- **Developer**
- **Project folder**
- **Git terminal**

## Connections

- Developer → Launcher window: uses (evidence: `README.md`)
- Launcher window → UI state variables: uses variables (evidence: `LauncherWindow.py`)
- Launcher window → GUI bindings: triggers actions (evidence: `Launcher.py`)
- GUI bindings → Server launcher: binds controls (evidence: `Launcher.py`)
- Server launcher → Server processes: starts and stops (evidence: `Launcher.py`)
- Server launcher → Freshness tracking: checks freshness (evidence: `README.md`)
- Freshness tracking → Build output: checks builds (evidence: `README.md`)
- Server launcher → Build output: copies updates (evidence: `README.md`)
- Server launcher → Program executables: runs executables (evidence: `README.md`)
- GUI bindings → Neuz management: binds client actions (evidence: `Launcher.py`)
- Neuz management → Build output: updates executable (evidence: `README.md`)
- Neuz management → Neuz executable and INI: runs and edits INI (evidence: `README.md`)
- GUI bindings → Project folder: opens parent folder (evidence: `Launcher.py`)
- Developer → Git terminal: opens optionally (evidence: `README.md`)
