How patricklumowa/project-remnants-setup works
Project Remnants Setup is a Windows installer and configuration utility for the Project Zomboid NPCFW Java agent, with optional local Ollama and remote API model setup. The main workflow starts in the GUI or command line, locates the game and agent, configures the game’s Java arguments and dependencies, and saves provider settings. Separate model-catalog and benchmark capabilities support choosing and assessing local models. Edges are limited to calls and relationships visible in excerpts or the source index; unsampled modules are represented only where documented by those references.
Main entry points: MainForm.cs Setup window · ProjectZomboidConfig.cs Game config editing · ModelCatalogForm.cs Model catalog · OllamaDriver.cs Ollama runtime
Components 20
Application entry
- Application entry
src/ProjectRemnants.Setup/Program.cs - Command-line modes
src/ProjectRemnants.Setup/CommandLine.cs - Setup window
src/ProjectRemnants.Setup/MainForm.cs - Elevated restart
src/ProjectRemnants.Setup/Elevation.cs
Game installation
- Game discovery
src/ProjectRemnants.Setup/Install/GameLocator.cs - Agent discovery
src/ProjectRemnants.Setup/Install/AgentLocator.cs - Game config editing
src/ProjectRemnants.Setup/Install/ProjectZomboidConfig.cs - Agent dependencies
src/ProjectRemnants.Setup/Install/JavaAgentDependencies.cs - Game installation files
Model setup
- Provider settings
src/ProjectRemnants.Setup/Llm/LlmConfigurationStore.cs - Model catalog
src/ProjectRemnants.Setup/Llm/ModelCatalogForm.cs - Ollama runtime
src/ProjectRemnants.Setup/Llm/OllamaDriver.cs - Ollama catalog
src/ProjectRemnants.Setup/Llm/OllamaCatalog.cs - Model fit assessment
src/ProjectRemnants.Setup/Llm/ModelFit.cs - Remote API bridge
src/ProjectRemnants.Setup/Llm/RemoteApiBridge.cs - Remote model discovery
src/ProjectRemnants.Setup/Llm/RemoteModelDiscovery.cs
Model benchmarking
- Benchmark interface
src/ProjectRemnants.Setup/Benchmark/BenchmarkForm.cs - Benchmark pack
src/ProjectRemnants.Setup/Benchmark/BenchmarkPack.cs - Ollama benchmark
src/ProjectRemnants.Setup/Benchmark/OllamaBenchmark.cs
Other components
- Setup user
Connections 26
- Setup user → Application entry: launches
src/ProjectRemnants.Setup/Program.cs - Application entry → Command-line modes: dispatches arguments
src/ProjectRemnants.Setup/Program.cs - Application entry → Setup window: opens by default
src/ProjectRemnants.Setup/Program.cs - Command-line modes → Game config editing: installs or removes
src/ProjectRemnants.Setup/CommandLine.cs - Setup window → Game discovery: discovers installs
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Agent discovery: finds agent
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Game config editing: configures game
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Agent dependencies: manages files
- Setup window → Elevated restart: restarts elevated
src/ProjectRemnants.Setup/MainForm.cs - Game config editing → Agent discovery: validates agent path
src/ProjectRemnants.Setup/Install/ProjectZomboidConfig.cs - Game config editing → Agent dependencies: manages dependencies
src/ProjectRemnants.Setup/Install/ProjectZomboidConfig.cs - Game config editing → Game installation files: edits configuration
src/ProjectRemnants.Setup/Install/ProjectZomboidConfig.cs - Agent dependencies → Game installation files: backs up and installs
src/ProjectRemnants.Setup/Install/JavaAgentDependencies.cs - Setup window → Provider settings: loads and saves
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Ollama runtime: configures provider
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Remote API bridge: configures provider
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Model catalog: opens catalog
src/ProjectRemnants.Setup/MainForm.cs - Setup window → Remote model discovery: discovers remote models
src/ProjectRemnants.Setup/MainForm.cs - Model catalog → Ollama runtime: queries and pulls
src/ProjectRemnants.Setup/Llm/ModelCatalogForm.cs - Model catalog → Ollama catalog: loads catalog
src/ProjectRemnants.Setup/Llm/ModelCatalogForm.cs - Model catalog → Model fit assessment: evaluates model sizes
src/ProjectRemnants.Setup/Llm/ModelCatalogForm.cs - Ollama runtime → Model fit assessment: uses sizing rules
src/ProjectRemnants.Setup/Llm/OllamaDriver.cs - Setup window → Benchmark interface: opens benchmark
src/ProjectRemnants.Setup/MainForm.cs - Benchmark interface → Benchmark pack: uses pack
- Benchmark interface → Ollama benchmark: runs benchmarks
- Ollama benchmark → Ollama runtime: tests local models