Open API written in Python for making your own Smash Bros: Melee AI
Linux / OSX only. (Windows coming soon)
-
Install the Dolphin version here: https://github.com/altf4/dolphin/tree/memorywatcher-rebased This contains an important update to allow Dolphin to be able to read projectile information from Melee. Unfortunately, you'll have to build this from source until they accept my Pull Request: dolphin-emu/dolphin#4407
-
Make sure you're running Melee v1.02 NTSC. Other versions will not work.
-
If you want to play interactively with or against your AI, you'll probably want a GameCube Adapter, available on Amazon here: https://www.amazon.com/Super-Smash-GameCube-Adapter-Wii-U/dp/B00L3LQ1FI
-
Install via pip: (or by cloning this repo for the very latest)
pip3 install melee
-
Run
example.py
The libmelee API should be considered to be in a state of high flux until you stop seeing this message. Expect many changes, including plenty that break compatibility. Just FYI
libmelee is inspired by, but not exactly conforming to, the OpenAI Gym API.