How led-n/fortnite-chestcounter works
Chest Counter is a Windows desktop tool that analyzes Fortnite’s saved match replays, tracks opened chests and treasure rewards, and presents the history in an in-game overlay and browser report. The documented workflow is replay-folder monitoring, replay parsing and chest analysis, persistent match tracking, then UI/report rendering. The source index confirms key parser and app references; unsampled subsystems are included where README capabilities establish their role, but their internal call paths are not inferred.
Main entry points: Program.cs App coordinator · ReplayAnalyzer.cs Replay analyzer · Tracker.cs Match tracker · NativeOverlay.cs Game overlay
Components 19
Desktop App
- App coordinator
src/ChestCounter/Program.cs - Replay watcher
src/ChestCounter/FortniteWatch.cs - Match tracker
src/ChestCounter/Tracker.cs - History store
src/ChestCounter/Models.cs - Profiles
src/ChestCounter/Profiles.cs - Version updater
src/ChestCounter/Updater.cs - Notification tray
src/ChestCounter/Tray.cs
Replay Analysis
- Replay analyzer
src/ChestCounter/ReplayAnalyzer.cs - Chest exports
lib/FortniteReplayReader/Models/NetFieldExports/Items/Chest.cs - Match records
src/ChestCounter/Models.cs
User Views
- Console UI
src/ChestCounter/ConsoleUi.cs - Game overlay
src/ChestCounter/NativeOverlay.cs - Overlay state
src/ChestCounter/OverlayModel.cs - History report
src/ChestCounter/ReportWriter.cs
Replay Libraries
- Fortnite replay reader
lib/FortniteReplayReader/FortniteReplayReader.cs - Replay builder
lib/FortniteReplayReader/FortniteReplayBuilder.cs - Unreal replay parser
lib/Unreal.Core/ReplayReader.cs - Net-field parser
lib/Unreal.Core/NetFieldParser.cs
Other components
- Fortnite player
Connections 23
- Fortnite player → Replay watcher: records replays
- App coordinator → Replay watcher: starts monitoring
src/ChestCounter/Program.cs - App coordinator → Match tracker: coordinates tracking
src/ChestCounter/Program.cs - Replay watcher → Match tracker: notifies replay changes
- Match tracker → Replay analyzer: analyzes replay
src/ChestCounter/ReplayAnalyzer.cs - Replay analyzer → Fortnite replay reader: parses replay
src/ChestCounter/ReplayAnalyzer.cs - Fortnite replay reader → Replay builder: builds replay data
lib/FortniteReplayReader/FortniteReplayReader.cs - Fortnite replay reader → Unreal replay parser: extends parser
lib/FortniteReplayReader/FortniteReplayReader.cs - Unreal replay parser → Net-field parser: parses fields
lib/Unreal.Core/ReplayReader.cs - Replay analyzer → Chest exports: reads chest exports
src/ChestCounter/ReplayAnalyzer.cs - Replay analyzer → Match records: produces match data
src/ChestCounter/Models.cs - Match tracker → History store: persists history
- App coordinator → History store: loads settings and data
src/ChestCounter/Program.cs - App coordinator → Console UI: drives interface
src/ChestCounter/Program.cs - App coordinator → Game overlay: controls overlay
src/ChestCounter/Program.cs - Game overlay → Overlay state: renders state
src/ChestCounter/NativeOverlay.cs - App coordinator → History report: generates report
src/ChestCounter/Program.cs - History report → Match records: reads match history
src/ChestCounter/ReportWriter.cs - App coordinator → Profiles: manages profiles
src/ChestCounter/Program.cs - App coordinator → Notification tray: manages tray
src/ChestCounter/Program.cs - App coordinator → Version updater: checks updates
src/ChestCounter/Program.cs - History report → Fortnite player: opens browser report
- Game overlay → Fortnite player: shows match figures