2023-11-11 22:42:07 +00:00
|
|
|
# Config file for recompiling patches for the Majora's Mask NTSC 1.0 Recompilation.
|
|
|
|
|
|
|
|
[input]
|
|
|
|
# Paths are relative to the location of this config file.
|
|
|
|
elf_path = "patches/patches.elf"
|
|
|
|
output_func_path = "RecompiledPatches"
|
|
|
|
single_file_output = true
|
2024-07-05 20:33:34 +00:00
|
|
|
# Allow absolute symbols to be used as jump targets.
|
2023-11-11 22:42:07 +00:00
|
|
|
use_absolute_symbols = true
|
2024-07-05 20:33:34 +00:00
|
|
|
# Point the recompiler at the symbol files so that it can resolve relocations during recompilation.
|
|
|
|
func_reference_syms_file = "Zelda64RecompSyms/mm.us.rev1.syms.toml"
|
2024-10-12 01:15:11 +00:00
|
|
|
data_reference_syms_files = [ "Zelda64RecompSyms/mm.us.rev1.datasyms.toml", "Zelda64RecompSyms/mm.us.rev1.datasyms_static.toml", "patches/custom_syms.toml" ]
|
2024-07-05 20:33:34 +00:00
|
|
|
# Tell the recompiler to write the output binary. Doing this instead of using objcopy allows the recompiler to patch MIPS32 relocs.
|
|
|
|
output_binary_path = "patches/patches.bin"
|
|
|
|
# Do not emit warnings for unpaired LO16 values, as clang produces many of them.
|
|
|
|
unpaired_lo16_warnings = false
|
2024-09-02 16:01:22 +00:00
|
|
|
# Allow exporting functions and events for mods to use.
|
|
|
|
allow_exports = true
|
2024-09-27 04:57:49 +00:00
|
|
|
# # Enable strict patch mode, validates that patched symbols exist and that non-patch functions aren't symbols.
|
|
|
|
strict_patch_mode = true
|