replayr: Read Input Recordings of Video Games

Imports input recordings and demo files of video games, as made in tool-assisted speedrunning, reinforcement learning, and research on human-game interaction. Reads the formats of 'FCEUX', 'BizHawk', 'Dolphin', 'Citra', 'libTAS', 'openMSX', 'JPC-RR', 'Gym Retro', the 'Doom' and 'GoldSrc' engines, and other recording tools. Platforms include the Atari 2600, Nintendo, Sega, and Sony consoles, arcade machines, and personal computers. Imported recordings keep compact digital control arrays, stable control identities, original numeric channels, metadata, and emulator commands. Supports gamepads, keyboards, mice, touchscreens, and recorded motion or light-gun channels. Source timing distinguishes frames, controller polls, and timestamped events. Left and right stick directions, angles, and magnitudes can be selected independently. Allows analysis of input recordings without running an emulator.

Version: 0.4.0
Depends: R (≥ 4.0)
Imports: jsonlite, xml2, zip (≥ 3.0.2), utils
Suggests: knitr, rmarkdown, testthat (≥ 3.1.7)
Published: 2026-11-17
DOI: 10.32614/CRAN.package.replayr (may not be active yet)
Author: Thorben Pelzer ORCID iD [aut, cre]
Maintainer: Thorben Pelzer <thorben at pelzer.blog>
BugReports: https://github.com/tp451/replayr/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: see file COPYRIGHTS
URL: https://github.com/tp451/replayr, https://tp451.github.io/replayr/
NeedsCompilation: no
Language: en-GB
Materials: README, NEWS
CRAN checks: replayr results

Documentation:

Reference manual: replayr.html , replayr.pdf
Vignettes: Recording compatibility (source)
Getting started with replayr (source, R code)

Downloads:

Package source: replayr_0.4.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): replayr_0.4.0.tgz, r-oldrel (x86_64): replayr_0.4.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=replayr to link to this page.