mirror of
				https://github.com/Zelda64Recomp/Zelda64Recomp.git
				synced 2025-10-30 08:03:03 +00:00 
			
		
		
		
	 91db87632c
			
		
	
	
		91db87632c
		
			
		
	
	
	
	
		
			
			Integrates the modding functionality in N64ModernRuntime and adds several exported functions for mods to use. Also adds a ROM decompressor so that the runtime has access to the uncompressed code in the ROM for hooking purposes.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| # 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
 | |
| # 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 = "Zelda64RecompSyms/mm.us.rev1.syms.toml"
 | |
| data_reference_syms_files = [ "Zelda64RecompSyms/mm.us.rev1.datasyms.toml", "Zelda64RecompSyms/mm.us.rev1.datasyms_static.toml", "patches/custom_syms.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
 |