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-06-28 06:34:39 +00:00
|
|
|
# Allow absolute symbols to be used as jump targets.
|
2023-11-11 22:42:07 +00:00
|
|
|
use_absolute_symbols = true
|
2024-06-28 06:34:39 +00:00
|
|
|
# Emit R_MIPS_32 relocations so they can be populated when loading the patch overlay.
|
|
|
|
emit_mips_32_relocs = true
|
|
|
|
# Point the recompiler at the symbol files so that it can resolve relocations during recompilation.
|
2024-06-29 01:22:50 +00:00
|
|
|
func_reference_syms_file = "Zelda64RecompSyms/mm.us.rev1.syms.toml"
|
|
|
|
data_reference_syms_files = [ "Zelda64RecompSyms/mm.us.rev1.datasyms.toml", "Zelda64RecompSyms/mm.us.rev1.datasyms_static.toml" ]
|
|
|
|
# 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"
|