Skip to main content

Automated installation of Atari ROMs for Gym/ALE-Py

Project description

AutoROM automatically installs Atari ROM files for ALE-Py (which Gymnasium Depends on) and multi-agent-ALE (which PettingZoo depends on, but will replaced by ALE-Py in the future).

AutoROM automatically downloads the needed Atari ROMs from ROM hosting websites into the ALE-Py folder and Multi-Agent-ALE-py folder in a very simple manner:

pip install autorom
AutoROM

IMPORTANT: We do not have official support for Windows. However, if you are on Windows and encounter a DLL import error, you may need to install OpenSSL v1.1.1S.

IMPORTANT: Libtorrent, which AutoROM uses, requires pip version >20.0 to be installed. On M1 macs, this may require updating your pip installation.

IMPORTANT: For now, an alternative solution to the above known issues is to use AutoROM v0.4.2, which uses a different source for where the ROMs are sourced from.

To specify a specific installation directory for your ROMs, use the --install-dir command line flag.

AutoROM --install-dir /path/to/install

This will install ROMs at "/path/to/install/ROM/".

Furthermore, you can accept the license agreement from the command-line with:

AutoROM --accept-license

OR when you are installing the Python package by specifying the extra accept-rom-license:

pip install autorom[accept-rom-license]

This command would download the ROMs during installation and make them immediately discoverable to ale-py.

Packaging

AutoROM requires that you package it as a source distribution. We have a special script to build all our source distributions, i.e., ./scripts/build-dist.sh. The resulting source distributions will be located in dist/. You can directly install this with pip even including the extra accept-rom-license. For example,

pip install --find-links dist/ --no-cache-dir AutoROM[accept-rom-license]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AutoROM-0.5.3.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AutoROM-0.5.3-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file AutoROM-0.5.3.tar.gz.

File metadata

  • Download URL: AutoROM-0.5.3.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for AutoROM-0.5.3.tar.gz
Algorithm Hash digest
SHA256 eecd761d26da69e3b914d50c45c158f6e081b8034c5bb69f01e7c5cc78673c75
MD5 ea8de19841771f91ba41cc4cbea22e92
BLAKE2b-256 423987b3e1a14cdeba283916ce261399611af7652cb62eae8ab3d79a5736f9cb

See more details on using hashes here.

File details

Details for the file AutoROM-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: AutoROM-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for AutoROM-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90b614a71e03efcbb7c50f39218a5321e055056db2f848e638660774b41f513f
MD5 0f98e81ba291067f8a72ce59a21ece77
BLAKE2b-256 8c7b0961da929e4e789f254f0851518063f3612c554747607f99294ed3fa1ef0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page