You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ You'll also need to build [N64Recomp](https://github.com/N64Recomp/N64Recomp) fo
20
20
* First, run `make` (with an optional job count) to build the mod code itself.
21
21
* Next, run the `RecompModTool` utility with `mod.toml` as the first argument and the build dir (`build` in the case of this template) as the second argument.
22
22
* This will produce your mod's `.nrm` file in the build folder.
23
+
* If you're on MacOS, you may need to specify the path to the `clang` and `ld.lld` binaries using the `CC` and `LD` environment variables, respectively.
23
24
24
25
### Updating the Majora's Mask Decompilation Submodule
25
26
Mods can also be made with newer versions of the Majora's Mask decompilation instead of the commit targeted by this repo's submodule.
@@ -35,4 +36,4 @@ To update the commit of the decompilation that you're targeting, follow these st
35
36
* If it fails due to a missing header, create an empty header file in the `include/dummy_headers` folder, with the same path.
36
37
* For example, if it complains that `assets/objects/object_cow/object_cow.h` is missing, create an empty `include/dummy_headers/objects/object_cow.h` file.
37
38
* If RecompModTool fails due to a function "being marked as a patch but not existing in the original ROM", it's likely that function you're patching was renamed in the Majora's Mask decompilation.
38
-
* Find the relevant function in the map file for the old decomp commit, then go to that address in the new map file, and update the reference to this function in your code with the new name.
39
+
* Find the relevant function in the map file for the old decomp commit, then go to that address in the new map file, and update the reference to this function in your code with the new name.
0 commit comments