OoT Randomizer AI experiment
Find a file
2021-03-09 16:35:24 -08:00
build Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
mem Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
oot Test out nesting the pretty printer 2021-03-09 16:35:24 -08:00
.gitignore Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
dolphin.ml Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
main.ml Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
pretty.ml Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08:00
README.md Update build instructions 2021-03-09 16:03:49 -08:00
save_context.ml Refactor to hopefully avoid compiler bugs 2021-03-09 16:01:09 -08: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.
  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.

You should now be able to start ootAI.lua from the Launch Script menu.