-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatches.toml
20 lines (19 loc) · 1.04 KB
/
patches.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Config file for recompiling patches for the Dinosaur Planet 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
# Allow absolute symbols to be used as jump targets.
use_absolute_symbols = true
# Point the recompiler at the symbol files so that it can resolve relocations during recompilation.
func_reference_syms_file = "lib/dino-recomp-syms/dino.syms.toml"
data_reference_syms_files = [ "lib/dino-recomp-syms/dino.datasyms.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"
# Do not emit warnings for unpaired LO16 values, as clang produces many of them.
unpaired_lo16_warnings = false
# Allow exporting functions and events for mods to use.
allow_exports = true
# Enable strict patch mode, validates that patched symbols exist and that non-patch functions aren't symbols.
strict_patch_mode = true