2021-03-09 03:55:25 +00:00
|
|
|
# ootAI
|
|
|
|
|
|
|
|
An experiment to create an AI that plays OoT Randomizers automatically, getting
|
|
|
|
as many checks as possible in an efficient manner.
|
|
|
|
|
|
|
|
## how does it work
|
|
|
|
|
|
|
|
This runs using the Lua Core fork of the Dolphin Emulator project. As of right
|
|
|
|
now it only works on ROMs generated by the OoT Randomizer.
|
|
|
|
|
|
|
|
Eventually I'll have an explanation here on how it does pathfinding and memory
|
|
|
|
reading, but I don't know how to do enough of that yet.
|
|
|
|
|
|
|
|
## how to build
|
|
|
|
|
|
|
|
1. Install [AmuletML](https://amulet.works/).
|
2021-03-10 00:03:49 +00:00
|
|
|
2. Run `amc compile main.ml --export -o build/oot/main.lua --lib /path/to/amulet/lib`.
|
|
|
|
3. Copy `ootAI.lua` and the `oot` folder from `build` to your `Sys/Scripts`
|
|
|
|
folder in Dolphin Lua Core.
|
2021-03-09 03:55:25 +00:00
|
|
|
|
2021-03-10 00:03:49 +00:00
|
|
|
You should now be able to start `ootAI.lua` from the Launch Script menu.
|