Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No romfiles found for game: SpaceInvaders-Atari2600 #64

Open
ghost opened this issue Jul 14, 2019 · 4 comments
Open

No romfiles found for game: SpaceInvaders-Atari2600 #64

ghost opened this issue Jul 14, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 14, 2019

Hello, where can I download the game? I try to find the rom on internet but failed.

@Tigenzero
Copy link

duplicate of #31
http://www.atarimania.com/rom_collection_archive_atari_2600_roms.html
unzip and put the roms folder under the space invaders folder
execute this command within the space invaders folder:
!python3 -m retro.import ./roms

@LucasColas
Copy link

It doesn't work for me. I'm trying to run on Google Colab.

@AlmeidaAlin3
Copy link

AlmeidaAlin3 commented Oct 17, 2020

hey @LucasColas, on colab you can try this:

!wget http://www.atarimania.com/roms/Roms.rar
!python3 -m retro.import /content/ROMS
env = retro.make(game="SpaceInvaders-Atari2600")

@awybin
Copy link

awybin commented Jun 26, 2023

On !python3 -m retro.import /content/ROMS I got the error:

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/retro/import/main.py", line 4, in
main()
File "/usr/local/lib/python3.10/dist-packages/retro/scripts/import_path.py", line 21, in main
known_hashes = retro.data.get_known_hashes()
File "/usr/local/lib/python3.10/dist-packages/retro/data/init.py", line 401, in get_known_hashes
known_hashes[sha] = (game, ext, os.path.join(path(), curpath))
UnboundLocalError: local variable 'ext' referenced before assignment

any idea what could be the cause?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants