Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.12k stars 420 forks source link

`env.ale.setRAM( )` does not change internal state #465

Closed richcmwang closed 2 years ago

richcmwang commented 2 years ago

While setRAM effect can be seen when running getRAM, it does not change the internal state. Specifically, we can see from the following steps:

  1. run env.ale.getRAM( )[51], the result is 72
  2. run env.ale.setRAM(51, 100)
  3. run env.ale.getRAM( )[51], the result is 100
  4. run env.step(0)
  5. run env.ale.getRAM( )[51], the result goes back to 72

Is this a bug? Any other possible way to change the internet state?

JesseFarebro commented 2 years ago

Hi @richcmwang, I actually just responded to your inquiry via email so hopefully that solves your issue.