Prerequisites
Before you begin, ensure you have:- .NET 6.0 or later installed
- FortniteReplayReader package installed (see installation guide)
- A Fortnite replay file (.replay) to parse
Your first replay parser
Create a ReplayReader instance
Initialize the
ReplayReader with optional configuration:Pass
null for the logger parameter if you don’t need logging. For production use, consider using Microsoft.Extensions.Logging.Read a replay file
Parse the replay file using the
ReadReplay method:Parse type options
Parse type options
ParseType.Minimal- Fast parsing with basic data (~2-3 seconds)ParseType.Normal- Includes player tracking (~5-10 seconds)ParseType.Full- Complete data extraction (recommended for analysis)
Complete working example
Here’s a complete program based on the library’s ConsoleReader example:Configuration options
You can customize what data is extracted usingFortniteReplaySettings:
- Performance-focused
- Full tracking
- Personal stats only
Parse from a stream
You can also parse replays from aStream instead of a file path:
- Reading from network streams
- Processing replays from memory
- Handling compressed files
What data can you access?
After parsing, theFortniteReplay object contains:
Eliminations
Player elimination events with locations, weapons, and elimination details
Stats
Match statistics including kills, accuracy, damage, materials, and more
Players
Complete player information including placement, kills, team, and inventory
Game Events
Safe zones, supply drops, llamas, and other in-game events
Location Tracking
Player movement paths and positions throughout the match
Inventory
Player inventory changes, weapon switches, and loot pickups
Next steps
Configuration
Learn about all configuration options
Extracting player data
Deep dive into player statistics and tracking
Game events
Work with eliminations, safe zones, and more
Performance optimization
Optimize parsing for your use case