How ezthor/rm-battlescope works
RM BattleScope is a local RMUC match-data browser and tactical replay tool. Its main workflow is to select a match, read SQLite telemetry without modifying the source, clean and reconstruct tracks, infer event-linked combat and rule states, then generate interactive or static replay outputs. Separate capabilities include read-only match/event queries and batch trajectory-quality audits. The source excerpts show the replay orchestration and several inference/rendering links; less-visible subsystems are retained from README documentation without guessed internal call chains.
Main entry points: rmuc_trajectory.py Replay CLI · render.py Replay rendering · pipeline.py Track loading and cleaning · audit.py Batch quality audit
Components 17
Data access
- SQLite query CLI
scripts/rmuc_sqlite.py - RMUC dataset
Trajectory analysis
- Track loading and cleaning
rmuc_trajectory/pipeline.py - Field calibration
rmuc_trajectory/field.py - Batch quality audit
rmuc_trajectory/audit.py
Rule inference
- Attack matching
rmuc_trajectory/combat.py - Buff timelines
rmuc_trajectory/buffs.py - Dart effects
rmuc_trajectory/dart.py - Revival inference
rmuc_trajectory/revival.py - Other rule states
rmuc_trajectory
Replay and review
- Match browser
rmuc_trajectory/webapp.py - Browser UI
rmuc_web/index.html - Replay CLI
scripts/rmuc_trajectory.py - Audit CLI
scripts/rmuc_trajectory_audit.py - Replay rendering
rmuc_trajectory/render.py - Replay and reports
Other components
- Analyst
Connections 27
- Analyst → Browser UI: selects match
README.md - Browser UI → Match browser: submits replay
- Analyst → SQLite query CLI: queries data
README.md - SQLite query CLI → RMUC dataset: reads
README.md - Match browser → RMUC dataset: validates match
rmuc_trajectory/webapp.py - Match browser → Track loading and cleaning: loads tracks
rmuc_trajectory/webapp.py - Replay CLI → Track loading and cleaning: loads tracks and events
scripts/rmuc_trajectory.py - Replay CLI → Field calibration: gets canvas
scripts/rmuc_trajectory.py - Replay CLI → Attack matching: infers attacks
scripts/rmuc_trajectory.py - Replay CLI → Buff timelines: builds intervals
scripts/rmuc_trajectory.py - Replay CLI → Dart effects: infers impacts
scripts/rmuc_trajectory.py - Replay CLI → Revival inference: infers revivals
scripts/rmuc_trajectory.py - Track loading and cleaning → RMUC dataset: reads telemetry
rmuc_trajectory/pipeline.py - Track loading and cleaning → Field calibration: uses geometry
rmuc_trajectory/pipeline.py - Audit CLI → Batch quality audit: runs audit
scripts/rmuc_trajectory_audit.py - Batch quality audit → Track loading and cleaning: cleans tracks
rmuc_trajectory/audit.py - Batch quality audit → RMUC dataset: reads match data
rmuc_trajectory/audit.py - Match browser → Replay rendering: generates replay
rmuc_trajectory/webapp.py - Replay CLI → Replay rendering: renders views
scripts/rmuc_trajectory.py - Replay rendering → Field calibration: draws calibrated field
rmuc_trajectory/render.py - Replay rendering → Attack matching: shows attacks
rmuc_trajectory/render.py - Replay rendering → Buff timelines: shows buff timelines
rmuc_trajectory/render.py - Replay rendering → Dart effects: shows dart effects
rmuc_trajectory/render.py - Replay rendering → Revival inference: shows respawns
rmuc_trajectory/render.py - Replay rendering → Replay and reports: writes replay
README.md - Batch quality audit → Replay and reports: writes audit reports
README.md - Replay CLI → Other rule states: infers rule states
scripts/rmuc_trajectory.py