Farama-Foundation/Stable-Retro
A fork of gym-retro with additional games, emulators and supported platforms
What it solves
Stable Retro allows researchers to turn classic video games into standardized environments for reinforcement learning. It serves as a maintained, community-driven successor to the original gym-retro project, providing support for modern systems and a wider range of emulators.
How it works
The project integrates various game console emulators into the Gymnasium interface. It uses game-specific configuration files to map in-game memory locations to variables, which are then used to define reward functions and episode end conditions. Users provide their own ROM files, which the software imports and validates against known hashes to ensure compatibility.
Who it’s for
It is designed for reinforcement learning researchers and developers who want to train AI agents in complex, interactive gaming environments. It is suitable for those looking for a stable, actively maintained platform to experiment with classic titles ranging from Atari and NES to Sega Saturn and Dreamcast.
Highlights
- Supports over 1000 integrated games across numerous classic consoles and arcade machines.
- Includes an integration tool to help users add support for new games.
- Compatible with Python 3.11 through 3.14 and major operating systems including Linux, Windows (via WSL2), and macOS.
- Provides a standardized interface for training agents using reinforcement learning libraries like Stable Baselines3.
Related
- Project
- Dispatch
- Project
- Dispatch
- Project