Update build instructions

This commit is contained in:
Aly 2021-03-09 16:03:49 -08:00
parent 02f5ff2b20
commit 2ea479e193

View file

@ -14,23 +14,8 @@ reading, but I don't know how to do enough of that yet.
## how to build ## how to build
1. Install [AmuletML](https://amulet.works/). 1. Install [AmuletML](https://amulet.works/).
2. Run `amc compile main.ml -o main.lua --lib /path/to/amulet/lib` 2. Run `amc compile main.ml --export -o build/oot/main.lua --lib /path/to/amulet/lib`.
3. Copy everything between the first `do` and the last `end` from `main.lua` 3. Copy `ootAI.lua` and the `oot` folder from `build` to your `Sys/Scripts`
4. Create a new script in the Dolphin Lua Core Scripts directory: folder in Dolphin Lua Core.
```lua You should now be able to start `ootAI.lua` from the Launch Script menu.
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.