ReplayReader class is the core component of the Fortnite Replay Decompressor library. It provides methods to read, parse, and extract data from Fortnite replay files with configurable parsing levels.
Constructor
Optional logger instance for debugging and diagnostic output. Uses Microsoft.Extensions.Logging.
Optional settings to configure parsing behavior. If not provided, default settings will be used.
Methods
ReadReplay (File Path)
The full path to the replay file to read.
The level of detail to parse from the replay:
ParseType.Minimal- Basic information onlyParseType.Normal- Includes player pawns, pickups, and detailed eventsParseType.Full- Complete parsing of all available data
FortniteReplay object containing all parsed replay data.
ReadReplay (Stream)
The stream containing replay data.
The level of detail to parse from the replay.
FortniteReplay object containing all parsed replay data.
SetParseType
The group of objects to configure:
ParsingGroup.PlayerPawn- Controls parsing of player positions, bot locations, and vehicle data
The parsing level to apply to this group.
Properties
The total number of network properties that have been read from the replay. Useful for diagnostics and progress tracking.
The major version number of the Fortnite build that created the replay. Automatically extracted from the Branch property.
The minor version number of the Fortnite build that created the replay. Automatically extracted from the Branch property.
The full branch string from the replay header (e.g., “++Fortnite+Release-19.10”). Setting this property automatically updates Major and Minor versions.
Usage Examples
Basic Usage
With Custom Settings and Logging
Reading from Stream
Configuring Specific Parse Groups
Related
- FortniteReplay - The replay data model returned by ReadReplay
- FortniteReplaySettings - Configuration options for parsing behavior
- Getting Started - Complete guide to using the library