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

ROM file wont load #30

Closed
arccoxx opened this issue Jul 30, 2015 · 11 comments
Closed

ROM file wont load #30

arccoxx opened this issue Jul 30, 2015 · 11 comments

Comments

@arccoxx
Copy link

arccoxx commented Jul 30, 2015

Hi,

I just set up the library and ran the install_dependencies.sh file. Unfortunatley when I put in the command /home/aidan/Desktop/deep_q_rl-master/deep_q_rl/run_nips.py --rom Breakout.bin into terminal in ubuntu I get:

A.L.E: Arcade Learning Environment (version 0.5.0)
[Powered by Stella]
Use -help for help screen.
Warning: couldn't load settings file: ./stellarc
No ROM File specified or the ROM file was not found.

Any thoughts on how to fix this?

@spragunr
Copy link
Owner

Have you downloaded the ROM file? ROMS need to be obtained separately. E.g.:

https://atariage.com/2600/roms/Breakout.zip

@arccoxx
Copy link
Author

arccoxx commented Jul 30, 2015

Whoah thanks for the speedy response!

I downloaded the file and added it to the roms directory. I have tried running the file as both a .bin and .zip. Perhaps it has something to do with the fact that it cant find the stellarc file?

@mcmachado
Copy link

This is related to the ALE. You should try to rename your ROM to breakout.bin. The ROM should be on the lowercase. The ALE expects a specific filename containing each of the ROMs.

@arccoxx
Copy link
Author

arccoxx commented Jul 30, 2015

The file is now named: "breakout.bin". But still it's giving me the same error.

@mcmachado
Copy link

It doesn't look like an ALE error then. The issue with ROMs have been addressed in this post: https://groups.google.com/forum/#!topic/arcade-learning-environment/1IL4dnLSpfo

I don't want to state the obvious, but did you check if the code is properly receiving this parameter? And if the obvious thing is if the file is where you are defining it.

I responded here because I thought it could be an ALE error, but it seems it is not.

@moscow25
Copy link

You can also test the ROM by downloading Stella separately, on your laptop,
etc. That will tell you whether the ROM is good.

Intuitively, I agree that most likely error is it not looking for the right
file, somewhere in code. I'd grep for it...

Best,
N

On Thu, Jul 30, 2015 at 1:18 PM, Marlos C. Machado <notifications@github.com

wrote:

It doesn't look like an ALE error then. The issue with ROMs have been
addressed in this post:
https://groups.google.com/forum/#!topic/arcade-learning-environment/1IL4dnLSpfo

I don't want to state the obvious, but did you check if the code is
properly receiving this parameter? And if the obvious thing is if the file
is where you are defining it.

I responded here because I thought it could be an ALE error, but it seems
it is not.


Reply to this email directly or view it on GitHub
#30 (comment).

@arccoxx
Copy link
Author

arccoxx commented Jul 30, 2015

groovy thanks

@spragunr
Copy link
Owner

The code is configured to expect the ROM file to be stored in the existing folder named "roms". The default location is configurable in the executable scripts.

@stone8oy
Copy link
Contributor

well, you just need to copy the file " stellarc" ( listed in last :
https://github.com/stone8oy/deep_q_rl/tree/master/deep_q_rl ) to that
directory,

2015-07-31 1:57 GMT+08:00 Nathan Sprague notifications@github.com:

The code is configured to expect the ROM file to be stored in the existing
folder named "roms". The default location is configurable in the executable
scripts.


Reply to this email directly or view it on GitHub
#30 (comment).

@spragunr
Copy link
Owner

No word on this for a while, and no one else has reported a problem. I'm closing the issue.

@citynorman
Copy link

Here's what I did:

  1. download https://atariage.com/2600/roms/Breakout.zip and extract to deep_q_rl/roms
    2A) run deep_q_rl/deep_q_rl/run_nips.py --rom Breakout (ie upper case)
    2B) rename Breakout.bin to breakout.bin (lower case) and run deep_q_rl/deep_q_rl/run_nips.py --rom breakout

Be good to add those steps to dep_script.sh

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

6 participants