Initial custom header implementation

This commit is contained in:
hiimcody1
2025-10-20 17:53:34 -04:00
committed by codemann8
parent 6cb05f18ca
commit cf488fda36
4 changed files with 23 additions and 7 deletions

View File

@@ -290,7 +290,7 @@ def main(args, seed=None, fish=None):
for player in range(1, world.players + 1):
rom = JsonRom() if args.jsonout else LocalRom(args.rom)
patch_rom(world, rom, player, team, bool(args.mystery))
patch_rom(world, rom, player, team, bool(args.mystery), str(args.rom_header) if args.rom_header else None)
if args.race:
patch_race_rom(rom)