1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-05-17 13:13:23 -07:00
mm/patch/oot-spawner

16 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
set -e
inject=../Lua/inject
rom=../../roms/everything/"Legend of Zelda, The - Ocarina of Time - Master Quest (E) (Debug) [f1].z64"
lips=../Lua/lib/lips
out=oot-spawner.z64
. common.sh
luajit patch.lua \
-O 0x035D0000 -b $((0x80700000 - 0x035D0000)) \
'spawn O EUDB MQ.asm' "$out"
dump -f patch/build/"$out"