-
Notifications
You must be signed in to change notification settings - Fork 531
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
Importing Atari Games with python -m retro.import #53
Comments
I found why 🎉. it's because you need the good version of the rom, however with Atari 2600 you have tons of different versions (PAL, NTSC, Hack, Non hack) etc. ** If you have the same problem, be sure to download the good version of the rom 😄** I close the issue |
Hi Thomas,
Maximus |
Hello @MaximusWudy , thanks for your message 😊 Effectively, you need to import the roms. I found the roms here http://www.atarimania.com/rom_collection_archive_atari_2600_roms.html, by the way you will not need to rename the files. You just need to go to the folder were you unzipped your roms and write python -m retro.import . (don't forget the point) Then, when the roms are imported you will be able to use Atari Space invaders (restart you jupyter notebook). If you have other questions feel free to ask! Have a great day, |
Thank you very much! It amazingly worked. And for more people who have the same issue. Here is a detailed tutorial:
|
Thanks @MaximusWudy , I am also studying simoninithomas's tutorial and search for the Atari game rom and finally find this. |
Hi, I was also facing same issue. But when i tried to do "python -m retro.import . (don't forget the point)" i was getting Importing 0 potential games, imported 0 games. Can you tell me what i am doing wrong? |
Hi, @seshuthota what game you're trying to import ? |
I was trying to import Space Invaders. First i downloaded file from this page http://www.atarimania.com/rom_collection_archive_atari_2600_roms.html I extracted and inside ROMS folder i found 5 files naming Space Inavders and i copied them to this path |
Hi, |
Hi Im struggling with this same thing.. I even tried this process 2 times:
Importing 0 potential games, imported 0 games Can someone tell me what I am doing wrong??? |
You need to add |
Ok I see now what someone else was attempting to state above in the posts with a I added this into my terminal command And I still have the same error trying to run Thomas's code :( Any ideas? Thank you... |
you guys need to specify the path you put your files.then run the terminal command.for me it is like hope this helps |
For Google Colab Notebooks do the following.
|
Very important note:
https://github.com/openai/retro#rom-extensions |
Hi @bbartling I'm facing the same issue.
Have you found the reason? |
@RinshannKaihou no I have not... |
you need cd to fold ....../Roms/ROMS ,and then do the following:
|
@RinshannKaihou for me, the solution was using the 1983 space invaders version: "Space Invaders (1983) (CCE) (C-820).bin" NOT any of the 1980 versions. If you copy all 5 space invader titles it reads: Importing 5 potential games... |
@simoninithomas Can't we just use gym? Is there a difference in the gym-retro and gym environments? |
I see no module named retro. Could someone please help |
Didn't work for me... |
didnt work for me on google colab... dont know what to do. |
when you say "dont forget the point", do you mean the point between "retro" and "import", and the point after "import" is just for closing the sentence, or do you mean not forgetting the point after "import"? also, shouldn't we specify a path? |
The point after import. That is the path. |
This is how I solved it.
|
Hi, Thanks for the solution. Any idea what is the license for these ROMs? Stella is on GNU and Retro is on MIT licenses, but I am not sure about the ROMs. I have seen people use these ROMs for publications but I haven't seen the licenses in their codebases. Any help would be great |
There is no license. I'm pretty sure it's copyright infringement to download and distribute them. However, for a good many of them there isn't a real risk due to the IP being old enough that no one really cares or they're in limbo. For newer games it's rougher, which is why when I made the Retro Contest, I promoted the use of ROMs you could buy on Steam without legal concerns. |
Thanks a lot. This helps 👍 |
For those who struggle to use it in colab:
|
Change link to http://www.atarimania.com/rom_collection_archive_atari_2600_roms.html . Worked for me |
This might help someone working in colab; creating a new directory works for me
|
hey, did you manage to solve this issue with colab ? |
This works for me |
unfortunately, it didn't work for me. i had this error message : FileNotFoundError: Game not found: SpaceInvaders-Atari2600. Did you make sure to import the ROM? |
Issue summary
Hello, 😄
I want to import Atari Space Invaders rom to retro.
My rom name is "SpaceInvaders-Atari2600.a26" the same name as presented in the list of possible roms playable in retro and the correct format (.a26)
However, when I want to import this rom to my retro environment using python -m retro.import. I receive this message:
So I tried to import it manually in Anaconda3\envs\gameplai\Lib\site-packages\retro\data\SpaceInvaders-Atari2600 by copy and paste the rom.
But it didn't work:
FileNotFoundError: Game not found: SpaceInvaders-Atari2600. Did you make sure to import the ROM?
Do you know what should I do to fix this? I have only this problem when I try to import Atari games
Again, this new library is awesome thanks for your work! 👏👏👏
System information
The text was updated successfully, but these errors were encountered: