GitXplorerGitXplorer
o

retro

public
3386 stars
524 forks
58 issues

Commits

List of commits on branch master.
Verified
094531b16221d9199c2e9b7913259ba448c57e37

removing deprecated links. (#276)

jjakemcneil committed a year ago
Verified
98fe0d328e1568836a46e5fce55a607f47a0c332

227 integration docs (#234)

mmwidjaja1 committed 3 years ago
Verified
68869364cdde841ff0ac6a6efe3676a0e75ada0c

Adds examples of custom integration directory names to Docs (#223)

pprabhatnagarajan committed 4 years ago
Verified
bcc76f2dac29fc64f2051667bb1b8ddd5bb57c22

Update README.md

cchristopherhesse committed 4 years ago
Verified
f347d7e707b82e65af0ef3781e040ebfebf76acf

cores: Fix build on gcc 10 (#213)

eendrift committed 4 years ago
Verified
e65814fb8ce1c177483491919bcfaa35e63428cb

Add parser option to record interactive game play (#214)

pparmarsuraj99 committed 4 years ago

README

The README file for this repository.

Status: Maintenance (expect bug fixes and minor updates)

Gym Retro

Gym Retro lets you turn classic video games into Gym environments for reinforcement learning and comes with integrations for ~1000 games. It uses various emulators that support the Libretro API, making it fairly easy to add new emulators.

Supported platforms:

  • Windows 7, 8, 10
  • macOS 10.13 (High Sierra), 10.14 (Mojave)
  • Linux (manylinux1)

CPU with SSSE3 or better

Supported Pythons:

  • 3.6
  • 3.7
  • 3.8

Each game integration has files listing memory locations for in-game variables, reward functions based on those variables, episode end conditions, savestates at the beginning of levels and a file containing hashes of ROMs that work with these files.

Please note that ROMs are not included and you must obtain them yourself. Most ROM hashes are sourced from their respective No-Intro SHA-1 sums.

Documentation

Documentation is available at https://retro.readthedocs.io/en/latest/

You should probably start with the Getting Started Guide.

Contributing

See CONTRIBUTING.md

Changelog

See CHANGES.md

Emulated Systems

  • Atari
    • Atari2600 (via Stella)
  • NEC
    • TurboGrafx-16/PC Engine (via Mednafen/Beetle PCE Fast)
  • Nintendo
    • Game Boy/Game Boy Color (via gambatte)
    • Game Boy Advance (via mGBA)
    • Nintendo Entertainment System (via FCEUmm)
    • Super Nintendo Entertainment System (via Snes9x)
  • Sega
    • GameGear (via Genesis Plus GX)
    • Genesis/Mega Drive (via Genesis Plus GX)
    • Master System (via Genesis Plus GX)

See LICENSES.md for information on the licenses of the individual cores.

Included ROMs

The following non-commercial ROMs are included with Gym Retro for testing purposes:

Citation

Please cite using the following BibTeX entry:

@article{nichol2018retro,
  title={Gotta Learn Fast: A New Benchmark for Generalization in RL},
  author={Nichol, Alex and Pfau, Vicki and Hesse, Christopher and Klimov, Oleg and Schulman, John},
  journal={arXiv preprint arXiv:1804.03720},
  year={2018}
}