mirror of
https://github.com/notwa/mm
synced 2024-11-04 22:49:03 -08:00
forgot to add build script, fix ROM address
This commit is contained in:
parent
f2a291c6cd
commit
1568e4bee2
2 changed files with 27 additions and 1 deletions
26
patch/oot-spawner
Executable file
26
patch/oot-spawner
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/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
|
||||
|
||||
mkdir -p build
|
||||
cp *.lua build/
|
||||
cd build
|
||||
|
||||
cp ../../"$rom" "$out"
|
||||
|
||||
# don't copy entire dir; avoid copying dotfiles (.git)
|
||||
mkdir -p lips
|
||||
cp ../"$lips"/* lips
|
||||
|
||||
cp ../"$inject/"*.asm .
|
||||
cp ../*.asm .
|
||||
|
||||
luajit patch.lua -o 0 \
|
||||
--extra-rom 0x035D0000 --extra-ram 0x80700000 \
|
||||
'spawn O EUDB MQ.asm' "$out"
|
||||
|
||||
(cd ../../; ./z64dump.py -f patch/build/"$out")
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
[actor_spawn]: 0x80031F50
|
||||
[object_spawn]: 0x80097C00
|
||||
[object_index]: 0xAF246C ; 0x8009812C
|
||||
[object_index]: 0xB0F2CC ; 0x8009812C
|
||||
|
||||
[max_actor_no]: 0x1D6
|
||||
|
||||
|
|
Loading…
Reference in a new issue