openai / retro

Retro Games in Gym
MIT License
3.35k stars 524 forks source link

Mario Bros 3 - Can't Find Rom #284

Open Shawnux opened 7 months ago

Shawnux commented 7 months ago

Hello, lovely people. I am relatively new to reinforcement learning, but I'm very dedicated to using reinforcement learning to discover things for speedrunning that humans haven't yet. So, I am looking to try my hand at Super Mario Bros 3 for NES (as I haven't seen anyone attempt this). My issue is relatively simple: I cannot for the life of me get Retro Gym to find the ROM once I point it to the directory. I have tried putting various ROMs for the game into the same folder and trying to scan that folder, but every time, I get the notice that 0 ROMs were imported. If anyone has a clue as to why this is happening, I'd be very appreciative, as I'd like to get this project going as soon as possible.

System information

Windows 11 Python 3.8 (using miniconda) Retro Gym 0.8.0

garyrednevada commented 7 months ago

You need to ensure you have the correct version of the SMB3 rom. In the SuperMarioBros3-Nes/rom.sha file you can find the sha of the file that is expected. I think its the sha1 of the rom file.

I'm guessing you don't have the correct version. You can either try to find different versions of the rom or you can generate the sha1 for the rom you have and put it in the rom.sha file. You should be ok most times with a different version of the rom.