From 2ea479e19301c2a8aae9c1a37d713073910941e1 Mon Sep 17 00:00:00 2001 From: Aly Date: Tue, 9 Mar 2021 16:03:49 -0800 Subject: [PATCH] Update build instructions --- README.md | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 6c460e1..693ef5b 100644 --- a/README.md +++ b/README.md @@ -14,23 +14,8 @@ reading, but I don't know how to do enough of that yet. ## how to build 1. Install [AmuletML](https://amulet.works/). -2. Run `amc compile main.ml -o main.lua --lib /path/to/amulet/lib` -3. Copy everything between the first `do` and the last `end` from `main.lua` -4. Create a new script in the Dolphin Lua Core Scripts directory: +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. -```lua -function onScriptStart() end - -function onScriptCancel() end - -function onScriptUpdate() - -- paste what you copied here -end - -function onStateLoaded() end - -function onStateSaved() end -``` - -This script should now run properly when you start it from the Dolphin scripts -menu. +You should now be able to start `ootAI.lua` from the Launch Script menu.