Skip to content

rohansaw/Mario-Kart-RL

Repository files navigation

Setup

  1. Make sure you have docker and docker compose installed
  2. Build your docker image from the given docker file with sudo docker build -t <image_name>:<tag> . (e.g.: sudo docker build -t mupen64_gym:one .)
  3. Create a file called .env and add the following line to it: IMAGE_SPEC=<image_name>:<tag> (e.g.: IMAGE_SPEC=mupen64_gym)
  4. Download a MarioKart N64 ROM file (just use google) and place it in the gym_mupen64plus/ROMs folder with the name marioKart.n64

Running the agent

  1. Run docker-compose -p <image_name> up -d
  2. If you want to see the visual output download VNCViewer and connect to the port that is exposed by docker. (Exposed port can be found with docker ps)

However, this currently gives no access to bash out, if you want to see the program output run docker run -it --name <image_name> -p 5900 --mount source="$(pwd)/gym_mupen64plus/ROMs",target=/src/gym-mupen64plus/gym_mupen64plus/ROMs,type=bind <image_name>:<tag_name> python gym-mupen64plus/agent.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published