bzier / gym-mupen64plus

An OpenAI Gym environment wrapper for the Mupen64Plus N64 emulator
MIT License
91 stars 39 forks source link

Upgrade to latest gym library #41

Open bzier opened 6 years ago

bzier commented 6 years ago

Problem:

There was a breaking change made to the gym library a couple months ago which is affecting the initialization of the environment. The gym library was at version 0.7.4 for a long time (almost a year) and was working fine. The latest version (0.9.6 - see here) includes the breaking change. This issue is to track updating the project to account for these breaking changes.

Changes required:

At least the following:

Workaround:

In the meantime, to get up-and-running, just change two files in the base gym-mupen64plus directory:

Each of them should have the gym library set explicitly to use the older version (gym=0.7.4 or gym==0.7.4), which should then behave as expected. The setup process may need to be re-run after making this change.

See #40 for the resulting broken behavior with the new version of gym.

bzier commented 6 years ago

Looking for response on this issue. Can likely proceed without answers, but would be best to get them prior to re-working the code here.