roflxd-d 0.0.1
League of Legends ROFL replay parser ported from C# to D.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
roflxd.d
D port of the roflxd.cs League of Legends replay parser.
Design goals
- One type per file, named after that type (Java-style organization).
- Keep parsing rules explicit and small (Clean Code style: single responsibility, clear names, small methods).
- Preserve replay parsing behavior from the C# implementation for:
- replay type detection (
ROFLvsROFL2) - ROFL header, metadata, payload header, chunk headers, and chunks
- ROFL2 metadata extraction from footer
Usage
import roflxd;
auto options = new ReplayReaderOptions();
options.loadPayload = true;
auto result = ReplayReader.readReplay("example.rofl", options);
Notes
ROFL2.toBytes()/ROFL2.toFile()are intentionally unsupported, matching the practical limitations in the C# project.- Metadata player stats are parsed as JSON objects (
JSONValue[]) to support evolving stat keys without frequent model rewrites.
- Registered by Carter
- 0.0.1 released 8 days ago
- zkxjzmswkwl/roflxd.d
- MIT
- Authors:
- Dependencies:
- none
- Versions:
-
Show all 2 versions0.0.1 2026-Apr-09 ~main 2026-Apr-09 - Download Stats:
-
-
0 downloads today
-
2 downloads this week
-
2 downloads this month
-
2 downloads total
-
- Score:
- 0.0
- Short URL:
- roflxd-d.dub.pm