Skip to contents

The package reads 37 file extensions in 33 formats. Five extensions have the file structure of another format. One extension, .txt, is that of two formats, those of the Atari Grand Challenge and Atari-HEAD data sets, which read_movie() tells apart by their first line. Any other .txt file is none of them; recording_format() says which files of a folder are recordings.

Usage

supported_formats(details = FALSE)

Arguments

details

FALSE (default) returns the file extensions. TRUE returns a table of the formats.

Value

Character vector of file extensions in lower case with a leading dot. With details = TRUE, a data frame with one row per extension and format (two rows for .txt): extension, structure (the extension that names the file structure: the extension itself, except that TAStudio projects and GBAHawk recordings are BK2 archives, early BizHawk TAS recordings are BKM files, FCEUX TAS Editor projects begin with an FM2 recording, and HGM is a second extension of Hourglass WTF; the two formats under .txt have the names atari_gc and atari_head), reader (the function that reads it; read_movie() calls it for a file of that format), emulator (the emulator or program that writes such files, with its game in brackets where it serves a single game, or the data set whose tables they are) and platform (the platform code of recording_info() where the format serves one console, otherwise NA: the recording names its platform).

Examples

supported_formats()
#>  [1] ".fm2"     ".bk2"     ".fcm"     ".lsmv"    ".gmv"     ".vbm"    
#>  [7] ".m64"     ".smv"     ".pxm"     ".pjm"     ".dtm"     ".lmp"    
#> [13] ".fm3"     ".fmv"     ".bkm"     ".tas"     ".tasproj" ".gbmv"   
#> [19] ".mmv"     ".dsm"     ".mc2"     ".mcm"     ".ymv"     ".ctm"    
#> [25] ".gzm"     ".zmv"     ".mar"     ".ltm"     ".wtf"     ".hgm"    
#> [31] ".jrsr"    ".omr"     ".ctas"    ".fbm"     ".dft"     ".dem"    
#> [37] ".txt"    
head(supported_formats(details = TRUE))
#>   extension structure    reader         emulator platform
#> 1      .fm2      .fm2  read_fm2            FCEUX      NES
#> 2      .bk2      .bk2  read_bk2          BizHawk     <NA>
#> 3      .fcm      .fcm  read_fcm             FCEU      NES
#> 4     .lsmv     .lsmv read_lsmv            lsnes     <NA>
#> 5      .gmv      .gmv  read_gmv             Gens      GEN
#> 6      .vbm      .vbm  read_vbm VisualBoyAdvance     <NA>